4#include "SupergridCable.h"
5#include "LineStructureGravityHydro.h"
19 static int GetElementNum(ISimObjectCreator* creator);
26 Eigen::Vector3d Current(
double T,
const double* X,
const double* Position) { Eigen::Vector3d C; m_environment->GetCurrentVelocity(T, X, Position, C.data());
return C; }
27 double OceanSurfaceElevation(
double T,
const double* X,
const double* Position) {
return m_environment->GetSurfaceElevation(T, X, Position); }
29 void CurrentQuery(
double T,
const double* X,
const Eigen::Vector3d& Position, Eigen::Vector3d& current,
double& surface_elevation,
double& density) {
auto result = m_environment->PointEnvironmentQuery(T, X, Position.data()); current = Eigen::Vector3d(result.current_velocity); surface_elevation = result.surface_elevation; density = result.density; }
31 double SeaDepth(
const double* Position) {
return m_environment->GetSeadepth(Position); }
Definition: CEnvironment.h:10
Definition: ConstraintSolver.h:31
Definition: SupergridLineStructure.h:15
Definition: SupergridCable.h:79
Definition: CollarChain.h:22
Definition: CollarChain.h:10
virtual void ComputeConstraints(const double T, const double *const X)