SIMLIB/C++
3.07
|
#include <ni_fw.h>
Public Member Functions | |
FW (const char *name) | |
virtual | ~FW () |
virtual bool | PrepareStep (void) override |
prepare object for integration step More... | |
virtual void | Integrate (void) override |
![]() | |
SingleStepMethod (const char *name) | |
virtual bool | IsSingleStep (void) override |
void | SetStartMode (bool start_mode) |
bool | IsStartMode (void) |
![]() | |
IntegrationMethod (const char *name) | |
register method to list of methods and name it More... | |
virtual | ~IntegrationMethod () |
destroy integration method (remove from list) More... | |
virtual void | TurnOff (void) |
turn off integration method: flush memories etc... More... | |
virtual void | Resize (size_t size) |
resize all the memories to the given size More... | |
Static Protected Attributes | |
static const double | prec = DBL_EPSILON |
![]() | |
static bool | IsEndStepEvent =false |
Private Attributes | |
bool | FW_First |
Memory | Y1 |
Memory | ERR |
Additional Inherited Members | |
![]() | |
static void | StepSim (void) |
step of numerical integration method More... | |
static void | IntegrationDone (void) |
static void | SetMethod (const char *name) |
set method which will be used More... | |
static const char * | GetMethod (void) |
static void | InitStep (double step_frag) |
initialize step More... | |
static void | FunCall (double step_frag) |
static void | SetOptStep (double opt_step) |
static void | SetStepSize (double step_size) |
static bool | IsConditionFlag (void) |
static int | GetErrNo (void) |
static void | SetErrNo (int num) |
![]() | |
typedef IntegratorContainer::iterator | Iterator |
![]() | |
static Iterator | FirstIntegrator (void) |
static Iterator | LastIntegrator (void) |
static bool | StateCond (void) |
check on changes of state conditions More... | |
static IntegrationMethod * | SearchMethod (const char *name) |
search method in the list of registrated methods More... | |
|
inlinevirtual |
Definition at line 33 of file ni_fw.h.
References Integrate(), and PrepareStep().
|
overridevirtual |
Implements simlib3::IntegrationMethod.
Definition at line 38 of file ni_fw.cc.
References simlib3::_Print(), _SetTime, simlib3::AccuracyError, Dprintf, ERR, simlib3::IntegrationMethod::FirstIntegrator(), FW_First, simlib3::IntegrationMethod::IsEndStepEvent, simlib3::IntegrationMethod::LastIntegrator(), simlib3::max(), simlib3::min(), simlib3::OptStep, prec, simlib3::SIMLIB_AbsoluteError, simlib3::SIMLIB_ConditionFlag, simlib3::SIMLIB_ContractStep, simlib3::SIMLIB_ContractStepFlag, simlib3::SIMLIB_DeltaTime, simlib3::SIMLIB_Dynamic(), simlib3::SIMLIB_ERRNO, simlib3::SIMLIB_MaxStep, simlib3::SIMLIB_MinStep, simlib3::SIMLIB_OptStep, simlib3::SIMLIB_RelativeError, simlib3::SIMLIB_StepSize, simlib3::SIMLIB_StepStartTime, simlib3::SIMLIB_warning(), simlib3::IntegrationMethod::StateCond(), simlib3::Time, and Y1.
Referenced by ~FW().
|
overridevirtual |
prepare object for integration step
Reimplemented from simlib3::IntegrationMethod.
Definition at line 305 of file ni_fw.cc.
References Dprintf, FW_First, prec, and simlib3::IntegrationMethod::PrepareStep().
Referenced by ~FW().
|
private |
Definition at line 25 of file ni_fw.h.
Referenced by Integrate().
|
private |
Definition at line 24 of file ni_fw.h.
Referenced by Integrate(), and PrepareStep().
|
staticprotected |
Definition at line 27 of file ni_fw.h.
Referenced by Integrate(), and PrepareStep().
|
private |
Definition at line 25 of file ni_fw.h.
Referenced by Integrate().