35#ifndef NEKTAR_SPATIALDOMAINS_TRIGEOM_H
36#define NEKTAR_SPATIALDOMAINS_TRIGEOM_H
64 std::array<SegGeom *, kNedges> edges,
65 Curve *curve =
nullptr);
74 std::array<PointGeom *, kNedges> face1,
75 std::array<PointGeom *, kNedges> face2,
bool doRot,
int dir,
86 const int facedir)
const override;
#define SPATIAL_DOMAINS_EXPORT
static const int kNfacets
static StdRegions::Orientation GetFaceOrientation(std::array< PointGeom *, kNedges > face1, std::array< PointGeom *, kNedges > face2, bool doRot, int dir, NekDouble angle, NekDouble tol)
StdRegions::Orientation v_GetEorient(const int i) const final
Returns the orientation of edge i with respect to the ordering of edges in the standard element.
std::array< PointGeom *, kNverts > m_verts
int v_GetDir(const int faceidx, const int facedir) const override
Returns the element coordinate direction corresponding to a given face coordinate direction.
static StdRegions::Orientation GetFaceOrientation(const TriGeom &face1, const TriGeom &face2, bool doRot, int dir, NekDouble angle, NekDouble tol)
Get the orientation of face1.
int v_AllLeftCheck(const Array< OneD, const NekDouble > &gloCoord) override
void v_FillGeom() override
std::array< SegGeom *, kNedges > m_edges
~TriGeom() override=default
PointGeom * v_GetVertex(const int i) const final
Returns vertex i of this object.
NekDouble v_GetCoord(const int i, const Array< OneD, const NekDouble > &Lcoord) override
Given local collapsed coordinate Lcoord, return the value of physical coordinate in direction i.
Geometry1D * v_GetEdge(const int i) const final
Returns edge i of this object.
void v_Reset(CurveMap &curvedEdges, CurveMap &curvedFaces) override
Reset this geometry object: unset the current state, zero Geometry::m_coeffs and remove allocated Geo...
int v_GetNumEdges() const final
Get the number of edges of this object.
int v_GetNumVerts() const final
Get the number of vertices of this object.
GeomFactorsUniquePtr v_GenGeomFactors(LibUtilities::PointsKeyVector &keyTgt) override
Used by Expansion to generate associated GeomFactors.
GeomType v_CalcGeomType() override
std::array< StdRegions::Orientation, kNedges > m_eorient
std::vector< PointsKey > PointsKeyVector
unique_ptr_objpool< GeomFactors > GeomFactorsUniquePtr
std::map< int, CurveUniquePtr > CurveMap
GeomType
Indicates the type of element geometry.