gfrefn |
Table of contents
ProcedureGFREFN ( GF, default refinement estimator ) SUBROUTINE GFREFN ( T1, T2, S1, S2, T ) AbstractEstimate, using a bisection method, the next abscissa value at which a state change occurs. This is the default GF refinement method. Required_ReadingNone. KeywordsSEARCH UTILITY DeclarationsIMPLICIT NONE DOUBLE PRECISION T1 DOUBLE PRECISION T2 LOGICAL S1 LOGICAL S2 DOUBLE PRECISION T Brief_I/OVARIABLE I/O DESCRIPTION -------- --- -------------------------------------------------- T1 I One of two values bracketing a state change. T2 I The other value that brackets a state change. S1 I State at T1. S2 I State at T2. T O New value at which to check for transition. Detailed_InputT1 is one of two abscissa values (usually times) bracketing a state change. T2 is the other abscissa value that brackets a state change. S1 is the system state at T1. This argument is provided for forward compatibility; it's not currently used. S2 is the system state at T2. This argument is provided for forward compatibility; it's not currently used. Detailed_OutputT is the midpoint of T1 and T2. ParametersNone. ExceptionsError free. FilesNone. Particulars"Refinement" means reducing the size of a bracketing interval on the real line in which a solution is known to lie. In the GF setting, the solution is the time of a state transition of a binary function. This routine supports solving for locations of bracketed state transitions by the bisection method. This is the default refinement method used by the GF system. The argument list of this routine is compatible with the GF system's general root finding routine. Refinement routines created by users must have the same argument list in order to be used by the GF mid-level APIs such as GFOCCE and GFFOVE. ExamplesThe following code fragment from an example program in the header of GFOCCE shows the routine passed as the 12th argument. C C Define as EXTERNAL the routines to pass to GFOCCE. C EXTERNAL GFSTEP EXTERNAL GFREFN EXTERNAL GFREPI EXTERNAL GFREPU EXTERNAL GFREPF EXTERNAL GFBAIL ... initialize for the search ... CALL GFOCCE ( 'ANY', . 'MOON', 'ellipsoid', 'IAU_MOON', . 'SUN', 'ellipsoid', 'IAU_SUN', . 'LT', 'EARTH', CNVTOL, . GFSTEP, GFREFN, RPT, . GFREPI, GFREPU, GFREPF, . BAIL, GFBAIL, CNFINE, RESULT ) RestrictionsNone. Literature_ReferencesNone. Author_and_InstitutionN.J. Bachman (JPL) J. Diaz del Rio (ODC Space) E.D. Wright (JPL) VersionSPICELIB Version 1.0.1, 26-OCT-2021 (JDR) Edited the header to comply with NAIF standard. SPICELIB Version 1.0.0, 03-MAR-2009 (NJB) (EDW) |
Fri Dec 31 18:36:24 2021