Marine systems simulation
PolyplateEnvironmentForces.h
1#ifndef PolyplateEnvironmentForces_h
2#define PolyplateEnvironmentForces_h
3
4#include "CEnvironment.h"
5#include "CRigidBody.h"
6#include "PolyplateSpec.h"
7
8namespace rigidbody
9{
10namespace soilforces
11{
12void SplitPolygon(int n, double* x, double* y, double* xOut, double* yOut, int& n1, int& n2, double ax, double ay, double a);
13vec6 CalcHydroforcesPolyplate(const vec6& dX, const vec3& r, const quat& q, CEnvironment* environment, double time, const double* states, const PolyplateSpec& plateSpec);
14vec6 CalcSoilforcesPolyplate(const vec6& dX, const vec3& r, const quat& q, CEnvironment* environment, double time, const double* states, const PolyplateSpec& plateSpec);
15
16
17} // namespace soilforces
18} // namespace rigidbody
19
20#endif
Definition: CEnvironment.h:10