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

#include <UniformCartesian.h>

Inheritance diagram for UniformCartesian< Dim, MFLOAT >:
Inheritance graph
[legend]
Collaboration diagram for UniformCartesian< 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

 UniformCartesian ()
 
 ~UniformCartesian ()
 
 UniformCartesian (const NDIndex< Dim > &ndi)
 
 UniformCartesian (const Index &I)
 
 UniformCartesian (const Index &I, const Index &J)
 
 UniformCartesian (const Index &I, const Index &J, const Index &K)
 
 UniformCartesian (const NDIndex< Dim > &ndi, MFLOAT *const delX)
 
 UniformCartesian (const Index &I, MFLOAT *const delX)
 
 UniformCartesian (const Index &I, const Index &J, MFLOAT *const delX)
 
 UniformCartesian (const Index &I, const Index &J, const Index &K, MFLOAT *const delX)
 
 UniformCartesian (const NDIndex< Dim > &ndi, MFLOAT *const delX, const Vektor< MFLOAT, Dim > &orig)
 
 UniformCartesian (const Index &I, MFLOAT *const delX, const Vektor< MFLOAT, Dim > &orig)
 
 UniformCartesian (const Index &I, const Index &J, MFLOAT *const delX, const Vektor< MFLOAT, Dim > &orig)
 
 UniformCartesian (const Index &I, const Index &J, const Index &K, MFLOAT *const delX, const Vektor< MFLOAT, Dim > &orig)
 
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 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
 
MFLOAT get_meshSpacing (unsigned d) const
 
MFLOAT get_volume () const
 
void set_origin (const Vektor< MFLOAT, Dim > &o)
 
void set_meshSpacing (MFLOAT *const del)
 
void print (std::ostream &)
 
void print (Inform &)
 
MFLOAT getCellVolume (const NDIndex< Dim > &) const
 
