Nektar++
|
Abstract base class for the refinement surface region. More...
#include <RefRegion.h>
Public Member Functions | |
RefRegion (const unsigned int coordim, NekDouble m_radius, std::vector< NekDouble > coord1, std::vector< NekDouble > coord2, std::vector< unsigned int > numModes, std::vector< unsigned int > numPoints) | |
Constructor. More... | |
virtual | ~RefRegion () |
Destructor. More... | |
virtual bool | v_Contains (const Array< OneD, NekDouble > &coords)=0 |
Pure virtual fuction. More... | |
std::vector< unsigned int > | GetNumModes () |
Get the number of modes to update expansion. More... | |
std::vector< unsigned int > | GetNumPoints () |
Get the number of quadrature points to update expansion. More... | |
Protected Attributes | |
unsigned int | m_coordim |
Dimension of the coordinate (space dimension) More... | |
NekDouble | m_radius |
Radius of the surface region. More... | |
std::vector< NekDouble > | m_coord1 |
Coordinate 1. More... | |
std::vector< NekDouble > | m_coord2 |
Coordinate 2. More... | |
std::vector< unsigned int > | m_numModes |
Number of modes. More... | |
std::vector< unsigned int > | m_numPoints |
Number of quadrature points. More... | |
Abstract base class for the refinement surface region.
Definition at line 50 of file RefRegion.h.
Nektar::SpatialDomains::RefRegion::RefRegion | ( | const unsigned int | coordim, |
NekDouble | m_radius, | ||
std::vector< NekDouble > | coord1, | ||
std::vector< NekDouble > | coord2, | ||
std::vector< unsigned int > | numModes, | ||
std::vector< unsigned int > | numPoints | ||
) |
Constructor.
Definition at line 45 of file RefRegion.cpp.
|
virtual |
|
inline |
Get the number of modes to update expansion.
Definition at line 68 of file RefRegion.h.
References m_numModes.
Referenced by Nektar::SpatialDomains::MeshGraph::PRefinementElmts().
|
inline |
Get the number of quadrature points to update expansion.
Definition at line 74 of file RefRegion.h.
References m_numPoints.
Referenced by Nektar::SpatialDomains::MeshGraph::PRefinementElmts().
|
pure virtual |
Pure virtual fuction.
Implemented in Nektar::SpatialDomains::RefRegionCylinder, Nektar::SpatialDomains::RefRegionLine, Nektar::SpatialDomains::RefRegionParallelogram, and Nektar::SpatialDomains::RefRegionSphere.
Referenced by Nektar::SpatialDomains::MeshGraph::PRefinementElmts().
|
protected |
Coordinate 1.
Definition at line 85 of file RefRegion.h.
Referenced by Nektar::SpatialDomains::RefRegionCylinder::v_Contains(), Nektar::SpatialDomains::RefRegionLine::v_Contains(), Nektar::SpatialDomains::RefRegionParallelogram::v_Contains(), and Nektar::SpatialDomains::RefRegionSphere::v_Contains().
|
protected |
Coordinate 2.
Definition at line 87 of file RefRegion.h.
Referenced by Nektar::SpatialDomains::RefRegionCylinder::v_Contains(), Nektar::SpatialDomains::RefRegionLine::v_Contains(), and Nektar::SpatialDomains::RefRegionParallelogram::v_Contains().
|
protected |
Dimension of the coordinate (space dimension)
Definition at line 81 of file RefRegion.h.
|
protected |
|
protected |
Number of quadrature points.
Definition at line 91 of file RefRegion.h.
Referenced by GetNumPoints().
|
protected |
Radius of the surface region.
Definition at line 83 of file RefRegion.h.
Referenced by Nektar::SpatialDomains::RefRegionCylinder::v_Contains(), Nektar::SpatialDomains::RefRegionLine::v_Contains(), Nektar::SpatialDomains::RefRegionParallelogram::v_Contains(), and Nektar::SpatialDomains::RefRegionSphere::v_Contains().