Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Enumerations | Functions | Variables
Nektar::SpatialDomains Namespace Reference

Classes

struct  BoundaryConditionBase
 
class  BoundaryConditions
 
struct  BoundaryEntry
 
class  CompToElmt
 Structure holding graphvertexobject id and local element facet id. More...
 
struct  Curve
 
struct  DirichletBoundaryCondition
 
class  Domain
 
struct  DomainRange
 
struct  ElementEdge
 
struct  ElementFace
 
struct  Expansion
 
class  Geometry
 Base class for shape geometry information. More...
 
class  Geometry0D
 1D geometry information More...
 
class  Geometry1D
 1D geometry information More...
 
class  Geometry2D
 2D geometry information More...
 
class  Geometry3D
 3D geometry information More...
 
struct  GeometryHash
 
class  GeomFactors
 Calculation and storage of geometric factors associated with the mapping from StdRegions reference elements to a given LocalRegions physical element in the mesh. More...
 
struct  GeomFactorsHash
 A hash functor for geometric factors. Utilises GeomFactors::GetHash. More...
 
class  HexGeom
 
class  InterfaceComponent
 
class  MeshGraph
 Base class for a spectral/hp element mesh. More...
 
class  MeshGraph1D
 
class  MeshGraph2D
 
class  MeshGraph3D
 
struct  NeumannBoundaryCondition
 
struct  NotDefinedBoundaryCondition
 
struct  PeriodicBoundaryCondition
 
class  PointGeom
 
class  PrismGeom
 
class  PyrGeom
 
class  QuadGeom
 
struct  RobinBoundaryCondition
 
class  SegGeom
 
class  TetGeom
 
class  TriGeom
 
class  WireframeEdgeComponent
 

Typedefs

typedef std::map< int, CompositeBoundaryRegion
 
typedef boost::shared_ptr
< BoundaryRegion
BoundaryRegionShPtr
 
typedef boost::shared_ptr
< const BoundaryRegion
ConstBoundaryRegionShPtr
 
typedef std::map< int,
BoundaryRegionShPtr
BoundaryRegionCollection
 
typedef boost::shared_ptr
< BoundaryConditionBase
BoundaryConditionShPtr
 
typedef boost::shared_ptr
< DirichletBoundaryCondition
DirichletBCShPtr
 
typedef boost::shared_ptr
< NeumannBoundaryCondition
NeumannBCShPtr
 
typedef boost::shared_ptr
< RobinBoundaryCondition
RobinBCShPtr
 
typedef std::map< std::string,
BoundaryConditionShPtr
BoundaryConditionMap
 
typedef boost::shared_ptr
< BoundaryConditionMap
BoundaryConditionMapShPtr
 
typedef std::map< int,
BoundaryConditionMapShPtr
BoundaryConditionCollection
 
typedef boost::shared_ptr
< BoundaryConditions
BoundaryConditionsSharedPtr
 
typedef boost::shared_ptr< CurveCurveSharedPtr
 
typedef boost::unordered_map
< int, CurveSharedPtr
CurveMap
 
typedef boost::shared_ptr
< BoundaryEntry
BoundarySharedPtr
 
typedef std::vector
< BoundarySharedPtr
BoundaryVector
 
typedef std::vector
< BoundarySharedPtr >
::iterator 
BoundaryVectorIter
 
typedef std::vector< CompositeCompositeVector
 
typedef std::vector< Composite >
::iterator 
CompositeVectorIter
 
typedef boost::shared_ptr
< Geometry
GeometrySharedPtr
 
typedef std::vector
< GeometrySharedPtr
GeometryVector
 
typedef boost::unordered_set
< GeometrySharedPtr
GeometrySet
 
typedef boost::shared_ptr
< GeometryVector
GeometryVectorSharedPtr
 
typedef std::vector
< GeometrySharedPtr >
::iterator 
GeometryVectorIter
 
typedef boost::shared_ptr
< PointGeom
PointGeomSharedPtr
 
typedef boost::shared_ptr
< Geometry0D
Geometry0DSharedPtr
 
typedef std::vector
< Geometry0DSharedPtr
Geometry0DVector
 
typedef std::vector
< Geometry0DSharedPtr >
::iterator 
Geometry0DVectorIter
 
typedef boost::shared_ptr
< Geometry1D
Geometry1DSharedPtr
 
