#include <state_sim_base.hpp>
Public Types | |
using | ParamStructType = TParamType |
using | StateForSimType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateForSimType |
using | StateNumSimType = typename std::conditional< hasStateGrad, StateWithGradNmType, StateNmType >::type |
using | StateType = TStateType |
Public Types inherited from tuw::StateSimBaseCRTP< StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > > | |
using | StateForSimType = typename StateSimBaseCRTPTraits< StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > >::StateForSimType |
using | StateType = typename StateSimBaseCRTPTraits< StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > >::StateType |
Public Member Functions | |
void | adjustGradXSize () |
void | adjustXSize () |
NumType | arc () const |
void | init (std::shared_ptr< TParamType > _paramStructPtr) |
StateSimBase & | operator= (const StateSimBase &)=default |
StateSimBase & | operator= (StateSimBase &&)=delete |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr> | |
void | setGradXCf (const NumType &_arc, const PfEaG &_eAG) |
void | setGradXNm0 () |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr> | |
void | setGradXNmDot (const NumType &_arc, const PfEaG &_eAG) |
void | setXCf (const NumType &_arc, const PfEaG &_eAG) |
void | setXCfDot (const NumType &_arc, const PfEaG &_eAG) |
void | setXNm0 () |
void | setXNmDot (const NumType &_arc, const PfEaG &_eAG) |
const StateCfType & | stateCfDotCache () const |
const StateNmType & | stateNmDotCache () const |
StateSimBase ()=default | |
StateSimBase (const StateSimBase &)=default | |
StateSimBase (StateSimBase &&)=delete | |
~StateSimBase ()=default | |
Public Member Functions inherited from tuw::StateSimBaseCRTP< StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > > | |
void | advance (const NumType &_arc) |
void | advanceSet0 (auto &_state0, const NumType &_tEnd, const NumType &_dt) |
void | advanceWithGrad (const NumType &_arc) |
StateSimBaseCRTP & | operator= (const StateSimBaseCRTP &)=default |
StateSimBaseCRTP & | operator= (StateSimBaseCRTP &&)=default |
void | simToT (const NumType &_arcEnd, const NumType &_dt) |
StateForSimType & | state () |
const StateForSimType & | state () const |
StateSimBaseCRTP ()=default | |
StateSimBaseCRTP (const StateSimBaseCRTP &)=default | |
StateSimBaseCRTP (StateSimBaseCRTP &&)=default | |
void | toState0 () |
~StateSimBaseCRTP ()=default | |
Public Member Functions inherited from tuw::StateSimBaseVirt< StateMapBaseTraits< TStateType::StateMapBaseType >::NumType, StateMapBaseTraits< TStateType::StateMapBaseType >::StateVirtType > | |
void | advance (const StateMapBaseTraits< TStateType::StateMapBaseType >::NumType &_arc) |
void | advanceWithGrad (const StateMapBaseTraits< TStateType::StateMapBaseType >::NumType &_arc) |
StateSimBaseVirt & | operator= (const StateSimBaseVirt &)=default |
StateSimBaseVirt & | operator= (StateSimBaseVirt &&)=default |
StateSimBaseVirt ()=default | |
StateSimBaseVirt (const StateSimBaseVirt &)=default | |
StateSimBaseVirt (StateSimBaseVirt &&)=default | |
void | toState () |
void | toState0 () |
~StateSimBaseVirt ()=default | |
Public Attributes | |
std::shared_ptr< TParamType > | paramStruct |
Static Public Attributes | |
static constexpr const bool | hasStateGrad = !std::is_same<EmptyGradType, StateWithGradNmType>::value |
Static Public Attributes inherited from tuw::StateSimBaseCRTP< StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > > | |
static constexpr const bool | hasStateGrad |
Private Types | |
using | NumType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::NumType |
using | OdeStateSolverType = explicit_generic_rk_impl< TDiscretizationType, StateNmNumType, NumType, StateNmNumType, NumType, odeint::vector_space_algebra > |
using | StateCfType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateCfType |
using | StateNmNumType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateNmNumType |
using | StateNmType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateNmType |
using | StateSimBaseType = StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType... > |
using | StateVirtType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateVirtType |
using | StateWithGradCfType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateWithGradCfType |
using | StateWithGradNmNumType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateWithGradNmNumType |
using | StateWithGradNmType = typename StateMapBaseTraits< typename TStateType::StateMapBaseType >::StateWithGradNmType |
Private Member Functions | |
void | advanceImplCRTP (const NumType &_arc) |
void | advanceImplVirt (const NumType &_arc) overridefinal |
void | advanceSet0ImplCRTP (auto &_state0, const NumType &_tEnd, const NumType &_dt) |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr> | |
void | advanceWithGradImplCRTP (const NumType &_arc) |
void | advanceWithGradImplVirt (const NumType &_arc) overridefinal |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr> | |
void | advanceWithGradImplVirtDispatch (const NumType &_arc) |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(!stateGradientRepresentation)>::type * = nullptr> | |
void | advanceWithGradImplVirtDispatch (const NumType &_arc) |
void | simToTImplCRTP (const NumType &_tEnd, const NumType &_dt) |
StateForSimType & | stateImplCRTP () |
const StateForSimType & | stateImplCRTP () const |
TDerived & | thisSimDerived () |
const TDerived & | thisSimDerived () const |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(!stateGradientRepresentation)>::type * = nullptr> | |
void | toState0ImplCRTP () |
template<bool stateGradientRepresentation = hasStateGrad, typename std::enable_if<(stateGradientRepresentation)>::type * = nullptr> | |
void | toState0ImplCRTP () |
void | toState0ImplVirt () overridefinal |
Private Attributes | |
NumType | arcOld_ |
std::tuple< TFuncsType... > | funcs_ |
OdeStateSolverType | rk_ |
StateForSimType | state_ |
StateCfType | stateCfDotCache_ |
StateNumSimType | stateWithGradNmDotCache_ |
Friends | |
template<class TDerived2 > | |
class | StateSimBaseCRTP |
template<class TNumType2 , class StateVirtType2 > | |
class | StateSimBaseVirt |
Definition at line 279 of file state_sim_base.hpp.
|
private |
Definition at line 305 of file state_sim_base.hpp.
|
private |
Definition at line 332 of file state_sim_base.hpp.
using tuw::StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType >::ParamStructType = TParamType |
Definition at line 299 of file state_sim_base.hpp.
|
private |
Definition at line 314 of file state_sim_base.hpp.
using tuw::StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType >::StateForSimType = typename StateMapBaseTraits<typename TStateType::StateMapBaseType>::StateForSimType |
Definition at line 296 of file state_sim_base.hpp.
|
private |
Definition at line 317 of file state_sim_base.hpp.
|
private |
Definition at line 311 of file state_sim_base.hpp.
using tuw::StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType >::StateNumSimType = typename std::conditional<hasStateGrad, StateWithGradNmType, StateNmType>::type |
Definition at line 338 of file state_sim_base.hpp.
|
private |
Definition at line 302 of file state_sim_base.hpp.
using tuw::StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType >::StateType = TStateType |
Definition at line 293 of file state_sim_base.hpp.
|
private |
Definition at line 308 of file state_sim_base.hpp.
|
private |
Definition at line 323 of file state_sim_base.hpp.
|
private |
Definition at line 327 of file state_sim_base.hpp.
|
private |
Definition at line 320 of file state_sim_base.hpp.
|
default |
|
default |
|
default |
|
delete |
|
inline |
Definition at line 633 of file state_sim_base.hpp.
|
inline |
Definition at line 627 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 421 of file state_sim_base.hpp.
|
inlinefinaloverrideprivate |
Definition at line 375 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 525 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 441 of file state_sim_base.hpp.
|
inlinefinaloverrideprivate |
Definition at line 381 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 395 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 403 of file state_sim_base.hpp.
|
inline |
Definition at line 609 of file state_sim_base.hpp.
|
inline |
Definition at line 579 of file state_sim_base.hpp.
|
default |
|
delete |
|
inline |
Definition at line 559 of file state_sim_base.hpp.
|
inline |
Definition at line 621 of file state_sim_base.hpp.
|
inline |
Definition at line 567 of file state_sim_base.hpp.
|
inline |
Definition at line 534 of file state_sim_base.hpp.
|
inline |
Definition at line 540 of file state_sim_base.hpp.
|
inline |
Definition at line 615 of file state_sim_base.hpp.
|
inline |
Definition at line 546 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 512 of file state_sim_base.hpp.
|
inline |
Definition at line 603 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 409 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 415 of file state_sim_base.hpp.
|
inline |
Definition at line 597 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 585 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 591 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 462 of file state_sim_base.hpp.
|
inlineprivate |
Definition at line 485 of file state_sim_base.hpp.
|
inlinefinaloverrideprivatevirtual |
|
friend |
Definition at line 662 of file state_sim_base.hpp.
|
friend |
Definition at line 660 of file state_sim_base.hpp.
|
private |
Definition at line 645 of file state_sim_base.hpp.
|
private |
Definition at line 657 of file state_sim_base.hpp.
|
static |
Definition at line 335 of file state_sim_base.hpp.
std::shared_ptr<TParamType> tuw::StateSimBase< TDerived, TParamType, TStateType, TDiscretizationType, TFuncsType >::paramStruct |
Definition at line 654 of file state_sim_base.hpp.
|
private |
Definition at line 648 of file state_sim_base.hpp.
|
private |
Definition at line 651 of file state_sim_base.hpp.
|
private |
Definition at line 639 of file state_sim_base.hpp.
|
private |
Definition at line 642 of file state_sim_base.hpp.