mirror of
https://github.com/nasa/trick.git
synced 2024-12-20 05:37:55 +00:00
Comments in SAIntegrator.hh. #1070
This commit is contained in:
parent
d109dfe949
commit
3bffe16e2c
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user