typedef std::vector
< Geometry1DSharedPtr
Geometry1DVector
 
typedef std::vector
< Geometry1DSharedPtr >
::iterator 
Geometry1DVectorIter
 
typedef boost::shared_ptr
< Geometry2D
Geometry2DSharedPtr
 
typedef boost::shared_ptr
< SegGeom
SegGeomSharedPtr
 
typedef std::vector
< Geometry2DSharedPtr
Geometry2DVector
 
typedef std::vector
< Geometry2DSharedPtr >
::iterator 
Geometry2DVectorIter
 
typedef boost::shared_ptr
< Geometry3D
Geometry3DSharedPtr
 
typedef std::vector
< Geometry3DSharedPtr
Geometry3DVector
 
typedef std::vector
< Geometry3DSharedPtr >
::iterator 
Geometry3DVectorIter
 
typedef std::vector
< PointGeomSharedPtr
PointGeomVector
 
typedef std::vector
< SegGeomSharedPtr
SegGeomVector
 
typedef boost::shared_ptr
< GeomFactors
GeomFactorsSharedPtr
 Pointer to a GeomFactors object. More...
 
typedef std::vector
< GeomFactorsSharedPtr
GeomFactorsVector
 A vector of GeomFactor pointers. More...
 
typedef GeomFactorsVector::iterator GeomFactorsVectorIter
 Iterator for the GeomFactorsVector. More...
 
typedef boost::unordered_set
< GeomFactorsSharedPtr
GeomFactorsSet
 An unordered set of GeomFactor pointers. More...
 
typedef boost::unordered_set
< GeomFactorsSharedPtr >
::iterator 
GeomFactorsSetIter
 Iterator for the GeomFactorsSet. More...
 
typedef Array< OneD, Array
< OneD, Array< OneD, NekDouble > > > 
DerivStorage
 Storage type for derivative of mapping. More...
 
typedef boost::shared_ptr
< HexGeom
HexGeomSharedPtr
 
typedef std::vector
< HexGeomSharedPtr
HexGeomVector
 
typedef std::vector
< HexGeomSharedPtr >::iterator 
HexGeomVectorIter
 
typedef std::map< int,
HexGeomSharedPtr
HexGeomMap
 
typedef std::map< int,
HexGeomSharedPtr >::iterator 
HexGeomMapIter
 
typedef boost::shared_ptr
< InterfaceComponent
SharedInterfaceCompPtr
 
typedef std::map< int,
PointGeomSharedPtr
PointGeomMap
 
typedef std::list
< SharedInterfaceCompPtr
InterfaceCompList
 
typedef boost::shared_ptr
< GeometryVector
Composite
 
typedef std::map< int, CompositeCompositeMap
 
typedef std::map< int,
Composite >::iterator 
CompositeMapIter
 
typedef std::map< int,
Composite >::const_iterator 
CompositeMapConstIter
 
typedef boost::shared_ptr
< ElementEdge
ElementEdgeSharedPtr
 
typedef std::vector
< ElementEdgeSharedPtr
ElementEdgeVector
 
typedef boost::shared_ptr
< ElementEdgeVector
ElementEdgeVectorSharedPtr
 
typedef boost::shared_ptr
< ElementFace
ElementFaceSharedPtr
 
typedef std::vector
< ElementFaceSharedPtr
ElementFaceVector
 
typedef boost::shared_ptr
< ElementFaceVector
ElementFaceVectorSharedPtr
 
typedef boost::shared_ptr
< DomainRange
DomainRangeShPtr
 
typedef boost::shared_ptr
< Expansion
ExpansionShPtr
 
typedef std::map< int,
ExpansionShPtr
ExpansionMap
 
typedef std::map< int,
ExpansionShPtr >::iterator 
ExpansionMapIter
 
typedef std::map< int,
ExpansionShPtr >
::const_iterator 
ExpansionMapConstIter
 
typedef boost::shared_ptr
< ExpansionMap
ExpansionMapShPtr
 
typedef std::map< std::string,
ExpansionMapShPtr
ExpansionMapShPtrMap
 
typedef std::map< std::string,
ExpansionMapShPtr >::iterator 
ExpansionMapShPtrMapIter
 
typedef std::map< std::string,
std::string > 
GeomInfoMap
 
typedef boost::shared_ptr
< MeshGraph
MeshGraphSharedPtr
 
