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

Public Member Functions

 VirtualCurrentInDir (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)
 

Protected Attributes

std::unique_ptr< ISignalPort *[] > m_Input_e
 
std::unique_ptr< ISignalPort *[] > m_Input_d
 
std::unique_ptr< ISignalPort *[] > m_Input_v
 
std::unique_ptr< ISignalPort *[] > m_Input_vt
 

Member Function Documentation

◆ GetCurrent()

void VirtualCurrentInDir::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 file: