#include <Terrain.h>
Public Member Functions | |
Terrain () | |
~Terrain () | |
bool | build (int i, std::string name, std::string file, int type) |
virtual bool | specificSetup (SceneType &ThisScene, TerrainControl *TerrainCtrl) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int &flag) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int flag, DataType off) |
DataType | height (PType &I_A, DataType zmin, int &flag) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
Terrain () | |
~Terrain () | |
bool | build (int i, std::string name, std::string file, int type) |
virtual bool | specificSetup (SceneType &ThisScene, TerrainControl *TerrainCtrl) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int &flag) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int flag, DataType off) |
DataType | height (PType &I_A, DataType zmin, int &flag) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
Terrain () | |
~Terrain () | |
bool | build (int i, std::string name, std::string file, int type) |
virtual bool | specificSetup (SceneType &ThisScene, TerrainControl *TerrainCtrl) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int &flag) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int flag, DataType off) |
DataType | height (PType &I_A, DataType zmin, int &flag) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
Terrain () | |
~Terrain () | |
bool | build (int i, std::string name, std::string file, int type) |
virtual bool | specificSetup (SceneType &ThisScene, TerrainControl *TerrainCtrl) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int &flag) |
virtual PType | surfacePoint (PType I_A, DataType zmin, int flag, DataType off) |
DataType | height (PType &I_A, DataType zmin, int &flag) |
virtual void | Restart (std::ifstream &ifs, int &pos, double &t, double &dt) |
virtual void | Checkpointing (std::ofstream &ofs) |
Protected Attributes | |
AssemblyType * | Terrain0 |
Friends | |
class | Turbine |
Terrain::Terrain | ( | ) | [inline] |
Terrain::~Terrain | ( | ) | [inline] |
Terrain::Terrain | ( | ) | [inline] |
Terrain::~Terrain | ( | ) | [inline] |
Terrain::Terrain | ( | ) | [inline] |
Terrain::~Terrain | ( | ) | [inline] |
Terrain::Terrain | ( | ) | [inline] |
Terrain::~Terrain | ( | ) | [inline] |
bool Terrain::build | ( | int | i, | |
std::string | name, | |||
std::string | file, | |||
int | type | |||
) | [inline] |
References Assembly< class, dim >::GetNthPart(), and Terrain0.
bool Terrain::build | ( | int | i, | |
std::string | name, | |||
std::string | file, | |||
int | type | |||
) | [inline] |
References Assembly< class, dim >::GetNthPart(), and Terrain0.
bool Terrain::build | ( | int | i, | |
std::string | name, | |||
std::string | file, | |||
int | type | |||
) | [inline] |
References Assembly< class, dim >::GetNthPart(), and Terrain0.
bool Terrain::build | ( | int | i, | |
std::string | name, | |||
std::string | file, | |||
int | type | |||
) | [inline] |
References Assembly< class, dim >::GetNthPart(), and Terrain0.
virtual void Terrain::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
References Assembly< class, dim >::Checkpointing(), and Terrain0.
virtual void Terrain::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
References Assembly< class, dim >::Checkpointing(), and Terrain0.
virtual void Terrain::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
References Assembly< class, dim >::Checkpointing(), and Terrain0.
virtual void Terrain::Checkpointing | ( | std::ofstream & | ofs | ) | [inline, virtual] |
References Assembly< class, dim >::Checkpointing(), and Terrain0.
Referenced by MotionSpecific::Checkpointing().
References norm_2(), and surfacePoint().
References norm_2(), and surfacePoint().
References norm_2(), and surfacePoint().
References norm_2(), and surfacePoint().
virtual void Terrain::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
References Assembly< class, dim >::Name(), Assembly< class, dim >::Restart(), and Terrain0.
virtual void Terrain::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
References Assembly< class, dim >::Name(), Assembly< class, dim >::Restart(), and Terrain0.
virtual void Terrain::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
References Assembly< class, dim >::Name(), Assembly< class, dim >::Restart(), and Terrain0.
virtual void Terrain::Restart | ( | std::ifstream & | ifs, | |
int & | pos, | |||
double & | t, | |||
double & | dt | |||
) | [inline, virtual] |
References Assembly< class, dim >::Name(), Assembly< class, dim >::Restart(), and Terrain0.
Referenced by MotionSpecific::Restart().
virtual bool Terrain::specificSetup | ( | SceneType & | ThisScene, | |
TerrainControl * | TerrainCtrl | |||
) | [inline, virtual] |
nameTmp);
References SceneBase< DataType, dim >::AddAssembly(), Assembly< class, dim >::AddPart(), PartBase< DataType, dim >::GetDHMat(), SceneBase< DataType, dim >::GetNthAssembly(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNumAssemblies(), Surface< class >::GetNumVelocities(), PartBase< DataType, dim >::IdTag(), Loft< class >::Name(), TerrainControl::normal, rotMat3D(), Surface< class >::setDeformation(), PartBase< DataType, dim >::setDHMat(), PartBase< DataType, dim >::setDHMat_old(), PartBase< DataType, dim >::setMobility(), Assembly< class, dim >::setName(), stringID(), Terrain0, TerrainControl::terrain_file, TerrainControl::terrain_filetype, TerrainControl::terrain_name, and Assembly< class, dim >::updateAssembly().
virtual bool Terrain::specificSetup | ( | SceneType & | ThisScene, | |
TerrainControl * | TerrainCtrl | |||
) | [inline, virtual] |
nameTmp);
References SceneBase< DataType, dim >::AddAssembly(), Assembly< class, dim >::AddPart(), PartBase< DataType, dim >::GetDHMat(), SceneBase< DataType, dim >::GetNthAssembly(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNumAssemblies(), Surface< class >::GetNumVelocities(), PartBase< DataType, dim >::IdTag(), Loft< class >::Name(), TerrainControl::normal, rotMat3D(), Surface< class >::setDeformation(), PartBase< DataType, dim >::setDHMat(), PartBase< DataType, dim >::setDHMat_old(), PartBase< DataType, dim >::setMobility(), Assembly< class, dim >::setName(), stringID(), Terrain0, TerrainControl::terrain_file, TerrainControl::terrain_filetype, TerrainControl::terrain_name, and Assembly< class, dim >::updateAssembly().
virtual bool Terrain::specificSetup | ( | SceneType & | ThisScene, | |
TerrainControl * | TerrainCtrl | |||
) | [inline, virtual] |
nameTmp);
References SceneBase< DataType, dim >::AddAssembly(), Assembly< class, dim >::AddPart(), PartBase< DataType, dim >::GetDHMat(), SceneBase< DataType, dim >::GetNthAssembly(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNumAssemblies(), Surface< class >::GetNumVelocities(), PartBase< DataType, dim >::IdTag(), Loft< class >::Name(), TerrainControl::normal, rotMat3D(), Surface< class >::setDeformation(), PartBase< DataType, dim >::setDHMat(), PartBase< DataType, dim >::setDHMat_old(), PartBase< DataType, dim >::setMobility(), Assembly< class, dim >::setName(), stringID(), Terrain0, TerrainControl::terrain_file, TerrainControl::terrain_filetype, TerrainControl::terrain_name, and Assembly< class, dim >::updateAssembly().
virtual bool Terrain::specificSetup | ( | SceneType & | ThisScene, | |
TerrainControl * | TerrainCtrl | |||
) | [inline, virtual] |
nameTmp);
References SceneBase< DataType, dim >::AddAssembly(), Assembly< class, dim >::AddPart(), PartBase< DataType, dim >::GetDHMat(), SceneBase< DataType, dim >::GetNthAssembly(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNumAssemblies(), Surface< class >::GetNumVelocities(), PartBase< DataType, dim >::IdTag(), Loft< class >::Name(), TerrainControl::normal, rotMat3D(), Surface< class >::setDeformation(), PartBase< DataType, dim >::setDHMat(), PartBase< DataType, dim >::setDHMat_old(), PartBase< DataType, dim >::setMobility(), Assembly< class, dim >::setName(), stringID(), Terrain0, TerrainControl::terrain_file, TerrainControl::terrain_filetype, TerrainControl::terrain_name, and Assembly< class, dim >::updateAssembly().
Referenced by MotionSpecific::specificSetup().
virtual PType Terrain::surfacePoint | ( | PType | I_A, | |
DataType | zmin, | |||
int | flag, | |||
DataType | off | |||
) | [inline, virtual] |
References Assembly< class, dim >::GetConnections(), Assembly< class, dim >::GetNumPC(), Assembly< class, dim >::GetVerticies(), intersection_line2facet(), Assembly< class, dim >::makeConnections(), Assembly< class, dim >::makeVerticies(), normalize(), Assembly< class, dim >::send2CPT(), and Terrain0.
virtual PType Terrain::surfacePoint | ( | PType | I_A, | |
DataType | zmin, | |||
int | flag, | |||
DataType | off | |||
) | [inline, virtual] |
References Assembly< class, dim >::GetConnections(), Assembly< class, dim >::GetNumPC(), Assembly< class, dim >::GetVerticies(), intersection_line2facet(), Assembly< class, dim >::makeConnections(), Assembly< class, dim >::makeVerticies(), normalize(), Assembly< class, dim >::send2CPT(), and Terrain0.
virtual PType Terrain::surfacePoint | ( | PType | I_A, | |
DataType | zmin, | |||
int | flag, | |||
DataType | off | |||
) | [inline, virtual] |
References Assembly< class, dim >::GetConnections(), Assembly< class, dim >::GetNumPC(), Assembly< class, dim >::GetVerticies(), intersection_line2facet(), Assembly< class, dim >::makeConnections(), Assembly< class, dim >::makeVerticies(), normalize(), Assembly< class, dim >::send2CPT(), and Terrain0.
virtual PType Terrain::surfacePoint | ( | PType | I_A, | |
DataType | zmin, | |||
int | flag, | |||
DataType | off | |||
) | [inline, virtual] |
References Assembly< class, dim >::GetConnections(), Assembly< class, dim >::GetNumPC(), Assembly< class, dim >::GetVerticies(), intersection_line2facet(), Assembly< class, dim >::makeConnections(), Assembly< class, dim >::makeVerticies(), normalize(), Assembly< class, dim >::send2CPT(), and Terrain0.
References Assembly< class, dim >::GetConnections(), Assembly< class, dim >::GetNumPC(), Assembly< class, dim >::GetVerticies(), intersection_line2facet(), Assembly< class, dim >::makeConnections(), Assembly< class, dim >::makeVerticies(), Assembly< class, dim >::send2CPT(), and Terrain0.
Referenced by height(), and Turbine::ontop().
Turbine [friend] |
AssemblyType * Terrain::Terrain0 [protected] |
Referenced by build(), Checkpointing(), Restart(), specificSetup(), and surfacePoint().