iter_track Class Reference

#include <iter_track.h>

Collaboration diagram for iter_track:
[legend]

Public Member Functions

 iter_track ()
 ~iter_track ()
void clear ()
void set_tol (double tol)
double bracket_width () const
bool lgConverged ()
double root () const
int init_bracket (double x1, double fx1, double x2, double fx2)
void add (double x, double fx)
double next_val ()
double next_val (double max_rel_step)
double deriv (int n, double &sigma) const
double deriv (double &sigma) const
double deriv (int n) const
double deriv () const
double zero_fit (int n, double &sigma) const
double zero_fit (double &sigma) const
double zero_fit (int n) const
double zero_fit () const
void print_status () const
void print_history () const

Private Member Functions

void p_clear0 ()
void p_clear1 ()
void p_set_root (double x)
double p_x (int ip) const
double p_y (int ip) const
double p_midpoint () const
double p_numerator (double dab, double dcb, double fa, double fb, double fc)
double p_denominator (double fa, double fb, double fc)

Private Attributes

vector< pair< double, double > > p_history
double p_result
double p_tol
int p_a
int p_b
int p_c
bool p_lgRootFound

Detailed Description

Definition at line 17 of file iter_track.h.


Constructor & Destructor Documentation

iter_track::iter_track (  )  [inline]

Definition at line 68 of file iter_track.h.

References p_clear1().

Here is the call graph for this function:

iter_track::~iter_track (  )  [inline]

Definition at line 72 of file iter_track.h.

References p_clear0().

Here is the call graph for this function:


Member Function Documentation

void iter_track::add ( double  x,
double  fx 
) [inline]

Definition at line 120 of file iter_track.h.

References p_b, p_history, and p_set_root().

Referenced by Amsterdam_Method(), ConvEdenIoniz(), and ConvTempEdenIoniz().

Here is the call graph for this function:

double iter_track::bracket_width (  )  const [inline]

Definition at line 85 of file iter_track.h.

References p_a, p_c, and p_x().

Referenced by ConvEdenIoniz(), ConvTempEdenIoniz(), lgConverged(), and lgConvTemp().

Here is the call graph for this function:

void iter_track::clear (  )  [inline]

Definition at line 76 of file iter_track.h.

References p_clear0(), and p_clear1().

Referenced by ConvEdenIoniz(), and ConvTempEdenIoniz().

Here is the call graph for this function:

double iter_track::deriv (  )  const [inline]

Definition at line 148 of file iter_track.h.

References p_history.

Referenced by deriv().

double iter_track::deriv ( int  n  )  const [inline]

Definition at line 143 of file iter_track.h.

References deriv().

Here is the call graph for this function:

double iter_track::deriv ( double &  sigma  )  const [inline]

Definition at line 139 of file iter_track.h.

References deriv(), and p_history.

Here is the call graph for this function:

double iter_track::deriv ( int  n,
double &  sigma 
) const

Definition at line 145 of file iter_track.cpp.

References ASSERT, linfit(), min(), p_history, p_x(), and p_y().

Referenced by ConvEdenIoniz(), ConvTempEdenIoniz(), and lgConvTemp().

Here is the call graph for this function:

int iter_track::init_bracket ( double  x1,
double  fx1,
double  x2,
double  fx2 
) [inline]

Definition at line 104 of file iter_track.h.

References p_a, p_c, p_history, p_set_root(), and sign3().

Referenced by Amsterdam_Method(), ConvEdenIoniz(), and ConvTempEdenIoniz().

Here is the call graph for this function:

bool iter_track::lgConverged (  )  [inline]

Definition at line 89 of file iter_track.h.

References bracket_width(), p_lgRootFound, p_midpoint(), p_result, and p_tol.

Referenced by Amsterdam_Method().

Here is the call graph for this function:

double iter_track::next_val ( double  max_rel_step  )  [inline]

Definition at line 128 of file iter_track.h.

References min(), next_val(), p_history, safe_div(), and sign().

Here is the call graph for this function:

double iter_track::next_val (  ) 

Definition at line 18 of file iter_track.cpp.

References p_a, p_b, p_c, p_denominator(), p_midpoint(), p_numerator(), p_set_root(), p_tol, p_x(), p_y(), and safe_div().

Referenced by Amsterdam_Method(), ConvEdenIoniz(), ConvTempEdenIoniz(), and next_val().

Here is the call graph for this function:

void iter_track::p_clear0 (  )  [inline, private]

Definition at line 27 of file iter_track.h.

References p_history.

Referenced by clear(), and ~iter_track().

void iter_track::p_clear1 (  )  [inline, private]

Definition at line 31 of file iter_track.h.

References max(), p_a, p_b, p_c, p_history, p_lgRootFound, p_result, p_tol, and set_NaN().

Referenced by clear(), and iter_track().

Here is the call graph for this function:

double iter_track::p_denominator ( double  fa,
double  fb,
double  fc 
) [inline, private]

Definition at line 62 of file iter_track.h.

Referenced by next_val().

double iter_track::p_midpoint (  )  const [inline, private]

Definition at line 54 of file iter_track.h.

References p_a, p_c, and p_x().

Referenced by lgConverged(), and next_val().

Here is the call graph for this function:

double iter_track::p_numerator ( double  dab,
double  dcb,
double  fa,
double  fb,
double  fc 
) [inline, private]

Definition at line 58 of file iter_track.h.

Referenced by next_val().

void iter_track::p_set_root ( double  x  )  [inline, private]

Definition at line 41 of file iter_track.h.

References p_lgRootFound, and p_result.

Referenced by add(), init_bracket(), and next_val().

double iter_track::p_x ( int  ip  )  const [inline, private]

Definition at line 46 of file iter_track.h.

References p_history.

Referenced by bracket_width(), deriv(), next_val(), p_midpoint(), print_history(), print_status(), and zero_fit().

double iter_track::p_y ( int  ip  )  const [inline, private]

Definition at line 50 of file iter_track.h.

References p_history.

Referenced by deriv(), next_val(), print_history(), print_status(), and zero_fit().

void iter_track::print_history (  )  const [inline]

Definition at line 177 of file iter_track.h.

References ioQQQ, p_history, p_x(), and p_y().

Referenced by ConvEdenIoniz(), and ConvTempEdenIoniz().

Here is the call graph for this function:

void iter_track::print_status (  )  const [inline]

Definition at line 171 of file iter_track.h.

References dprintf(), ioQQQ, p_a, p_b, p_c, p_x(), and p_y().

Here is the call graph for this function:

double iter_track::root (  )  const [inline]

Definition at line 100 of file iter_track.h.

References p_result.

Referenced by Amsterdam_Method().

void iter_track::set_tol ( double  tol  )  [inline]

Definition at line 81 of file iter_track.h.

References p_tol.

Referenced by Amsterdam_Method(), ConvEdenIoniz(), and ConvTempEdenIoniz().

double iter_track::zero_fit (  )  const [inline]

Definition at line 165 of file iter_track.h.

References p_history.

Referenced by zero_fit().

double iter_track::zero_fit ( int  n  )  const [inline]

Definition at line 160 of file iter_track.h.

References zero_fit().

Here is the call graph for this function:

double iter_track::zero_fit ( double &  sigma  )  const [inline]

Definition at line 156 of file iter_track.h.

References p_history, and zero_fit().

Here is the call graph for this function:

double iter_track::zero_fit ( int  n,
double &  sigma 
) const

Definition at line 164 of file iter_track.cpp.

References ASSERT, linfit(), min(), p_history, p_x(), and p_y().

Here is the call graph for this function:


Field Documentation

int iter_track::p_a [private]

Definition at line 22 of file iter_track.h.

Referenced by bracket_width(), init_bracket(), next_val(), p_clear1(), p_midpoint(), and print_status().

int iter_track::p_b [private]

Definition at line 23 of file iter_track.h.

Referenced by add(), next_val(), p_clear1(), and print_status().

int iter_track::p_c [private]

Definition at line 24 of file iter_track.h.

Referenced by bracket_width(), init_bracket(), next_val(), p_clear1(), p_midpoint(), and print_status().

vector< pair<double,double> > iter_track::p_history [private]
bool iter_track::p_lgRootFound [private]

Definition at line 25 of file iter_track.h.

Referenced by lgConverged(), p_clear1(), and p_set_root().

double iter_track::p_result [private]

Definition at line 20 of file iter_track.h.

Referenced by lgConverged(), p_clear1(), p_set_root(), and root().

double iter_track::p_tol [private]

Definition at line 21 of file iter_track.h.

Referenced by lgConverged(), next_val(), p_clear1(), and set_tol().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 15 Nov 2012 for cloudy by  doxygen 1.6.1