Field< MFLOAT, Dim, UniformCartesian< Dim, MFLOAT >, Cell > & getCellVolumeField (Field< MFLOAT, Dim, UniformCartesian< 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, UniformCartesian< Dim, MFLOAT >, Vert > & getVertexPositionField (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Vert > &) const
 
Vektor< MFLOAT, DimgetCellPosition (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > & getCellPositionField (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > &) const
 
Vektor< MFLOAT, DimgetDeltaVertex (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > & getDeltaVertexField (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > &) const
 
Vektor< MFLOAT, DimgetDeltaCell (const NDIndex< Dim > &) const
 
Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Vert > & getDeltaCellField (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Vert > &) const
 
Vektor< MFLOAT, Dim > * getSurfaceNormals (const NDIndex< Dim > &) const
 
void getSurfaceNormalFields (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > **) const
 
Vektor< MFLOAT, DimgetSurfaceNormal (const NDIndex< Dim > &, unsigned) const
 
Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > & getSurfaceNormalField (Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< 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 setup ()
 
void set_Dvc ()
 

Private Attributes

MFLOAT meshSpacing [Dim]
 
MFLOAT volume
 
Vektor< MFLOAT, Dimorigin
 
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 UniformCartesian< Dim, MFLOAT >

Definition at line 33 of file UniformCartesian.h.

Member Typedef Documentation

◆ DefaultCentering

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

Definition at line 37 of file UniformCartesian.h.

◆ MeshValue_t

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

Definition at line 38 of file UniformCartesian.h.

◆ MeshVektor_t

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

Definition at line 39 of file UniformCartesian.h.

Constructor & Destructor Documentation

◆ UniformCartesian() [1/13]

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

◆ ~UniformCartesian()

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

◆ UniformCartesian() [2/13]

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

Definition at line 40 of file UniformCartesian.hpp.

References Dim.

◆ UniformCartesian() [3/13]

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

Definition at line 83 of file UniformCartesian.hpp.

◆ UniformCartesian() [4/13]

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

Definition at line 122 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ UniformCartesian() [5/13]

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

Definition at line 166 of file UniformCartesian.hpp.

◆ UniformCartesian() [6/13]

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

Definition at line 54 of file UniformCartesian.hpp.

◆ UniformCartesian() [7/13]

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

Definition at line 97 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ UniformCartesian() [8/13]

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

Definition at line 139 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ UniformCartesian() [9/13]

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

Definition at line 186 of file UniformCartesian.hpp.

◆ UniformCartesian() [10/13]

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

Definition at line 66 of file UniformCartesian.hpp.

◆ UniformCartesian() [11/13]

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

Definition at line 109 of file UniformCartesian.hpp.

◆ UniformCartesian() [12/13]

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

Definition at line 152 of file UniformCartesian.hpp.

◆ UniformCartesian() [13/13]

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

Definition at line 202 of file UniformCartesian.hpp.

Member Function Documentation

◆ get_meshSpacing()

template<unsigned Dim, class MFLOAT >
MFLOAT UniformCartesian< Dim, MFLOAT >::get_meshSpacing ( unsigned  d) const

◆ get_origin()

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

Definition at line 419 of file UniformCartesian.hpp.

◆ get_volume()

template<unsigned Dim, class MFLOAT >
MFLOAT UniformCartesian< Dim, MFLOAT >::get_volume

Definition at line 470 of file UniformCartesian.hpp.

◆ getCellContaining()

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

Definition at line 197 of file UniformCartesian.h.

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

Here is the call graph for this function:

◆ getCellPosition()

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

Definition at line 1064 of file UniformCartesian.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, UniformCartesian< Dim, MFLOAT >, Cell > & UniformCartesian< Dim, MFLOAT >::getCellPositionField ( Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Cell > &  cellPositions) const

Definition at line 1082 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ getCellRangeVolume()

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

Definition at line 961 of file UniformCartesian.hpp.

References abs(), and Dim.

Here is the call graph for this function:

◆ getCellVolume()

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

Definition at line 914 of file UniformCartesian.hpp.

References Dim, endl(), and ERRORMSG.

Here is the call graph for this function:

◆ getCellVolumeField()

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

Definition at line 927 of file UniformCartesian.hpp.

◆ getDeltaCell()

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

Definition at line 1131 of file UniformCartesian.hpp.

References Dim.

◆ getDeltaCellField()

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

Definition at line 1144 of file UniformCartesian.hpp.

References Dim.

◆ getDeltaVertex()

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

Definition at line 1104 of file UniformCartesian.hpp.

References Dim.

◆ getDeltaVertexField()

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

Definition at line 1117 of file UniformCartesian.hpp.

References Dim.

◆ getNearestVertex()

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

Definition at line 986 of file UniformCartesian.hpp.

References Dim.

◆ getSurfaceNormal()

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

Definition at line 1201 of file UniformCartesian.hpp.

References Dim.

◆ getSurfaceNormalField()

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

Definition at line 1232 of file UniformCartesian.hpp.

References Dim.

◆ getSurfaceNormalFields()

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

Definition at line 1175 of file UniformCartesian.hpp.

References assign(), and Dim.

Here is the call graph for this function:

◆ getSurfaceNormals()

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

Definition at line 1157 of file UniformCartesian.hpp.

References Dim.

◆ getVertexBelow()

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

Definition at line 1005 of file UniformCartesian.hpp.

References Dim.

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

◆ getVertexPosition()

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

Definition at line 1024 of file UniformCartesian.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, UniformCartesian< Dim, MFLOAT >, Vert > & UniformCartesian< Dim, MFLOAT >::getVertexPositionField ( Field< Vektor< MFLOAT, Dim >, Dim, UniformCartesian< Dim, MFLOAT >, Vert > &  vertexPositions) const

Definition at line 1042 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ getVertRangeVolume()

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

Definition at line 937 of file UniformCartesian.hpp.

References abs(), and Dim.

Here is the call graph for this function:

◆ initialize() [1/12]

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

Definition at line 266 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [2/12]

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

Definition at line 308 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [3/12]

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

Definition at line 355 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [4/12]

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

Definition at line 376 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [5/12]

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

Definition at line 393 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [6/12]

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

Definition at line 326 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [7/12]

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

Definition at line 340 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [8/12]

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

Definition at line 281 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [9/12]

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

Definition at line 294 of file UniformCartesian.hpp.

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

Here is the call graph for this function:

◆ initialize() [10/12]

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

Definition at line 220 of file UniformCartesian.hpp.

◆ initialize() [11/12]

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

Definition at line 235 of file UniformCartesian.hpp.

◆ initialize() [12/12]

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

Definition at line 248 of file UniformCartesian.hpp.

References Dim.

◆ print() [1/2]

template<unsigned Dim, class MFLOAT >
void UniformCartesian< Dim, MFLOAT >::print ( Inform out)

Definition at line 891 of file UniformCartesian.hpp.

References Dim.

◆ print() [2/2]

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

Definition at line 882 of file UniformCartesian.hpp.

References Options::info.

Referenced by operator<<().

◆ set_Dvc()

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

Definition at line 443 of file UniformCartesian.hpp.

References Dim.

◆ set_meshSpacing()

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

Definition at line 427 of file UniformCartesian.hpp.

References Dim.

Referenced by PartBunch::resizeMesh(), PartBunch::runTests(), and PartBunch::updateFields().

◆ set_origin()

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

◆ setup()

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

Definition at line 25 of file UniformCartesian.hpp.

◆ storeSpacingFields() [1/9]

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

Definition at line 501 of file UniformCartesian.hpp.

References Dim, and PARALLEL.

◆ storeSpacingFields() [2/9]

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

◆ storeSpacingFields() [3/9]

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

◆ storeSpacingFields() [4/9]

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

Definition at line 530 of file UniformCartesian.hpp.

◆ storeSpacingFields() [5/9]

template<unsigned Dim, class MFLOAT >
void UniformCartesian< 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 715 of file UniformCartesian.hpp.

References Dim.

◆ storeSpacingFields() [6/9]

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

Definition at line 520 of file UniformCartesian.hpp.

◆ storeSpacingFields() [7/9]

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

Definition at line 701 of file UniformCartesian.hpp.

References Dim.

◆ storeSpacingFields() [8/9]

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

Definition at line 511 of file UniformCartesian.hpp.

◆ storeSpacingFields() [9/9]

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

Definition at line 688 of file UniformCartesian.hpp.

References Dim.

Member Data Documentation

◆ CellSpacings

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

◆ Dvc

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

Definition at line 119 of file UniformCartesian.h.

◆ FlCell

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

◆ FlVert

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

◆ gridSizes

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

Definition at line 118 of file UniformCartesian.h.

◆ hasSpacingFields

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

◆ meshSpacing

template<unsigned Dim, class MFLOAT = double>
MFLOAT UniformCartesian< Dim, MFLOAT >::meshSpacing[Dim]
private

Definition at line 103 of file UniformCartesian.h.

◆ origin

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

Definition at line 105 of file UniformCartesian.h.

◆ VertSpacings

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

◆ volume

template<unsigned Dim, class MFLOAT = double>
MFLOAT UniformCartesian< Dim, MFLOAT >::volume
private

Definition at line 104 of file UniformCartesian.h.


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