Nektar++
|
1D geometry information More...
#include <Geometry1D.h>
Public Member Functions | |
Geometry1D () | |
Geometry1D (const int coordim) | |
virtual | ~Geometry1D () |
PointGeomSharedPtr | GetVertex (const int i) const |
LibUtilities::ShapeType | DetShapeType () const |
int | GetEid () const |
Public Member Functions inherited from Nektar::SpatialDomains::Geometry | |
Geometry () | |
Geometry (int coordim) | |
virtual | ~Geometry () |
bool | IsElmtConnected (int gvo_id, int locid) const |
void | AddElmtConnected (int gvo_id, int locid) |
int | NumElmtConnected () const |
int | GetCoordim () const |
void | SetCoordim (int coordim) |
GeomFactorsSharedPtr | GetGeomFactors () |
GeomFactorsSharedPtr | GetRefGeomFactors (const Array< OneD, const LibUtilities::BasisSharedPtr > &tbasis) |
GeomFactorsSharedPtr | GetMetricInfo () |
LibUtilities::ShapeType | GetShapeType (void) |
int | GetGlobalID (void) |
void | SetGlobalID (int globalid) |
int | GetVid (int i) const |
int | GetEid (int i) const |
int | GetFid (int i) const |
int | GetTid (int i) const |
int | GetNumVerts () const |
PointGeomSharedPtr | GetVertex (int i) const |
StdRegions::Orientation | GetEorient (const int i) const |
StdRegions::Orientation | GetPorient (const int i) const |
StdRegions::Orientation | GetForient (const int i) const |
int | GetNumEdges () const |
int | GetNumFaces () const |
int | GetShapeDim () const |
StdRegions::StdExpansionSharedPtr | GetXmap () const |
const Array< OneD, const NekDouble > & | GetCoeffs (const int i) const |
bool | ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, NekDouble tol=0.0) |
bool | ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, Array< OneD, NekDouble > &locCoord, NekDouble tol) |
bool | ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, Array< OneD, NekDouble > &locCoord, NekDouble tol, NekDouble &resid) |
int | GetVertexEdgeMap (int i, int j) const |
int | GetVertexFaceMap (int i, int j) const |
return the id of the face attached to the vertex More... | |
int | GetEdgeFaceMap (int i, int j) const |
void | FillGeom () |
Put all quadrature information into face/edge structure and backward transform. More... | |
NekDouble | GetLocCoords (const Array< OneD, const NekDouble > &coords, Array< OneD, NekDouble > &Lcoords) |
NekDouble | GetCoord (const int i, const Array< OneD, const NekDouble > &Lcoord) |
Given local collapsed coordinate Lcoord return the value of physical coordinate in direction i. More... | |
void | SetOwnData () |
const LibUtilities::BasisSharedPtr | GetBasis (const int i) |
Return the j-th basis of the i-th co-ordinate dimension. More... | |
const LibUtilities::PointsKeyVector | GetPointsKeys () |
void | Reset (CurveMap &curvedEdges, CurveMap &curvedFaces) |
Protected Member Functions | |
virtual int | v_GetShapeDim () const |
virtual int | v_GetEid () const |
virtual int | v_GetVid (int i) const |
virtual PointGeomSharedPtr | v_GetVertex (const int i) const |
virtual LibUtilities::ShapeType | v_DetShapeType () const |
Protected Member Functions inherited from Nektar::SpatialDomains::Geometry | |
void | GenGeomFactors () |
virtual bool | v_IsElmtConnected (int gvo_id, int locid) const |
virtual void | v_AddElmtConnected (int gvo_id, int locid) |
virtual int | v_NumElmtConnected () const |
virtual int | v_GetEid (int i) const |
virtual int | v_GetFid (int i) const |
virtual void | v_GenGeomFactors ()=0 |
virtual int | v_GetNumVerts () const |
virtual StdRegions::Orientation | v_GetEorient (const int i) const |
virtual StdRegions::Orientation | v_GetPorient (const int i) const |
virtual StdRegions::Orientation | v_GetForient (const int i) const |
virtual int | v_GetNumEdges () const |
virtual int | v_GetNumFaces () const |
virtual StdRegions::StdExpansionSharedPtr | v_GetXmap () const |
virtual int | v_GetCoordim () const |
virtual bool | v_ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, NekDouble tol=0.0) |
virtual bool | v_ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, Array< OneD, NekDouble > &locCoord, NekDouble tol) |
virtual bool | v_ContainsPoint (const Array< OneD, const NekDouble > &gloCoord, Array< OneD, NekDouble > &locCoord, NekDouble tol, NekDouble &resid) |
virtual int | v_GetVertexEdgeMap (int i, int j) const |
virtual int | v_GetVertexFaceMap (int i, int j) const |
virtual int | v_GetEdgeFaceMap (int i, int j) const |
virtual void | v_FillGeom () |
virtual NekDouble | v_GetCoord (const int i, const Array< OneD, const NekDouble > &Lcoord) |
virtual NekDouble | v_GetLocCoords (const Array< OneD, const NekDouble > &coords, Array< OneD, NekDouble > &Lcoords) |
virtual void | v_SetOwnData () |
virtual const LibUtilities::BasisSharedPtr | v_GetBasis (const int i) |
virtual void | v_Reset (CurveMap &curvedEdges, CurveMap &curvedFaces) |
Reset this geometry object: unset the current state and remove allocated GeomFactors. More... | |
void | SetUpCoeffs (const int nCoeffs) |
Initialise the m_coeffs array. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Nektar::SpatialDomains::Geometry | |
static GeomFactorsSharedPtr | ValidateRegGeomFactor (GeomFactorsSharedPtr geomFactor) |
Protected Attributes inherited from Nektar::SpatialDomains::Geometry | |
int | m_coordim |
coordinate dimension More... | |
GeomFactorsSharedPtr | m_geomFactors |
GeomState | m_geomFactorsState |
StdRegions::StdExpansionSharedPtr | m_xmap |
GeomState | m_state |
enum identifier to determine if quad points are filled More... | |
GeomType | m_geomType |
LibUtilities::ShapeType | m_shapeType |
int | m_globalID |
Array< OneD, Array< OneD, NekDouble > > | m_coeffs |
Static Protected Attributes inherited from Nektar::SpatialDomains::Geometry | |
static GeomFactorsVector | m_regGeomFactorsManager |
1D geometry information
Definition at line 56 of file Geometry1D.h.
Nektar::SpatialDomains::Geometry1D::Geometry1D | ( | ) |
Definition at line 43 of file Geometry1D.cpp.
Nektar::SpatialDomains::Geometry1D::Geometry1D | ( | const int | coordim | ) |
Definition at line 47 of file Geometry1D.cpp.
|
virtual |
Definition at line 52 of file Geometry1D.cpp.
LibUtilities::ShapeType Nektar::SpatialDomains::Geometry1D::DetShapeType | ( | ) | const |
Definition at line 61 of file Geometry1D.cpp.
References v_DetShapeType().
int Nektar::SpatialDomains::Geometry1D::GetEid | ( | ) | const |
Definition at line 66 of file Geometry1D.cpp.
References v_GetEid().
Referenced by Nektar::SpatialDomains::SegGeom::GetEdgeOrientation(), and Nektar::SpatialDomains::PointGeom::GetPointOrientation().
PointGeomSharedPtr Nektar::SpatialDomains::Geometry1D::GetVertex | ( | const int | i | ) | const |
Definition at line 56 of file Geometry1D.cpp.
References v_GetVertex().
Referenced by Nektar::SpatialDomains::SegGeom::GetEdgeOrientation(), and Nektar::SpatialDomains::PointGeom::GetPointOrientation().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::SegGeom.
Definition at line 100 of file Geometry1D.cpp.
References ErrorUtil::efatal, Nektar::LibUtilities::eNoShapeType, and NEKERROR.
Referenced by DetShapeType().
|
protectedvirtual |
Reimplemented in Nektar::SpatialDomains::SegGeom.
Definition at line 78 of file Geometry1D.cpp.
References ErrorUtil::efatal, and NEKERROR.
Referenced by GetEid().
|
protectedvirtual |
Reimplemented from Nektar::SpatialDomains::Geometry.
Reimplemented in Nektar::SpatialDomains::SegGeom.
Definition at line 72 of file Geometry1D.cpp.
|
protectedvirtual |
Implements Nektar::SpatialDomains::Geometry.
Reimplemented in Nektar::SpatialDomains::SegGeom.
Definition at line 85 of file Geometry1D.cpp.
References ErrorUtil::efatal, and NEKERROR.
Referenced by GetVertex().
|
protectedvirtual |
Reimplemented from Nektar::SpatialDomains::Geometry.
Reimplemented in Nektar::SpatialDomains::SegGeom.
Definition at line 93 of file Geometry1D.cpp.
References ErrorUtil::efatal, and NEKERROR.