61 return geomFactors->IsValid();
66 py::classh<Geometry>(m,
"Geometry")
79 py::return_value_policy::reference)
bool Geometry_ContainsPoint(Geometry *geom, const Array< OneD, const NekDouble > &gloCoord)
void Geometry_GenGeomFactors(Geometry *geom)
void export_Geometry(py::module &m)
bool Geometry_IsValid(Geometry *geom)
Base class for shape geometry information.
LibUtilities::ShapeType GetShapeType(void)
Get the geometric shape type of this object.
void SetGlobalID(int globalid)
Set the ID of this object.
int GetNumFaces() const
Get the number of faces of this object.
int GetShapeDim() const
Get the object's shape dimension.
int GetVid(int i) const
Returns global id of vertex i of this object.
const Array< OneD, const NekDouble > & GetCoeffs(const int i) const
Return the coefficients of the transformation Geometry::m_xmap in coordinate direction i.
int GetGlobalID(void) const
Get the ID of this object.
PointGeom * GetVertex(int i) const
Returns vertex i of this object.
int GetCoordim() const
Return the coordinate dimension of this object (i.e. the dimension of the space in which this object ...
int GetFid(int i) const
Get the ID of face i of this object.
void FillGeom()
Populate the coordinate mapping Geometry::m_coeffs information from any children geometry elements.
StdRegions::StdExpansionSharedPtr GetXmap() const
Return the mapping object Geometry::m_xmap that represents the coordinate transformation from standar...
int GetNumEdges() const
Get the number of edges of this object.
int GetNumVerts() const
Get the number of vertices of this object.
bool ContainsPoint(const Array< OneD, const NekDouble > &gloCoord, NekDouble tol=0.0)
Determine whether an element contains a particular Cartesian coordinate .
Geometry1D * GetEdge(int i) const
Returns edge i of this object.
Geometry2D * GetFace(int i) const
Returns face i of this object.
GeomFactorsSharedPtr GetGeomFactors()
Get the geometric factors for this object, generating them if required.
StdRegions::Orientation GetEorient(const int i) const
Returns the orientation of edge i with respect to the ordering of edges in the standard element.
int GetTid(int i) const
Get the ID of trace i of this object.
int GetEid(int i) const
Get the ID of edge i of this object.
StdRegions::Orientation GetForient(const int i) const
Returns the orientation of face i with respect to the ordering of faces in the standard element.
std::shared_ptr< GeomFactors > GeomFactorsSharedPtr
Pointer to a GeomFactors object.