typedef boost::shared_ptr
< MeshGraph1D
MeshGraph1DSharedPtr
 
typedef boost::shared_ptr
< QuadGeom
SharedQuadGeomPtr
 
typedef std::vector
< SharedQuadGeomPtr
QuadGeomVector
 
typedef boost::shared_ptr
< MeshGraph2D
MeshGraph2DSharedPtr
 
typedef boost::shared_ptr
< MeshGraph3D
MeshGraph3DSharedPtr
 
typedef std::vector
< PointGeomSharedPtr >
::iterator 
PointGeomVectorIter
 
typedef std::set
< PointGeomSharedPtr
PointGeomSet
 
typedef boost::shared_ptr
< PrismGeom
PrismGeomSharedPtr
 
typedef std::vector
< PrismGeomSharedPtr
PrismGeomVector
 
typedef std::vector
< PrismGeomSharedPtr >
::iterator 
PrismGeomVectorIter
 
typedef std::map< int,
PrismGeomSharedPtr
PrismGeomMap
 
typedef std::map< int,
PrismGeomSharedPtr >::iterator 
PrismGeomMapIter
 
typedef boost::shared_ptr
< PyrGeom
PyrGeomSharedPtr
 
typedef std::vector
< PyrGeomSharedPtr
PyrGeomVector
 
typedef std::vector
< PyrGeomSharedPtr >::iterator 
PyrGeomVectorIter
 
typedef std::map< int,
PyrGeomSharedPtr
PyrGeomMap
 
typedef std::map< int,
PyrGeomSharedPtr >::iterator 
PyrGeomMapIter
 
typedef boost::shared_ptr
< QuadGeom
QuadGeomSharedPtr
 
typedef std::vector
< QuadGeomSharedPtr >
::iterator 
QuadGeomVectorIter
 
typedef std::map< int,
QuadGeomSharedPtr
QuadGeomMap
 
typedef std::map< int,
QuadGeomSharedPtr >::iterator 
QuadGeomMapIter
 
typedef std::vector
< SegGeomSharedPtr >::iterator 
SegGeomVectorIter
 
typedef std::map< int,
SegGeomSharedPtr
SegGeomMap
 
typedef boost::shared_ptr
< TetGeom
TetGeomSharedPtr
 
typedef std::vector
< TetGeomSharedPtr
TetGeomVector
 
typedef std::vector
< TetGeomSharedPtr >::iterator 
TetGeomVectorIter
 
typedef std::map< int,
TetGeomSharedPtr
TetGeomMap
 
typedef std::map< int,
TetGeomSharedPtr >::iterator 
TetGeomMapIter
 
typedef boost::shared_ptr
< TriGeom
TriGeomSharedPtr
 
typedef std::vector
< TriGeomSharedPtr
TriGeomVector
 
typedef std::vector
< TriGeomSharedPtr >::iterator 
TriGeomVectorIter
 
typedef std::map< int,
TriGeomSharedPtr
TriGeomMap
 
typedef std::map< int,
TriGeomSharedPtr >::iterator 
TriGeomMapIter
 

Enumerations

enum  BoundaryConditionType {
  eDirichlet, eNeumann, eRobin, ePeriodic,
  eNotDefined
}
 
enum  BoundaryType {
  eUnknown =0, eDirichlet, eNeumann, eRobin,
  eCauchy, eDummy, eBoundaryTypeLastElement = eDummy-1
}
 
enum  ExpansionType {
  eNoExpansionType, eModified, eModifiedQuadPlus1, eModifiedQuadPlus2,
  eModifiedGLLRadau10, eOrthogonal, eGLL_Lagrange, eGLL_Lagrange_SEM,
  eGauss_Lagrange, eGauss_Lagrange_SEM, eFourier, eFourierSingleMode,
  eFourierHalfModeRe, eFourierHalfModeIm, eChebyshev, eFourierChebyshev,
  eChebyshevFourier, eFourierModified, eExpansionTypeSize
}
 
enum  GeomType { eNoGeomType, eRegular, eDeformed, eMovingRegular }
 Indicates the type of element geometry. More...
 
enum  GeomState { eNotFilled, ePtsFilled }
 Indicates if the geometric information for an element has been populated. More...
 

Functions

bool SortByGlobalId (const boost::shared_ptr< Geometry > &lhs, const boost::shared_ptr< Geometry > &rhs)
 Less than operator to sort Geometry objects by global id when sorting STL containers. More...
 
