Marine systems simulation
CNetStructureABAQUS.h
1#ifndef CNetStructureABAQUS_h__
2#define CNetStructureABAQUS_h__
3
4#include "CNetStructureTest.h"
5
6#include <Eigen/Eigen>
7#include <map>
8#include <set>
9
11{
12public:
13 CNetStructureABAQUS(std::string sSimObjectName, ISimObjectCreator *pCreator);
14
15 void InitialConditionSetup(const double dT, const double *const adCurrentIC, double *const adUpdatedIC, ISimObjectCreator *const pCreator);
16 void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep);
17#ifdef FH_VISUALIZATION
18 virtual void RenderInit(Ogre::Root *const pOgreRoot, ISimObjectCreator *const pCreator);
19 virtual void RenderUpdate(const double dT, const double *const adX);
20#endif
21
22
23private:
24 std::vector<int> m_pinned_nodes;
25 std::vector<int> m_ysymm_nodes;
26
27#ifdef FH_VISUALIZATION
28 //std::vector<Ogre::SceneNode*> m_PinnedRenderNodes;
29 //std::vector<Ogre::SceneNode*> m_SymmetricRenderNodes;
30
31 std::map<int,Ogre::SceneNode*> m_RenderNodes;
32
33#endif
34
35 std::map<int,Eigen::Vector3d> m_ic_map;
36 std::map<int,Eigen::Vector3d> m_load_map;
37};
38#endif // CNetStructureABAQUS_h__
Definition: CNetStructureABAQUS.h:11
Class containing a net object.
Definition: CNetStructureTest.h:43