Marine systems simulation
CNetStructureConstrained.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/CNetStructureTest.h"
18#include <CEnvironment.h>
19
20#ifdef FH_VISUALIZATION
21 #include "sfh/ogre/NMeshGenerators.h"
22 #include "sfh/ogre/C3DLine.h"
23 #include <CTextRenderer.h>
24#endif
25
26//Class definition
28{
29public:
31 CNetStructureConstrained(std::string sSimObjectName, ISimObjectCreator *pCreator);
33 void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep);
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: CNetStructureConstrained.h:28
void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
The destructor deletes dynamically allocated memory.
CNetStructureConstrained(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
Class containing a net object.
Definition: CNetStructureTest.h:43