#include <MShell.h>
Public Types | |
| enum | ElementType { active = 0, parallelGhost = 1, boundaryGhost = 2, fragmentGhost = 3 } |
| enum | EdgeType { bothActive = 0, boundary = 1, procBoundary = 2 } |
Public Member Functions | |
| MShell (std::istream &is) | |
| virtual | ~MShell () |
| virtual void | initializeComputation () |
| virtual void | resetActiveElements (const std::vector< unsigned > &newActiveID) |
| virtual void | verticesToBeCoupled (std::vector< shells::SVertexS * > &vertices) |
| template<typename T > | |
| T | iterateOverElements (const T &op, const ElementType &type) |
| template<typename T > | |
| T | iterateOverEdges (const T &op, const EdgeType &type) |
| template<typename T > | |
| T | iterateOverVertices (const T &op) |
| template<typename VIZ > | |
| void | visualizeMesh (VIZ &v) |
| size_t | numberOfElements (const ElementType &type) const |
| size_t | numberOfVertices () const |
Protected Types | |
| typedef std::vector < shells::SElementS * > | _SElementCont |
| typedef std::map< ElementType, _SElementCont > | _SElementTypeCont |
| typedef _SElementCont::iterator | _SElementIt |
| typedef std::vector < shells::SEdgeS * > | _SEdgeCont |
| typedef std::map< EdgeType, _SEdgeCont > | _SEdgeTypeCont |
| typedef _SEdgeCont::iterator | _SEdgeIt |
| typedef std::vector < shells::SVertexS * > | _VertexCont |
| typedef _VertexCont::iterator | _VertexIt |
Protected Attributes | |
| _SElementTypeCont | _elements |
| _VertexCont | _vertices |
| _SEdgeTypeCont | _edges |
typedef std::vector<shells::SEdgeS * > shells::MShell::_SEdgeCont [protected] |
typedef _SEdgeCont::iterator shells::MShell::_SEdgeIt [protected] |
typedef std::map<EdgeType, _SEdgeCont> shells::MShell::_SEdgeTypeCont [protected] |
typedef std::vector<shells::SElementS * > shells::MShell::_SElementCont [protected] |
typedef _SElementCont::iterator shells::MShell::_SElementIt [protected] |
typedef std::map<ElementType, _SElementCont> shells::MShell::_SElementTypeCont [protected] |
typedef std::vector<shells::SVertexS *> shells::MShell::_VertexCont [protected] |
typedef _VertexCont::iterator shells::MShell::_VertexIt [protected] |
| shells::MShell::MShell | ( | std::istream & | is | ) |
References _edges, _vertices, active, bothActive, boundary, and iterateOverElements().
| virtual shells::MShell::~MShell | ( | ) | [inline, virtual] |
| void shells::MShell::initializeComputation | ( | ) | [virtual] |
Reimplemented in shells::MShellFragmented.
References active, and iterateOverElements().
Referenced by main().
| T shells::MShell::iterateOverEdges | ( | const T & | op, | |
| const EdgeType & | type | |||
| ) | [inline] |
| T shells::MShell::iterateOverElements | ( | const T & | op, | |
| const ElementType & | type | |||
| ) | [inline] |
References _elements.
Referenced by utilities::BasicSensor< EXTR >::BasicSensor(), shells::ShellManagerFragmented::computeMassPrepareAdvance(), shells::ShellManagerBasic::computeMassPrepareAdvance(), shells::computeStableTimeStep(), shells::CheckpointElementData::dumpElementData(), shells::ELCCoder::encodeElementPressure(), shells::ELCCoder::encodeVertexPressure(), shells::VisualizeTecplot< EXTR0, EXTR1, EXTR2, EXTR3 >::initialize(), shells::MShellFragmented::initializeComputation(), initializeComputation(), shells::ShellManagerFragmented::internalExternalForces(), shells::ShellManagerBasic::internalExternalForces(), main(), MShell(), shells::MShellFragmented::MShellFragmented(), parallel::MShellParallelizer::MShellParallelizer(), shells::CheckpointElementData::readAndDistributeElementData(), and visualizeMesh().
| T shells::MShell::iterateOverVertices | ( | const T & | op | ) | [inline] |
References _vertices.
Referenced by cylExp::BasicSensor< EXTR >::BasicSensor(), shells::ShellManagerFragmented::computeMassPrepareAdvance(), shells::ShellManagerBasic::computeMassPrepareAdvance(), shells::ShellManagerFragmented::correct(), shells::ShellManagerBasic::correct(), shells::CheckpointVertexData::dumpVertexData(), shells::ShellManagerFragmented::internalExternalForces(), shells::ShellManagerBasic::internalExternalForces(), main(), shells::ShellManagerBasic::predict(), shells::ShellManagerFragmented::predictAndEnforceBC(), utilities::MinMaxSensor< EXTR >::printData(), cylExp::BasicSensor< EXTR >::printData(), shells::CheckpointVertexData::readAndDistributeVertexData(), and visualizeMesh().
| size_t shells::MShell::numberOfElements | ( | const ElementType & | type | ) | const |
References _elements.
Referenced by shells::VisualizeTecplot< EXTR0, EXTR1, EXTR2, EXTR3 >::initialize().
| size_t shells::MShell::numberOfVertices | ( | ) | const [inline] |
References _vertices.
Referenced by cylExp::BasicSensor< EXTR >::BasicSensor(), utilities::MinMaxSensor< EXTR >::printData(), and cylExp::BasicSensor< EXTR >::printData().
| void shells::MShell::resetActiveElements | ( | const std::vector< unsigned > & | newActiveID | ) | [virtual] |
Reimplemented in shells::MShellFragmented.
References _elements, active, boundary, boundaryGhost, deleteSElement(), iterateOverEdges(), parallelGhost, procBoundary, and utilities::vec_difference().
Referenced by parallel::MShellParallelizer::MShellParallelizer().
| void shells::MShell::verticesToBeCoupled | ( | std::vector< shells::SVertexS * > & | vertices | ) | [virtual] |
Reimplemented in shells::MShellFragmented.
References iterateOverEdges(), and procBoundary.
Referenced by parallel::MShellParallelizer::initializeCommunication().
| void shells::MShell::visualizeMesh | ( | VIZ & | v | ) | [inline] |
References iterateOverElements(), and iterateOverVertices().
Referenced by shells::ShellManagerFragmented::printData(), and shells::ShellManagerBasic::printData().
_SEdgeTypeCont shells::MShell::_edges [protected] |
_SElementTypeCont shells::MShell::_elements [protected] |
_VertexCont shells::MShell::_vertices [protected] |
1.6.3