bool GlobalIdEquality (const boost::shared_ptr< Geometry > &lhs, const boost::shared_ptr< Geometry > &rhs)
 
bool operator== (const GeomFactors &lhs, const GeomFactors &rhs)
 Equivalence test for GeomFactors objects. More...
 
bool operator== (const PointGeom &x, const PointGeom &y)
 Determine equivalence by the ids. No matter what the position, if the ids are the same, then they are equivalent, and vice versa. More...
 
bool operator== (const PointGeom &x, const PointGeom *y)
 
bool operator== (const PointGeom *x, const PointGeom &y)
 
bool operator!= (const PointGeom &x, const PointGeom &y)
 
bool operator!= (const PointGeom &x, const PointGeom *y)
 
bool operator!= (const PointGeom *x, const PointGeom &y)
 
bool operator== (const CompToElmt &x, const CompToElmt &y)
 
bool operator!= (const CompToElmt &x, const CompToElmt &y)
 

Variables

static boost::shared_ptr
< GeomFactors
NullGeomFactorsSharedPtr
 
static boost::shared_ptr
< Geometry
NullGeometrySharedPtr
 
static boost::shared_ptr
< Geometry1D
NullGeometry1DSharedPtr
 
static boost::shared_ptr
< Geometry2D
NullGeometry2DSharedPtr
 
static boost::shared_ptr
< Geometry3D
NullGeometry3DSharedPtr
 
static const Array< OneD,
BoundaryConditionShPtr
NullBoundaryConditionShPtrArray
 
const char BoundaryTypeNameMap []
 
const std::string kExpansionTypeStr []
 
static DomainRangeShPtr NullDomainRangeShPtr
 

Typedef Documentation

Definition at line 215 of file Conditions.h.

Definition at line 213 of file Conditions.h.

Definition at line 214 of file Conditions.h.

Definition at line 208 of file Conditions.h.

Definition at line 271 of file Conditions.h.

Definition at line 203 of file Conditions.h.

Definition at line 206 of file Conditions.h.

Definition at line 204 of file Conditions.h.

Definition at line 76 of file Domain.h.

Definition at line 77 of file Domain.h.

Definition at line 78 of file Domain.h.

typedef boost::shared_ptr< GeometryVector > Nektar::SpatialDomains::Composite

Definition at line 114 of file MeshGraph.h.

Definition at line 115 of file MeshGraph.h.

typedef std::map<int, Composite>::const_iterator Nektar::SpatialDomains::CompositeMapConstIter

Definition at line 117 of file MeshGraph.h.

Definition at line 116 of file MeshGraph.h.

Definition at line 79 of file Domain.h.

Definition at line 80 of file Domain.h.

Definition at line 205 of file Conditions.h.

typedef boost::unordered_map< int, CurveSharedPtr > Nektar::SpatialDomains::CurveMap

Definition at line 63 of file Curve.hpp.

typedef boost::shared_ptr< Curve > Nektar::SpatialDomains::CurveSharedPtr

Definition at line 62 of file Curve.hpp.

Storage type for derivative of mapping.

Definition at line 75 of file GeomFactors.h.

Definition at line 209 of file Conditions.h.

Definition at line 157 of file MeshGraph.h.

Definition at line 132 of file MeshGraph.h.

Definition at line 133 of file MeshGraph.h.

Definition at line 134 of file MeshGraph.h.

Definition at line 136 of file MeshGraph.h.

Definition at line 137 of file MeshGraph.h.

Definition at line 138 of file MeshGraph.h.

Definition at line 174 of file MeshGraph.h.

typedef std::map<int, ExpansionShPtr>::const_iterator Nektar::SpatialDomains::ExpansionMapConstIter

Definition at line 176 of file MeshGraph.h.

Definition at line 175 of file MeshGraph.h.

Definition at line 178 of file MeshGraph.h.

Definition at line 179 of file MeshGraph.h.

Definition at line 180 of file MeshGraph.h.

Definition at line 173 of file MeshGraph.h.

Definition at line 46 of file Geometry0D.h.

Definition at line 50 of file Geometry0D.h.

Definition at line 51 of file Geometry0D.h.

Definition at line 48 of file Geometry1D.h.

Definition at line 52 of file Geometry1D.h.

Definition at line 53 of file Geometry1D.h.

