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

Public Member Functions

 CDefaultEnvironment (std::string sSimObjectName, ISimObjectCreator *pCreator)
 
double GetSurfaceElevation (const double dT, const double *const dX, const double adPos[2])
 
void GetSurfaceUnitNormal (const double dT, const double *const dX, const double adPos[2], double *adUnitNormalOut)
 
void GetParticleVelocity (const double dT, const double *const dX, const double adPos[3], double *adVelOut)
 
void GetCurrentVelocity (const double dT, const double *const dX, const double adPos[3], double *adVelOut)
 
void GetParticleAcceleration (const double dT, const double *const dX, const double adPos[3], double *adAccOut)
 
double GetPressure (const double dT, const double *const dX, const double adPos[3])
 
double GetTotalPressure (const double dT, const double *const dX, const double adPos[3])
 
double GetDensity (const double dT, const double *const dX, const double adPos[3])
 
double GetSeadepth (const double adPos[2])
 
double GetSeabedSigma (const double adPos[3])
 
double GetSeabedTau (const double adPos[3])
 
double GetSeabedRho (const double adPos[3])
 
void RegisterCurrentField (ICurrentField *currentField)
 
void InitParameters ()
 
virtual EnvironmentQuery PointEnvironmentQuery (const double T, const double *const X, const double Position[3])
 
virtual void PointEnvironmentQuery2 (const double T, const double *const X, const double Position[3], EnvironmentQuery &q)
 
- Public Member Functions inherited from CEnvironment
 CEnvironment (const string &sSimObjectName, ISimObjectCreator *const pCreator)
 
void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 
virtual double GetSurfaceElevation (const double dT, const double *const dX, const double adPos[2])=0
 
virtual void GetSurfaceUnitNormal (const double dT, const double *const dX, const double adPos[2], double *adUnitNormalOut)=0
 
virtual void GetParticleVelocity (const double dT, const double *const dX, const double adPos[3], double *adVelOut)=0
 
virtual void GetCurrentVelocity (const double dT, const double *const dX, const double adPos[3], double *adVelOut)=0
 
virtual void GetParticleAcceleration (const double dT, const double *const dX, const double adPos[3], double *adAccOut)=0
 
virtual double GetPressure (const double dT, const double *const dX, const double adPos[3])=0
 
virtual double GetTotalPressure (const double dT, const double *const dX, const double adPos[3])=0
 
virtual double GetDensity (const double dT, const double *const dX, const double adPos[3])=0
 
virtual double GetSeadepth (const double adPos[2])=0
 
virtual double GetSeabedSigma (const double adPos[3])=0
 
virtual double GetSeabedTau (const double adPos[3])=0
 
virtual double GetSeabedRho (const double adPos[3])=0
 
virtual void RegisterCurrentField (ICurrentField *currentField)=0
 
virtual void GetWaveFrequencies (std::vector< double > &vec)
 
virtual void GetWaveAmplitudes (std::vector< double > &vec)
 
virtual void GetWavePhaseAngles (std::vector< double > &vec)
 
virtual void GetWaveDirections (std::vector< double > &vec)
 
virtual void GetWaveNumbers (std::vector< double > &vec)
 
virtual EnvironmentQuery PointEnvironmentQuery (const double T, const double *const X, const double Position[3])=0
 
virtual void PointEnvironmentQuery2 (const double T, const double *const X, const double Position[3], EnvironmentQuery &q)=0
 

Protected Attributes

double m_uniformDensity
 
double m_dSeadepth
 
double m_CurrentVelocity [3]
 
std::vector< ICurrentField * > m_CurrentFields
 

Member Function Documentation

◆ GetCurrentVelocity()

void CDefaultEnvironment::GetCurrentVelocity ( const double  dT,
const double *const  dX,
const double  adPos[3],
double *  adVelOut 
)
virtual

Implements CEnvironment.

◆ GetDensity()

double CDefaultEnvironment::GetDensity ( const double  dT,
const double *const  dX,
const double  adPos[3] 
)
virtual

Implements CEnvironment.

◆ GetParticleAcceleration()

void CDefaultEnvironment::GetParticleAcceleration ( const double  dT,
const double *const  dX,
const double  adPos[3],
double *  adAccOut 
)
virtual

Implements CEnvironment.

◆ GetParticleVelocity()

void CDefaultEnvironment::GetParticleVelocity ( const double  dT,
const double *const  dX,
const double  adPos[3],
double *  adVelOut 
)
virtual

Implements CEnvironment.

◆ GetPressure()

double CDefaultEnvironment::GetPressure ( const double  dT,
const double *const  dX,
const double  adPos[3] 
)
virtual

Implements CEnvironment.

◆ GetSeabedRho()

double CDefaultEnvironment::GetSeabedRho ( const double  adPos[3])
virtual

Implements CEnvironment.

◆ GetSeabedSigma()

double CDefaultEnvironment::GetSeabedSigma ( const double  adPos[3])
virtual

Implements CEnvironment.

◆ GetSeabedTau()

double CDefaultEnvironment::GetSeabedTau ( const double  adPos[3])
virtual

Implements CEnvironment.

◆ GetSeadepth()

double CDefaultEnvironment::GetSeadepth ( const double  adPos[2])
virtual

Implements CEnvironment.

◆ GetSurfaceElevation()

double CDefaultEnvironment::GetSurfaceElevation ( const double  dT,
const double *const  dX,
const double  adPos[2] 
)
virtual

Implements CEnvironment.

◆ GetSurfaceUnitNormal()

void CDefaultEnvironment::GetSurfaceUnitNormal ( const double  dT,
const double *const  dX,
const double  adPos[2],
double *  adUnitNormalOut 
)
virtual

Implements CEnvironment.

◆ GetTotalPressure()

double CDefaultEnvironment::GetTotalPressure ( const double  dT,
const double *const  dX,
const double  adPos[3] 
)
virtual

Implements CEnvironment.

◆ PointEnvironmentQuery()

virtual EnvironmentQuery CDefaultEnvironment::PointEnvironmentQuery ( const double  T,
const double *const  X,
const double  Position[3] 
)
virtual

Implements CEnvironment.

◆ PointEnvironmentQuery2()

virtual void CDefaultEnvironment::PointEnvironmentQuery2 ( const double  T,
const double *const  X,
const double  Position[3],
EnvironmentQuery q 
)
virtual

Implements CEnvironment.

◆ RegisterCurrentField()

void CDefaultEnvironment::RegisterCurrentField ( ICurrentField currentField)
virtual

Implements CEnvironment.


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