calc_delaz
Called by: main each iteration.
Includes: iscloc.h
Input arguments:
Pointer to solution structure.
Array of phase structures.
Calls:
calc_delta from utils
calc_esaz from utils
print_pha if diagnostic is on.
Structure members updated: delta and esaz in each phase structure.
Return: 0/1 for success/failure.
Loops over all the phases contributing to an event and for each initial phase calculates delta and esaz for that reading. The values are stored in every phase structure but not recalculated for secondary phases.