Definition at line 59 of file Geometry2D.h.

Definition at line 61 of file Geometry2D.h.

Definition at line 62 of file Geometry2D.h.

Definition at line 52 of file Geometry3D.h.

Definition at line 55 of file Geometry3D.h.

Definition at line 57 of file Geometry3D.h.

typedef boost::unordered_set< GeometrySharedPtr > Nektar::SpatialDomains::GeometrySet

Definition at line 56 of file Geometry.h.

Definition at line 53 of file Geometry.h.

Definition at line 55 of file Geometry.h.

Definition at line 58 of file Geometry.h.

Definition at line 57 of file Geometry.h.

An unordered set of GeomFactor pointers.

Definition at line 69 of file GeomFactors.h.

Iterator for the GeomFactorsSet.

Definition at line 72 of file GeomFactors.h.

Pointer to a GeomFactors object.

Definition at line 62 of file GeomFactors.h.

A vector of GeomFactor pointers.

Definition at line 64 of file GeomFactors.h.

typedef GeomFactorsVector::iterator Nektar::SpatialDomains::GeomFactorsVectorIter

Iterator for the GeomFactorsVector.

Definition at line 66 of file GeomFactors.h.

typedef std::map<std::string, std::string> Nektar::SpatialDomains::GeomInfoMap

Definition at line 183 of file MeshGraph.h.

Definition at line 113 of file HexGeom.h.

Definition at line 114 of file HexGeom.h.

typedef boost::shared_ptr< HexGeom > Nektar::SpatialDomains::HexGeomSharedPtr

Definition at line 110 of file HexGeom.h.

Definition at line 111 of file HexGeom.h.

Definition at line 112 of file HexGeom.h.

Definition at line 112 of file MeshGraph.h.

Definition at line 86 of file MeshGraph1D.h.

Definition at line 238 of file MeshGraph2D.h.

Definition at line 224 of file MeshGraph3D.h.

Definition at line 442 of file MeshGraph.h.

Definition at line 210 of file Conditions.h.

Definition at line 111 of file MeshGraph.h.

Definition at line 58 of file PointGeom.h.

Definition at line 60 of file Geometry.h.

Definition at line 61 of file Geometry3D.h.

Definition at line 56 of file PointGeom.h.

Definition at line 112 of file PrismGeom.h.

Definition at line 113 of file PrismGeom.h.

Definition at line 109 of file PrismGeom.h.

Definition at line 110 of file PrismGeom.h.

Definition at line 111 of file PrismGeom.h.

Definition at line 87 of file PyrGeom.h.

Definition at line 88 of file PyrGeom.h.

Definition at line 84 of file PyrGeom.h.

Definition at line 85 of file PyrGeom.h.

Definition at line 86 of file PyrGeom.h.

Definition at line 57 of file QuadGeom.h.

Definition at line 58 of file QuadGeom.h.

Definition at line 54 of file QuadGeom.h.

Definition at line 52 of file MeshGraph2D.h.

Definition at line 56 of file QuadGeom.h.

Definition at line 211 of file Conditions.h.

Definition at line 54 of file SegGeom.h.

typedef boost::shared_ptr< SegGeom > Nektar::SpatialDomains::SegGeomSharedPtr

Definition at line 60 of file Geometry2D.h.

Definition at line 65 of file Geometry3D.h.

Definition at line 53 of file SegGeom.h.

Definition at line 108 of file MeshGraph.h.

Definition at line 51 of file MeshGraph2D.h.

Definition at line 109 of file TetGeom.h.

Definition at line 110 of file TetGeom.h.

Definition at line 106 of file TetGeom.h.

Definition at line 107 of file TetGeom.h.

Definition at line 108 of file TetGeom.h.

Definition at line 62 of file TriGeom.h.

Definition at line 63 of file TriGeom.h.

Definition at line 58 of file TriGeom.h.

Definition at line 60 of file TriGeom.h.

Definition at line 61 of file TriGeom.h.

Enumeration Type Documentation

Enumerator
eDirichlet 
eNeumann 
eRobin 
ePeriodic 
eNotDefined 

Definition at line 53 of file Conditions.h.

Enumerator
eUnknown 
eDirichlet 
eNeumann 
eRobin 
eCauchy 
eDummy 
eBoundaryTypeLastElement 

Definition at line 47 of file Domain.h.

