36 #ifndef NEKTAR_SPATIALDOMAINS_MESHGRAPH2D_H 
   37 #define NEKTAR_SPATIALDOMAINS_MESHGRAPH2D_H 
   49     namespace SpatialDomains
 
   84             inline bool GetGeofac_defined(
void)
 
   86                 return m_geoFacDefined;
 
   98                 const int vert, 
const int elmt)
 const 
  103                         "eid is out of range");
 
  105                     return m_triGeoms.find(elmt)->second->GetVid(vert);
 
  110                         "eid is out of range");
 
  112                     return m_quadGeoms.find(elmt)->second->GetVid(vert);
 
  117                 const int edge, 
const int elmt)
 const 
  122                         "eid is out of range");
 
  124                     return m_triGeoms.find(elmt)->second->GetEid(edge);
 
  129                         "eid is out of range");
 
  131                     return m_quadGeoms.find(elmt)->second->GetEid(edge);
 
  140                         "eid is out of range");
 
  142                     return m_triGeoms.find(elmt)->second->GetEorient(edge);
 
  147                         "eid is out of range");
 
  149                     return m_quadGeoms.find(elmt)->second->GetEorient(edge);
 
  161                         "eid is out of range");
 
  163                     returnval = 
m_triGeoms.find(elmt)->second->GetEorient(edge);
 
  168                         "eid is out of range");
 
  170                     returnval =  
m_quadGeoms.find(elmt)->second->GetEorient(edge);
 
  203                     std::ostringstream errStream;
 
  204                     errStream << 
"Unable to access composite item [" << whichComposite << 
"].";
 
  227             void ResolveGeomRef(
const std::string &prevToken, 
const std::string &token,
 
  231             bool   m_geoFacDefined;
 
  243 #endif //NEKTAR_SPATIALDOMAINS_MESHGRAPH2D_H 
#define NEKERROR(type, msg)
Assert Level 0 – Fundamental assert which is used whether in FULLDEBUG, DEBUG or OPT compilation mod...
int GetSpaceDimension() const 
Dimension of the space (can be a 1D curve in 3D space). 
void ReadEdges(TiXmlDocument &doc)
void ReadComposites(TiXmlDocument &doc)
CompositeMap m_meshComposites
void ReadElements(TiXmlDocument &doc)
LibUtilities::BasisKey GetEdgeBasisKey(SegGeomSharedPtr edge, const std::string variable="DefaultVar")
Return the BasisKey corresponding to an edge of an element If the expansion is a triangle the Modifie...
StdRegions::Orientation GetEorientFromElmt(LibUtilities::ShapeType shape, const int edge, const int elmt) const 
boost::shared_ptr< MeshGraph2D > MeshGraph2DSharedPtr
int GetEidFromElmt(LibUtilities::ShapeType shape, const int edge, const int elmt) const 
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
std::map< int, TriGeomSharedPtr > TriGeomMap
int GetNumCompositeItems(int whichComposite)
std::vector< SharedQuadGeomPtr > QuadGeomVector
int GetVidFromElmt(LibUtilities::ShapeType shape, const int vert, const int elmt) const 
void ReadGeometry(const std::string &infilename)
Read will read the meshgraph vertices given a filename. 
boost::shared_ptr< SegGeom > SegGeomSharedPtr
const TriGeomMap & GetTrigeoms(void) const 
boost::shared_ptr< DomainRange > DomainRangeShPtr
boost::shared_ptr< GeometryVector > Composite
ElementEdgeVectorSharedPtr GetElementsFromEdge(SegGeomSharedPtr edge)
Return the elements (shared ptrs) that have this edge. 
StdRegions::Orientation GetCartesianEorientFromElmt(LibUtilities::ShapeType shape, const int edge, const int elmt) const 
boost::shared_ptr< ElementEdgeVector > ElementEdgeVectorSharedPtr
std::map< int, QuadGeomSharedPtr > QuadGeomMap
static DomainRangeShPtr NullDomainRangeShPtr
boost::shared_ptr< QuadGeom > SharedQuadGeomPtr
#define ASSERTL2(condition, msg)
Assert Level 2 – Debugging which is used FULLDEBUG compilation mode. This level assert is designed t...
Base class for a spectral/hp element mesh. 
boost::shared_ptr< Geometry1D > Geometry1DSharedPtr
int GetNumComposites(void)
void ResolveGeomRef(const std::string &prevToken, const std::string &token, Composite &composite)
const QuadGeomMap & GetQuadgeoms(void) const 
Describes the specification for a Basis. 
#define SPATIAL_DOMAINS_EXPORT
SegGeomSharedPtr GetSegGeom(int eID)