SIMLIB/C++
3.07
|
#include <ni_abm4.h>
Public Member Functions | |
ABM4 (const char *name, const char *slave_name) | |
virtual | ~ABM4 () |
virtual void | Integrate (void) override |
virtual bool | PrepareStep (void) override |
prepare the object for the step of integration More... | |
![]() | |
MultiStepMethod (const char *name, const char *slave_name) | |
initialize multistep method More... | |
~MultiStepMethod () | |
free dynamic data More... | |
virtual bool | IsSingleStep (void) override |
virtual void | SetStarter (const char *slave_name) |
set starting method for the multi-step method More... | |
virtual void | TurnOff (void) override |
turn off integration method and its slave (starter) More... | |
![]() | |
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 | Resize (size_t size) |
resize all the memories to the given size More... | |
Private Attributes | |
int | ABM_Count |
Memory | Z [abm_ord] |
Memory | PRED |
Additional Inherited Members | |
![]() | |
static void | SetStarter (const char *name, const char *slave_name) |
set starting method for given multi-step method More... | |
static const char * | GetStarter (const char *name) |
obtain the name of the starting method of given method More... | |
![]() | |
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 |
![]() | |
SingleStepMethod * | SlavePtr (void) |
return pointer to the starting method (initialize it also) More... | |
![]() | |
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... | |
![]() | |
static bool | IsEndStepEvent =false |
|
inline |
|
inlinevirtual |
Definition at line 36 of file ni_abm4.h.
References Integrate(), and PrepareStep().
|
overridevirtual |
Implements simlib3::IntegrationMethod.
Definition at line 53 of file ni_abm4.cc.
References simlib3::_Print(), _SetTime, ABM_Count, simlib3::abm_ord, simlib3::AccuracyError, Dprintf, simlib3::IntegrationMethod::FirstIntegrator(), simlib3::IntegrationMethod::Integrate(), simlib3::IntegrationMethod::IsEndStepEvent, simlib3::IntegrationMethod::LastIntegrator(), simlib3::max(), simlib3::min(), simlib3::OptStep, PRED, 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::MultiStepMethod::SlavePtr(), simlib3::IntegrationMethod::StateCond(), simlib3::Time, and Z.
Referenced by ~ABM4().
|
overridevirtual |
prepare the object for the step of integration
Reimplemented from simlib3::MultiStepMethod.
Definition at line 217 of file ni_abm4.cc.
References ABM_Count, Dprintf, and simlib3::MultiStepMethod::PrepareStep().
Referenced by ~ABM4().
|
private |
Definition at line 28 of file ni_abm4.h.
Referenced by Integrate(), and PrepareStep().
|
private |
Definition at line 30 of file ni_abm4.h.
Referenced by Integrate().
Definition at line 29 of file ni_abm4.h.
Referenced by Integrate().