Enumerator
eNoExpansionType 
eModified 
eModifiedQuadPlus1 
eModifiedQuadPlus2 
eModifiedGLLRadau10 
eOrthogonal 
eGLL_Lagrange 
eGLL_Lagrange_SEM 
eGauss_Lagrange 
eGauss_Lagrange_SEM 
eFourier 
eFourierSingleMode 
eFourierHalfModeRe 
eFourierHalfModeIm 
eChebyshev 
eFourierChebyshev 
eChebyshevFourier 
eFourierModified 
eExpansionTypeSize 

Definition at line 61 of file MeshGraph.h.

62  {
64  eModified,
73  eFourier,
77  eChebyshev,
82  };

Indicates if the geometric information for an element has been populated.

Enumerator
eNotFilled 

Geometric information has not been generated.

ePtsFilled 

Geometric information has been generated.

Definition at line 65 of file SpatialDomains.hpp.

66  {
67  eNotFilled, ///< Geometric information has not been generated.
68  ePtsFilled ///< Geometric information has been generated.
69  };
Geometric information has not been generated.
Geometric information has been generated.

Indicates the type of element geometry.

This property of the element geometry is used to indicate the necessary storage for the element's geometric information and its corresponding computational complexity. In many cases significant savings in both cases can be made based on this information, in comparison to the most generic case.

Enumerator
eNoGeomType 

No type defined.

eRegular 

Geometry is straight-sided with constant geometric factors.

eDeformed 

Geometry is curved or has non-constant factors.

eMovingRegular 

Currently unused.

Definition at line 52 of file SpatialDomains.hpp.

53  {
54  eNoGeomType, ///< No type defined.
55  eRegular, ///< Geometry is straight-sided with constant
56  /// geometric factors.
57  eDeformed, ///< Geometry is curved or has non-constant factors.
58  eMovingRegular, ///< Currently unused.
59  };
Geometry is straight-sided with constant geometric factors.
Geometry is curved or has non-constant factors.

Function Documentation

bool Nektar::SpatialDomains::GlobalIdEquality ( const boost::shared_ptr< Geometry > &  lhs,
const boost::shared_ptr< Geometry > &  rhs 
)

Definition at line 108 of file Geometry.cpp.

110  {
111  return lhs->GetGlobalID() == rhs->GetGlobalID();
112  }
StandardMatrixTag & lhs
bool Nektar::SpatialDomains::operator!= ( const PointGeom &  x,
const PointGeom &  y 
)

Definition at line 214 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

215  {
216  return (x.m_vid != y.m_vid);
217  }
bool Nektar::SpatialDomains::operator!= ( const PointGeom &  x,
const PointGeom *  y 
)

Definition at line 219 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

220  {
221  return (x.m_vid != y->m_vid);
222  }
bool Nektar::SpatialDomains::operator!= ( const PointGeom *  x,
const PointGeom &  y 
)

Definition at line 224 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

225  {
226  return (x->m_vid != y.m_vid);
227  }
bool Nektar::SpatialDomains::operator!= ( const CompToElmt &  x,
const CompToElmt &  y 
)

Definition at line 234 of file PointGeom.cpp.

References Nektar::SpatialDomains::CompToElmt::m_id.

235  {
236  return (x.m_id != y.m_id);
237  }
bool Nektar::SpatialDomains::operator== ( const GeomFactors &  lhs,
const GeomFactors &  rhs 
)

Equivalence test for GeomFactors objects.

Tests if two GeomFactors classes are equal.

Member data equivalence is tested in the following order: shape type, expansion dimension, coordinate dimension and coordinates.

Definition at line 132 of file GeomFactors.cpp.

References Nektar::SpatialDomains::GeomFactors::ComputeJac(), Nektar::SpatialDomains::GeomFactors::m_coordDim, Nektar::SpatialDomains::GeomFactors::m_expDim, Nektar::SpatialDomains::GeomFactors::m_type, and Nektar::SpatialDomains::GeomFactors::m_xmap.

