FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
NetStructureConstrained.h
1
9
10#ifndef CNetStructureConstrained_H
11#define CNetStructureConstrained_H
12
13//#define CNetStructure_DO_PROFILE
14
15// Includes
16#include <string>
17#include "net/Test/NetStructureTest.h"
18#include <fhsim_environment/EnvironmentProvider.h>
19
20#ifdef FH_VISUALIZATION
21 #include "sfh/ogre/NMeshGenerators.h"
22 #include "sfh/ogre/C3DLine.h"
23 #include <fhsim/visual/renderer/TextRenderer.h>
24#endif
25
26//Class definition
28{
29public:
31 NetStructureConstrained(std::string simObjectName, ISimObjectCreator *creator);
33 void OdeFcn(const double dT, const double *const adX, double *const adXDot) const;
34protected:
35
36#ifdef CNetStructure_DO_PROFILE
37 sfh::timers::ProfilerWallclock m_Profiler;
38#endif
39};
40
41
42#endif
Class containing a net object.
Definition NetStructureConstrained.h:28
void OdeFcn(const double dT, const double *const adX, double *const adXDot) const
The destructor deletes dynamically allocated memory.
NetStructureConstrained(std::string simObjectName, ISimObjectCreator *creator)
The constructor sets the pointer to the output object and the parser object.
Class containing a net object.
Definition NetStructureTest.h:42