Comments in SAIntegrator.hh. #1070

This commit is contained in:
Penn, John M 047828115 2020-11-04 21:14:58 -06:00
parent d109dfe949
commit 3bffe16e2c

View File

@ -21,12 +21,12 @@ namespace SA {
class FirstOrderODEIntegrator : public Integrator {
protected:
unsigned int state_size; // size of the state vector.
double* inState;
double* outState;
double** inVars;
double** outVars;
DerivsFunc derivs_func;
unsigned int state_size; // Size of the state vector.
double* inState; // State vector prior to integration step.
double* outState; // State vector result of integration step.
double** inVars; // Array of pointers to the variables whose values comprise the input state vector.
double** outVars; // Array of pointers to the variables to which the output state vector values are to be disseminated.
DerivsFunc derivs_func; // Pointer to the function that calculates the derivatives to be integrated.
double last_h; // What was the last step-size? For undo_step().
public:
@ -51,8 +51,6 @@ namespace SA {
virtual void variable_step( double h);
void add_Rootfinder( RootFinder* root_finder, RootErrorFunc rfunc);
void step();
// protected:
// void advanceIndyVar( double h );
private:
void find_roots(double h, unsigned int depth);
};