133  {
134  if(!(lhs.m_type == rhs.m_type))
135  {
136  return false;
137  }
138 
139  if(!(lhs.m_expDim == rhs.m_expDim))
140  {
141  return false;
142  }
143 
144  if(!(lhs.m_coordDim == rhs.m_coordDim))
145  {
146  return false;
147  }
148 
149  const Array<OneD, const NekDouble> jac_lhs =
150  lhs.ComputeJac(lhs.m_xmap->GetPointsKeys());
151  const Array<OneD, const NekDouble> jac_rhs =
152  rhs.ComputeJac(rhs.m_xmap->GetPointsKeys());
153  if(!(jac_lhs == jac_rhs))
154  {
155  return false;
156  }
157 
158  return true;
159  }
StandardMatrixTag & lhs
bool Nektar::SpatialDomains::operator== ( const PointGeom &  x,
const PointGeom &  y 
)

Determine equivalence by the ids. No matter what the position, if the ids are the same, then they are equivalent, and vice versa.

Definition at line 199 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

200  {
201  return (x.m_vid == y.m_vid);
202  }
bool Nektar::SpatialDomains::operator== ( const PointGeom &  x,
const PointGeom *  y 
)

Definition at line 204 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

205  {
206  return (x.m_vid == y->m_vid);
207  }
bool Nektar::SpatialDomains::operator== ( const PointGeom *  x,
const PointGeom &  y 
)

Definition at line 209 of file PointGeom.cpp.

References Nektar::SpatialDomains::PointGeom::m_vid.

210  {
211  return (x->m_vid == y.m_vid);
212  }
bool Nektar::SpatialDomains::operator== ( const CompToElmt &  x,
const CompToElmt &  y 
)

Definition at line 229 of file PointGeom.cpp.

References Nektar::SpatialDomains::CompToElmt::m_id, and Nektar::SpatialDomains::CompToElmt::m_locId.

230  {
231  return (x.m_id == y.m_id) || (x.m_locId == y.m_locId);
232  }
bool Nektar::SpatialDomains::SortByGlobalId ( const boost::shared_ptr< Geometry > &  lhs,
const boost::shared_ptr< Geometry > &  rhs 
)

Less than operator to sort Geometry objects by global id when sorting STL containers.

Definition at line 102 of file Geometry.cpp.

104  {
105  return lhs->GetGlobalID() < rhs->GetGlobalID();
106  }
StandardMatrixTag & lhs

Variable Documentation

const char Nektar::SpatialDomains::BoundaryTypeNameMap[]
Initial value:
=
{
'U',
'D',
'N',
'R',
'C'
}

Definition at line 61 of file Domain.h.

Referenced by Nektar::SpatialDomains::Domain::Read().

const std::string Nektar::SpatialDomains::kExpansionTypeStr[]
Initial value:
=
{
"NOTYPE",
"MODIFIED",
"MODIFIEDQUADPLUS1",
"MODIFIEDQUADPLUS2",
"MODIFIEDGLLRADAU10",
"ORTHOGONAL",
"GLL_LAGRANGE",
"GLL_LAGRANGE_SEM",
"GAUSS_LAGRANGE",
"GAUSS_LAGRANGE_SEM",
"FOURIER",
"FOURIERSINGLEMODE",
"FOURIERHALFMODERE",
"FOURIERHALFMODEIM",
"CHEBYSHEV",
"FOURIER-CHEBYSHEV",
"CHEBYSHEV-FOURIER",
"FOURIER-MODIFIED"
}

Definition at line 86 of file MeshGraph.h.

Referenced by Nektar::SpatialDomains::MeshGraph::ReadExpansions().

const Array<OneD, BoundaryConditionShPtr> Nektar::SpatialDomains::NullBoundaryConditionShPtrArray
static

Definition at line 217 of file Conditions.h.

DomainRangeShPtr Nektar::SpatialDomains::NullDomainRangeShPtr
static
boost::shared_ptr<Geometry1D> Nektar::SpatialDomains::NullGeometry1DSharedPtr
static

Definition at line 57 of file SpatialDomainsDeclarations.hpp.

boost::shared_ptr<Geometry2D> Nektar::SpatialDomains::NullGeometry2DSharedPtr
static

Definition at line 58 of file SpatialDomainsDeclarations.hpp.

boost::shared_ptr<Geometry3D> Nektar::SpatialDomains::NullGeometry3DSharedPtr
static

Definition at line 59 of file SpatialDomainsDeclarations.hpp.

boost::shared_ptr<Geometry> Nektar::SpatialDomains::NullGeometrySharedPtr
static

Definition at line 56 of file SpatialDomainsDeclarations.hpp.

boost::shared_ptr<GeomFactors> Nektar::SpatialDomains::NullGeomFactorsSharedPtr
static