OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Cartesian< Dim, MFLOAT > Class Template Reference

#include <Cartesian.h>

Inheritance diagram for Cartesian< Dim, MFLOAT >:
Inheritance graph
[legend]
Collaboration diagram for Cartesian< Dim, MFLOAT >:
Collaboration graph
[legend]

Public Types

typedef Cell DefaultCentering
 
typedef MFLOAT MeshValue_t
 
typedef Vektor< MFLOAT, DimMeshVektor_t
 
- Public Types inherited from Mesh< Dim >
enum  { Dimension = Dim }
 
typedef UserList::ID_t ID_t
 
typedef iterator_user iterator_if
 
typedef size_type_user size_type_if
 

Public Member Functions

 Cartesian ()
 
 ~Cartesian ()
 
 Cartesian (const NDIndex< Dim > &ndi)
 
 Cartesian (const Index &I)
 
 Cartesian (const Index &I, const Index &J)
 
 Cartesian (const Index &I, const Index &J, const Index &K)
 
 Cartesian (const NDIndex< Dim > &ndi, MFLOAT **const delX)
 
 Cartesian (const Index &I, MFLOAT **const delX)
 
 Cartesian (const Index &I, const Index &J, MFLOAT **const delX)
 
 Cartesian (const Index &I, const Index &J, const Index &K, MFLOAT **const delX)
 
 Cartesian (const NDIndex< Dim > &ndi, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
 Cartesian (const Index &I, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
 Cartesian (const Index &I, const Index &J, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
 Cartesian (const Index &I, const Index &J, const Index &K, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
 Cartesian (const NDIndex< Dim > &ndi, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
 Cartesian (const Index &I, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
 Cartesian (const Index &I, const Index &J, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
 Cartesian (const Index &I, const Index &J, const Index &K, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
void initialize (const NDIndex< Dim > &ndi)
 
void initialize (const Index &I)
 
void initialize (const Index &I, const Index &J)
 
void initialize (const Index &I, const Index &J, const Index &K)
 
void initialize (const NDIndex< Dim > &ndi, MFLOAT **const delX)
 
void initialize (const Index &I, MFLOAT **const delX)
 
void initialize (const Index &I, const Index &J, MFLOAT **const delX)
 
void initialize (const Index &I, const Index &J, const Index &K, MFLOAT **const delX)
 
void initialize (const NDIndex< Dim > &ndi, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
void initialize (const Index &I, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
void initialize (const Index &I, const Index &J, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
void initialize (const Index &I, const Index &J, const Index &K, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig)
 
void initialize (const NDIndex< Dim > &ndi, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
void initialize (const Index &I, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
void initialize (const Index &I, const Index &J, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
void initialize (const Index &I, const Index &J, const Index &K, MFLOAT **const delX, const Vektor< MFLOAT, Dim > &orig, MeshBC_E *const mbc)
 
void storeSpacingFields ()
 
void storeSpacingFields (e_dim_tag p1, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag p1, e_dim_tag p2, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag p1, e_dim_tag p2, e_dim_tag p3, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag *p, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag p1, unsigned vnodes1, bool recurse=false, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag p1, e_dim_tag p2, unsigned vnodes1, unsigned vnodes2, bool recurse=false, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag p1, e_dim_tag p2, e_dim_tag p3, unsigned vnodes1, unsigned vnodes2, unsigned vnodes3, bool recurse=false, int vnodes=-1)
 
void storeSpacingFields (e_dim_tag *p, unsigned *vnodesPerDirection, bool recurse=false, int vnodes=-1)
 
Vektor< MFLOAT, Dimget_origin () const
 
void get_meshSpacing (unsigned d, MFLOAT *spacings) const
 
MeshBC_E get_MeshBC (unsigned face) const
 
MeshBC_Eget_MeshBC () const
 
void set_origin (const Vektor< MFLOAT, Dim > &o)
 
void set_meshSpacing (MFLOAT **const del)
 
void set_MeshBC (unsigned face, MeshBC_E meshBCType)
 
void set_MeshBC (MeshBC_E *meshBCTypes)
 
void print (std::ostream &)
 
MFLOAT getCellVolume (const NDIndex< Dim > &) const
 
Field< MFLOAT, Dim, Cartesian< Dim, MFLOAT >, Cell > & getCellVolumeField (Field< MFLOAT, Dim, Cartesian< Dim, MFLOAT >, Cell > &) const
 
MFLOAT getVertRangeVolume (const NDIndex< Dim > &) const
 
MFLOAT getCellRangeVolume (const NDIndex< Dim > &) const
 
NDIndex< DimgetNearestVertex (const Vektor< MFLOAT, Dim > &) const
 
NDIndex< DimgetVertexBelow (const Vektor< MFLOAT, Dim > &) const
 
NDIndex< DimgetCellContaining (const Vektor< MFLOAT, Dim > &x) const
 
Vektor< MFLOAT, DimgetVertexPosition (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > & getVertexPositionField (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > &) const
 
Vektor< MFLOAT, DimgetCellPosition (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & getCellPositionField (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &) const
 
Vektor< MFLOAT, DimgetDeltaVertex (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & getDeltaVertexField (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &) const
 
Vektor< MFLOAT, DimgetDeltaCell (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > & getDeltaCellField (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > &) const
 
Vektor< MFLOAT, Dim > * getSurfaceNormals (const NDIndex< Dim > &) const
 
void getSurfaceNormalFields (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > **) const
 
Vektor< MFLOAT, DimgetSurfaceNormal (const NDIndex< Dim > &, unsigned) const
 
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & getSurfaceNormalField (Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &, unsigned) const
 
- Public Member Functions inherited from Mesh< Dim >
 Mesh ()
 
virtual ~Mesh ()
 
ID_t get_Id () const
 
void checkin (FieldLayoutUser &f)
 
void checkout (FieldLayoutUser &f)
 
size_type_if size_if () const
 
iterator_if begin_if ()
 
iterator_if end_if ()
 
void notifyOfChange ()
 

Public Attributes

unsigned gridSizes [Dim]
 
Vektor< MFLOAT, DimDvc [1<< Dim]
 
bool hasSpacingFields
 
BareField< Vektor< MFLOAT, Dim >, Dim > * VertSpacings
 
BareField< Vektor< MFLOAT, Dim >, Dim > * CellSpacings
 

Private Member Functions

void updateMeshSpacingGuards (int face)
 
void setup ()
 
void set_Dvc ()
 

Private Attributes

std::map< int, MFLOAT > meshSpacing [Dim]
 
std::map< int, MFLOAT > meshPosition [Dim]
 
Vektor< MFLOAT, Dimorigin
 
MeshBC_E MeshBC [2 *Dim]
 
FieldLayout< Dim > * FlCell
 
FieldLayout< Dim > * FlVert
 

Additional Inherited Members

- Static Public Attributes inherited from Mesh< Dim >
static std::string MeshBC_E_Names [3] = {"Reflective","Periodic ","No BC "}
 

Detailed Description

template<unsigned Dim, class MFLOAT = double>
class Cartesian< Dim, MFLOAT >

Definition at line 33 of file Cartesian.h.

Member Typedef Documentation

◆ DefaultCentering

template<unsigned Dim, class MFLOAT = double>
typedef Cell Cartesian< Dim, MFLOAT >::DefaultCentering

Definition at line 37 of file Cartesian.h.

◆ MeshValue_t

template<unsigned Dim, class MFLOAT = double>
typedef MFLOAT Cartesian< Dim, MFLOAT >::MeshValue_t

Definition at line 38 of file Cartesian.h.

◆ MeshVektor_t

template<unsigned Dim, class MFLOAT = double>
typedef Vektor<MFLOAT,Dim> Cartesian< Dim, MFLOAT >::MeshVektor_t

Definition at line 39 of file Cartesian.h.

Constructor & Destructor Documentation

◆ Cartesian() [1/17]

template<unsigned Dim, class MFLOAT = double>
Cartesian< Dim, MFLOAT >::Cartesian ( )
inline

Definition at line 42 of file Cartesian.h.

References Cartesian< Dim, MFLOAT >::hasSpacingFields.

◆ ~Cartesian()

template<unsigned Dim, class MFLOAT = double>
Cartesian< Dim, MFLOAT >::~Cartesian ( )
inline

◆ Cartesian() [2/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const NDIndex< Dim > &  ndi)

Definition at line 55 of file Cartesian.hpp.

References Dim, and Reflective.

◆ Cartesian() [3/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I)

Definition at line 131 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ Cartesian() [4/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J 
)

Definition at line 201 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ Cartesian() [5/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
const Index K 
)

Definition at line 282 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ Cartesian() [6/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX 
)

Definition at line 77 of file Cartesian.hpp.

References Dim, and Reflective.

◆ Cartesian() [7/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
MFLOAT **const  delX 
)

Definition at line 153 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [8/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
MFLOAT **const  delX 
)

Definition at line 230 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [9/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX 
)

Definition at line 320 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [10/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 94 of file Cartesian.hpp.

References Dim, and Reflective.

◆ Cartesian() [11/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 169 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [12/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 248 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [13/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 341 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ Cartesian() [14/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 112 of file Cartesian.hpp.

References Dim.

◆ Cartesian() [15/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 186 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

◆ Cartesian() [16/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 266 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

◆ Cartesian() [17/17]

template<unsigned Dim, class MFLOAT >
Cartesian< Dim, MFLOAT >::Cartesian ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 360 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

Member Function Documentation

◆ get_MeshBC() [1/2]

template<unsigned Dim, class MFLOAT >
MeshBC_E * Cartesian< Dim, MFLOAT >::get_MeshBC

Definition at line 2168 of file Cartesian.hpp.

References Dim.

◆ get_MeshBC() [2/2]

template<unsigned Dim, class MFLOAT >
MeshBC_E Cartesian< Dim, MFLOAT >::get_MeshBC ( unsigned  face) const

Definition at line 2158 of file Cartesian.hpp.

◆ get_meshSpacing()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::get_meshSpacing ( unsigned  d,
MFLOAT *  spacings 
) const

Definition at line 786 of file Cartesian.hpp.

References Dim, Expressions::find(), and PAssert_LT.

Here is the call graph for this function:

◆ get_origin()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::get_origin

Definition at line 739 of file Cartesian.hpp.

◆ getCellContaining()

template<unsigned Dim, class MFLOAT = double>
NDIndex< Dim > Cartesian< Dim, MFLOAT >::getCellContaining ( const Vektor< MFLOAT, Dim > &  x) const
inline

Definition at line 224 of file Cartesian.h.

References Cartesian< Dim, MFLOAT >::getVertexBelow().

Here is the call graph for this function:

◆ getCellPosition()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::getCellPosition ( const NDIndex< Dim > &  ndi) const

Definition at line 1777 of file Cartesian.hpp.

References Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getCellPositionField()

template<unsigned Dim, class MFLOAT >
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & Cartesian< Dim, MFLOAT >::getCellPositionField ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &  cellPositions) const

Definition at line 1801 of file Cartesian.hpp.

References BareField< T, Dim >::begin(), and Dim.

Here is the call graph for this function:

◆ getCellRangeVolume()

template<unsigned Dim, class MFLOAT >
MFLOAT Cartesian< Dim, MFLOAT >::getCellRangeVolume ( const NDIndex< Dim > &  ndi) const

Definition at line 1572 of file Cartesian.hpp.

References abs(), Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getCellVolume()

template<unsigned Dim, class MFLOAT >
MFLOAT Cartesian< Dim, MFLOAT >::getCellVolume ( const NDIndex< Dim > &  ndi) const

Definition at line 1502 of file Cartesian.hpp.

References Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getCellVolumeField()

template<unsigned Dim, class MFLOAT >
Field< MFLOAT, Dim, Cartesian< Dim, MFLOAT >, Cell > & Cartesian< Dim, MFLOAT >::getCellVolumeField ( Field< MFLOAT, Dim, Cartesian< Dim, MFLOAT >, Cell > &  volumes) const

Definition at line 1519 of file Cartesian.hpp.

References BareField< T, Dim >::begin(), Dim, and Expressions::find().

Here is the call graph for this function:

◆ getDeltaCell()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::getDeltaCell ( const NDIndex< Dim > &  ndi) const

Definition at line 1881 of file Cartesian.hpp.

References a, Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getDeltaCellField()

template<unsigned Dim, class MFLOAT >
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > & Cartesian< Dim, MFLOAT >::getDeltaCellField ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > &  cellSpacings) const

Definition at line 1916 of file Cartesian.hpp.

References BareField< T, Dim >::begin(), Dim, and Expressions::find().

Here is the call graph for this function:

◆ getDeltaVertex()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::getDeltaVertex ( const NDIndex< Dim > &  ndi) const

Definition at line 1826 of file Cartesian.hpp.

References a, Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getDeltaVertexField()

template<unsigned Dim, class MFLOAT >
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & Cartesian< Dim, MFLOAT >::getDeltaVertexField ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &  vertexSpacings) const

Definition at line 1860 of file Cartesian.hpp.

References BareField< T, Dim >::begin(), Dim, and Expressions::find().

Here is the call graph for this function:

◆ getNearestVertex()

template<unsigned Dim, class MFLOAT >
NDIndex< Dim > Cartesian< Dim, MFLOAT >::getNearestVertex ( const Vektor< MFLOAT, Dim > &  x) const

Definition at line 1603 of file Cartesian.hpp.

References Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getSurfaceNormal()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::getSurfaceNormal ( const NDIndex< Dim > &  ,
unsigned  face 
) const

Definition at line 1981 of file Cartesian.hpp.

References Dim.

◆ getSurfaceNormalField()

template<unsigned Dim, class MFLOAT >
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > & Cartesian< Dim, MFLOAT >::getSurfaceNormalField ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > &  surfaceNormalField,
unsigned  face 
) const

Definition at line 2012 of file Cartesian.hpp.

References Dim.

◆ getSurfaceNormalFields()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::getSurfaceNormalFields ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Cell > **  surfaceNormalsFields) const

Definition at line 1955 of file Cartesian.hpp.

References assign(), and Dim.

Here is the call graph for this function:

◆ getSurfaceNormals()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > * Cartesian< Dim, MFLOAT >::getSurfaceNormals ( const NDIndex< Dim > &  ) const

Definition at line 1937 of file Cartesian.hpp.

References Dim.

◆ getVertexBelow()

template<unsigned Dim, class MFLOAT >
NDIndex< Dim > Cartesian< Dim, MFLOAT >::getVertexBelow ( const Vektor< MFLOAT, Dim > &  x) const

Definition at line 1670 of file Cartesian.hpp.

References Dim, endl(), and ERRORMSG.

Referenced by Cartesian< Dim, MFLOAT >::getCellContaining().

Here is the call graph for this function:

◆ getVertexPosition()

template<unsigned Dim, class MFLOAT >
Vektor< MFLOAT, Dim > Cartesian< Dim, MFLOAT >::getVertexPosition ( const NDIndex< Dim > &  ndi) const

Definition at line 1731 of file Cartesian.hpp.

References Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getVertexPositionField()

template<unsigned Dim, class MFLOAT >
Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > & Cartesian< Dim, MFLOAT >::getVertexPositionField ( Field< Vektor< MFLOAT, Dim >, Dim, Cartesian< Dim, MFLOAT >, Vert > &  vertexPositions) const

Definition at line 1754 of file Cartesian.hpp.

References BareField< T, Dim >::begin(), and Dim.

Here is the call graph for this function:

◆ getVertRangeVolume()

template<unsigned Dim, class MFLOAT >
MFLOAT Cartesian< Dim, MFLOAT >::getVertRangeVolume ( const NDIndex< Dim > &  ndi) const

Definition at line 1541 of file Cartesian.hpp.

References abs(), Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ initialize() [1/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I)

Definition at line 461 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ initialize() [2/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J 
)

Definition at line 535 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ initialize() [3/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
const Index K 
)

Definition at line 620 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, Reflective, and Index::stride().

Here is the call graph for this function:

◆ initialize() [4/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX 
)

Definition at line 659 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [5/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 681 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [6/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
const Index K,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 701 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

◆ initialize() [7/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
MFLOAT **const  delX 
)

Definition at line 565 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [8/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 584 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [9/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
const Index J,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 603 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

◆ initialize() [10/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
MFLOAT **const  delX 
)

Definition at line 484 of file Cartesian.hpp.

References Dim, Index::first(), Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [11/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 501 of file Cartesian.hpp.

References Dim, Index::length(), PInsist, and Reflective.

Here is the call graph for this function:

◆ initialize() [12/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const Index I,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 519 of file Cartesian.hpp.

References Dim, Index::length(), and PInsist.

Here is the call graph for this function:

◆ initialize() [13/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const NDIndex< Dim > &  ndi)

Definition at line 381 of file Cartesian.hpp.

References Dim, and Reflective.

◆ initialize() [14/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX 
)

Definition at line 404 of file Cartesian.hpp.

References Dim, and Reflective.

◆ initialize() [15/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig 
)

Definition at line 422 of file Cartesian.hpp.

References Dim, and Reflective.

◆ initialize() [16/16]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::initialize ( const NDIndex< Dim > &  ndi,
MFLOAT **const  delX,
const Vektor< MFLOAT, Dim > &  orig,
MeshBC_E *const  mbc 
)

Definition at line 441 of file Cartesian.hpp.

References Dim.

◆ print()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::print ( std::ostream &  out)

Definition at line 1470 of file Cartesian.hpp.

References begin(), Dim, and endl().

Referenced by operator<<().

Here is the call graph for this function:

◆ set_Dvc()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::set_Dvc
private

Definition at line 768 of file Cartesian.hpp.

References Dim.

◆ set_MeshBC() [1/2]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::set_MeshBC ( MeshBC_E meshBCTypes)

Definition at line 2061 of file Cartesian.hpp.

References Dim.

◆ set_MeshBC() [2/2]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::set_MeshBC ( unsigned  face,
MeshBC_E  meshBCType 
)

Definition at line 2050 of file Cartesian.hpp.

◆ set_meshSpacing()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::set_meshSpacing ( MFLOAT **const  del)

Definition at line 747 of file Cartesian.hpp.

References Dim.

◆ set_origin()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::set_origin ( const Vektor< MFLOAT, Dim > &  o)

Definition at line 722 of file Cartesian.hpp.

References Dim.

◆ setup()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::setup ( void  )
private

Definition at line 45 of file Cartesian.hpp.

◆ storeSpacingFields() [1/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields

Definition at line 839 of file Cartesian.hpp.

References Dim, and PARALLEL.

◆ storeSpacingFields() [2/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag p,
int  vnodes = -1 
)

◆ storeSpacingFields() [3/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag p,
unsigned *  vnodesPerDirection,
bool  recurse = false,
int  vnodes = -1 
)

◆ storeSpacingFields() [4/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
e_dim_tag  p2,
e_dim_tag  p3,
int  vnodes = -1 
)

Definition at line 868 of file Cartesian.hpp.

◆ storeSpacingFields() [5/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
e_dim_tag  p2,
e_dim_tag  p3,
unsigned  vnodes1,
unsigned  vnodes2,
unsigned  vnodes3,
bool  recurse = false,
int  vnodes = -1 
)

Definition at line 1178 of file Cartesian.hpp.

References Dim.

◆ storeSpacingFields() [6/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
e_dim_tag  p2,
int  vnodes = -1 
)

Definition at line 858 of file Cartesian.hpp.

◆ storeSpacingFields() [7/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
e_dim_tag  p2,
unsigned  vnodes1,
unsigned  vnodes2,
bool  recurse = false,
int  vnodes = -1 
)

Definition at line 1164 of file Cartesian.hpp.

References Dim.

◆ storeSpacingFields() [8/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
int  vnodes = -1 
)

Definition at line 849 of file Cartesian.hpp.

◆ storeSpacingFields() [9/9]

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::storeSpacingFields ( e_dim_tag  p1,
unsigned  vnodes1,
bool  recurse = false,
int  vnodes = -1 
)

Definition at line 1151 of file Cartesian.hpp.

References Dim.

◆ updateMeshSpacingGuards()

template<unsigned Dim, class MFLOAT >
void Cartesian< Dim, MFLOAT >::updateMeshSpacingGuards ( int  face)
private

Definition at line 2074 of file Cartesian.hpp.

References endl(), ERRORMSG, NoBC, Periodic, and Reflective.

Here is the call graph for this function:

Member Data Documentation

◆ CellSpacings

template<unsigned Dim, class MFLOAT = double>
BareField<Vektor<MFLOAT,Dim>,Dim>* Cartesian< Dim, MFLOAT >::CellSpacings

Definition at line 145 of file Cartesian.h.

Referenced by Cartesian< Dim, MFLOAT >::~Cartesian().

◆ Dvc

template<unsigned Dim, class MFLOAT = double>
Vektor<MFLOAT,Dim> Cartesian< Dim, MFLOAT >::Dvc[1<< Dim]

Definition at line 142 of file Cartesian.h.

◆ FlCell

template<unsigned Dim, class MFLOAT = double>
FieldLayout<Dim>* Cartesian< Dim, MFLOAT >::FlCell
private

Definition at line 127 of file Cartesian.h.

Referenced by Cartesian< Dim, MFLOAT >::~Cartesian().

◆ FlVert

template<unsigned Dim, class MFLOAT = double>
FieldLayout<Dim>* Cartesian< Dim, MFLOAT >::FlVert
private

Definition at line 128 of file Cartesian.h.

Referenced by Cartesian< Dim, MFLOAT >::~Cartesian().

◆ gridSizes

template<unsigned Dim, class MFLOAT = double>
unsigned Cartesian< Dim, MFLOAT >::gridSizes[Dim]

Definition at line 141 of file Cartesian.h.

◆ hasSpacingFields

template<unsigned Dim, class MFLOAT = double>
bool Cartesian< Dim, MFLOAT >::hasSpacingFields

◆ MeshBC

template<unsigned Dim, class MFLOAT = double>
MeshBC_E Cartesian< Dim, MFLOAT >::MeshBC[2 *Dim]
private

Definition at line 126 of file Cartesian.h.

◆ meshPosition

template<unsigned Dim, class MFLOAT = double>
std::map<int,MFLOAT> Cartesian< Dim, MFLOAT >::meshPosition[Dim]
private

Definition at line 124 of file Cartesian.h.

◆ meshSpacing

template<unsigned Dim, class MFLOAT = double>
std::map<int,MFLOAT> Cartesian< Dim, MFLOAT >::meshSpacing[Dim]
private

Definition at line 122 of file Cartesian.h.

◆ origin

template<unsigned Dim, class MFLOAT = double>
Vektor<MFLOAT,Dim> Cartesian< Dim, MFLOAT >::origin
private

Definition at line 125 of file Cartesian.h.

◆ VertSpacings

template<unsigned Dim, class MFLOAT = double>
BareField<Vektor<MFLOAT,Dim>,Dim>* Cartesian< Dim, MFLOAT >::VertSpacings

Definition at line 144 of file Cartesian.h.

Referenced by Cartesian< Dim, MFLOAT >::~Cartesian().


The documentation for this class was generated from the following files: