|
FhSim
3.1.0
Marine systems simulation
|
#include <NetNodeStates.h>
Inheritance diagram for NetNodeStates:Public Member Functions | |
| virtual NetNodeLayout | Layout () const =0 |
| Where each node's position and velocity sit in X. Called once, from NetCore::FinalSetup. | |
| virtual void | AddExternalForces (double T, const double *X, double *nodeForce) const =0 |
| virtual void | TakeNodeForces (double T, const double *X, const double *nodeForce, double *XDot) const =0 |
What the net core needs from the structure that owns the nodes.
|
pure virtual |
Adds the forces from outside the net (input ports) to nodeForce. Once per evaluation, after the panel and cable loads and before bottom contact.
| [in] | T | Time [s]. |
| [in] | X | The global state vector. |
| [in,out] | nodeForce | 3 per node [N]. |
Implemented in NetStructure, and NetStructureWithConstraints.
|
pure virtual |
Implemented in NetStructure, and NetStructureWithConstraints.
|
pure virtual |
Takes the summed node forces of the evaluation: the state derivatives of the free nodes, and for the constraint solver also the forces handed to the rigid elements and the solver step. Once per evaluation, last.
| [in] | T | Time [s]. |
| [in] | X | The global state vector. |
| [in] | nodeForce | 3 per node [N]. |
| [out] | XDot | The state derivatives. |
Implemented in NetStructure, and NetStructureWithConstraints.