contents

read_pP_P

Called by:   find_pP , calc_pP_resid and solve_depdp.

Includes:   iscloc.h

Input arguments:
Depth of current solution.
Pointer to a phase structure.

Calls: Function jb_pP_P from read_jb

Structure members updated:  none

Return:   0/1 for success/failure.

This function is a wrapper designed to separate the model dependent function that looks up the relevant pP - P tables, from functions that need to know the times.  It allows the Earth model in use to be changed without editing all such functions and, if need be, acts as the interface with functions in a different language such as Fortran.  It passes each phase it is given on to the appropriate function and passes back the return status