|
| typedef std::shared_ptr< Waves > | WavesRef |
| |
|
typedef double | real |
| | Real numbers wrapper. It is either double or float.
|
| |
|
typedef Eigen::Vector2d | vec2 |
| | 2-D vector of real numbers
|
| |
|
typedef Eigen::Vector3d | vec3 |
| | 3-D vector of real numbers
|
| |
|
typedef Eigen::Vector4d | vec4 |
| | 4-D vector of real numbers
|
| |
|
typedef Eigen::Vector6d | vec6 |
| | 6-D vector of real numbers
|
| |
|
typedef Eigen::Vector7d | vec7 |
| | 7-D vector of real numbers
|
| |
|
typedef vec3 | vec |
| | vec3 renaming
|
| |
|
typedef Eigen::Matrix2d | mat2 |
| | 2x2 matrix of real numbers
|
| |
|
typedef Eigen::Matrix3d | mat3 |
| | 3x3 matrix of real numbers
|
| |
|
typedef Eigen::Matrix4d | mat4 |
| | 4x4 matrix of real numbers
|
| |
|
typedef Eigen::Matrix6d | mat6 |
| | 6x6 matrix of real numbers
|
| |
|
typedef Eigen::Matrix7d | mat7 |
| | 7x7 matrix of real numbers
|
| |
|
typedef mat3 | mat |
| | mat3 renaming
|
| |
|
typedef Eigen::Quaterniond | quaternion |
| | Quaternion of real numbers.
|
| |
|
typedef Eigen::Matrix< real, Eigen::Dynamic, 1 > | list |
| | A resizable list of reals.
|
| |
|
typedef Eigen::Vector2i | ivec2 |
| | 2-D vector of integers
|
| |
|
typedef Eigen::Vector3i | ivec3 |
| | 3-D vector of integers
|
| |
|
typedef Eigen::Vector4i | ivec4 |
| | 4-D vector of integers
|
| |
|
typedef Eigen::Vector6i | ivec6 |
| | 6-D vector of integers
|
| |
|
typedef Eigen::Vector7i | ivec7 |
| | 7-D vector of integers
|
| |
|
typedef ivec3 | ivec |
| | Renaming of ivec3.
|
| |
|
typedef std::complex< real > | complex |
| | Complex numbers.
|
| |
|
typedef Eigen::Matrix< real, Eigen::Dynamic, Eigen::Dynamic > | InstanceStateVar |
| | State variables for a particular instance.
|
| |
|
typedef Eigen::Block< InstanceStateVar, Eigen::Dynamic > | InstanceStateVarView |
| | View of the State variables for a particular instance.
|
| |
|
typedef Eigen::Matrix< InstanceStateVar, Eigen::Dynamic, 1 > | StateVar |
| | State variable.
|
| |
|
typedef Eigen::VectorBlock< StateVar, Eigen::Dynamic > | StateVarView |
| | View of the State variable.
|
| |
|
typedef int | error_id |
| | Error identifier.
|
| |
|
typedef struct moordyn::_FailProps | FailProps |
| | Failure conditions.
|
| |
|
typedef std::shared_ptr< Seafloor > | SeafloorRef |
| | Shared pointer.
|
| |
|
template<class T > |
| using | Vec2D = std::vector< std::vector< T > > |
| | STL std::vector of 2 dimensions.
|
| |
|
template<class T > |
| using | Vec3D = std::vector< std::vector< std::vector< T > >> |
| | STL std::vector of 3 dimensions.
|
| |
|
template<class T > |
| using | Vec4D = std::vector< std::vector< std::vector< std::vector< T > >> > |
| | STL std::vector of 4 dimensions.
|
| |
|
|
std::atomic< size_t > | __instances_counter (0) |
| |
|
void | reset_instance_ids () |
| | Reset the instances Ids, so they will be assigned again starting from 0.
|
| |
| std::string | log_level_name (int level) |
| | Name the log level. More...
|
| |
|
template<class T > |
| MultiStream & | operator<< (MultiStream &st, T val) |
| | Streaming to the log file and the terminal.
|
| |
| vec6 | solveMat6 (const mat6 &mat, const vec6 &vec) |
| | Solves a 6x6 system of equations M * a = b. More...
|
| |
| mat6 | translateMass (vec r, mat M) |
| | Compute the mass matrix on an offset point. More...
|
| |
| mat6 | translateMass6 (vec r, mat6 M) |
| | Compute the mass matrix on an offset point. More...
|
| |
| mat6 | rotateMass6 (mat R, mat6 M) |
| | rotation to a 6x6 mass/inertia tensor More...
|
| |
| void | transformKinematics (const vec &rRelBody, const mat &M, const vec &r, const vec6 &rd, vec &rOut, vec &rdOut) |
| | calculate position and velocity of point based on its position relative to moving 6DOF body More...
|
| |
| std::pair< real, real > | orientationAngles (vec q) |
| | Get the spherical angles for a vector. More...
|
| |
| moordyn::real | GetCurvature (moordyn::real length, const vec &q1, const vec &q2) |
| | Convenience function to calculate curvature based on adjacent segments' direction vectors and their combined length. More...
|
| |
| bool | EqualRealNos (const real a1, const real a2) |
| | This function compares two real numbers and determines if they are "almost" equal. More...
|
| |
|
vec3 | canonicalEulerAngles (const quaternion &quat, int a0, int a1, int a2) |
| |
|
vec3 | Quat2Euler (const quaternion &q) |
| |
|
quaternion | Euler2Quat (const vec3 &angles) |
| |
|
const complex | i1 (0., 1.) |
| | The imaginary unit.
|
| |
| template<typename T > |
| void | vec2array (const vec &v, T *a) |
| | Convert a vector to a C-ish array. More...
|
| |
| template<typename T > |
| void | array2vec (const T *a, vec &v) |
| | Convert a C-ish array to a vector. More...
|
| |
| template<typename T > |
| void | vec62array (const vec6 &v, T *a) |
| | Convert a vector to a C-ish array. More...
|
| |
| template<typename T > |
| void | array2vec6 (const T *a, vec6 &v) |
| | Convert a C-ish array to a vector. More...
|
| |
| template<typename T > |
| void | mat2array (const mat &v, T a[3][3]) |
| | Convert a matrix to a C-ish array. More...
|
| |
| template<typename T > |
| void | array2mat (const T a[3][3], mat &v) |
| | Convert a C-ish array to a matrix. More...
|
| |
| template<typename T > |
| void | mat62array (const mat6 &v, T a[6][6]) |
| | Convert a matrix to a C-ish array. More...
|
| |
| template<typename T > |
| void | array2mat6 (const T a[6][6], mat6 &v) |
| | Convert a C-ish array to a matrix. More...
|
| |
| template<typename T > |
| std::vector< T > | vector_slice (std::vector< T > const &v, unsigned int m, unsigned int n) |
| |
| template<typename T > |
| std::vector< T > | vector_slice (std::vector< T > const &v, unsigned int n) |
| |
| template<typename T > |
| void | vector_extend (std::vector< T > &v, std::vector< T > const &v_prime) |
| |
| template<typename T , int NROWS, int NCOLS> |
| std::vector< T > | flatten (std::vector< Eigen::Matrix< T, NROWS, NCOLS >> const &v) |
| | Flatten a list of vectors or matrices. More...
|
| |
| char | end_point_name (EndPoints p) |
| | Gives an character representation of the end point. More...
|
| |
| moordyn::real | unitvector (vec &u, const vec &r1, const vec &r2) |
| | Normalized direction vector. More...
|
| |
| template<typename T > |
| void | scalevector (const vec &u, T newlength, vec &y) |
| | Compute a vector with the same direction but different length. More...
|
| |
| mat | getH (vec r) |
| | Produce alternator matrix. More...
|
| |
| mat | rotateMass (mat R, mat M) |
| | rotation to a 3x3 mass matrix or any other second order tensor More...
|
| |
| mat | RotX (real rads) |
| | Rotation matrix around x axis. More...
|
| |
| mat | RotY (real rads) |
| | Rotation matrix around y axis. More...
|
| |
| mat | RotZ (real rads) |
| | Rotation matrix around z axis. More...
|
| |
|
std::atomic< size_t > | __systems_counter (0) |
| |
|
real | calcSubSeg (vec p1, vec p2, real surface_height, real diameter) |
| |
|
unsigned int | calcInsertIndex (std::vector< real > &list, real value) |
| |
| std::vector< real > | gridAxisCoords (Waves::coordtypes coordtype, vector< string > &entries) |
| | Compute the coordinates from a grid definition entry line. More...
|
| |
MoorDyn2 C++ API namespace.