Marine systems simulation
VirtualCurrent Class Reference
+ Inheritance diagram for VirtualCurrent:
+ Collaboration diagram for VirtualCurrent:

Public Member Functions

 VirtualCurrent (const string &simObjectName, ISimObjectCreator *const creator)
 
void FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator)
 
void InitialConditionSetup (const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator)
 
void GetCurrent (const double T, const double *const X, const double position[3], double *currentVelocity)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 
void PreOdeFcn (const double T, const double *const X, IStateUpdater *updater)
 
 VirtualCurrent (const string &simObjectName, ISimObjectCreator *const creator)
 
void FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator)
 
void InitialConditionSetup (const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator)
 
void GetCurrent (const double T, const double *const X, const double position[3], double *currentVelocity)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 
void PreOdeFcn (const double T, const double *const X, IStateUpdater *updater)
 

Protected Member Functions

void SetOutputPortValues (const double T, const double *const X)
 Set upper limit of the current.
 
const double * PlanarCurrent (const double T, const double *const X, int layer)
 
void SetOutputPortValues (const double T, const double *const X)
 Set upper limit of the current.
 
const double * PlanarCurrent (const double T, const double *const X, int layer)
 

Protected Attributes

std::unique_ptr< ISignalPort *[]> m_Input_i
 Set upper limit of the current.
 
std::unique_ptr< ISignalPort *[] > m_Input_i
 Set upper limit of the current.
 

Member Function Documentation

◆ GetCurrent() [1/2]

void VirtualCurrent::GetCurrent ( const double  T,
const double *const  X,
const double  position[3],
double *  currentVelocity 
)
virtual

Implements ICurrentField.

◆ GetCurrent() [2/2]

void VirtualCurrent::GetCurrent ( const double  T,
const double *const  X,
const double  position[3],
double *  currentVelocity 
)
virtual

Implements ICurrentField.


The documentation for this class was generated from the following files: