FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
NetNodeView Struct Reference

The nodes of one state vector, as the net core reads them: plain index arithmetic, no virtual call.

#include <NetNodeStates.h>

+ Collaboration diagram for NetNodeView:

Public Member Functions

const double * Position (int node) const
 The position of node, 3 states.
 
const double * Velocity (int node) const
 The velocity of node, 3 states.
 

Public Attributes

const double * X = nullptr
 The state vector.
 
const NetNodeLayout * layout = nullptr
 From NetNodeStates::Layout().
 
int stateBase = 0
 Subtracted from every index: 0 for a global X, the SimObject's first state for a local one (Jacobian).
 

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