MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
PointBasedCell< nDim > Class Template Reference

This class defines a grid cell which is a internal data structure for cartesian cells needed for an efficient meshing procedure. More...

#include <cartesianpointbasedcell.h>

Public Member Functions

 PointBasedCell ()
 
 ~PointBasedCell ()
 
void allocateElements (void *memPointer, void *, MInt)
 

Static Public Member Functions

static void init (MInt NotUsed(dimensions), MInt, MInt, MInt)
 
static MInt staticElementSize ()
 

Public Attributes

MInt m_cellId
 This member stores the id of the cartesian cell in the collector of all cartesian cells the grid cell points to. More...
 
MIntm_pointIds
 This member stores the ids of the grid points the grid cell conists of. More...
 

Detailed Description

template<MInt nDim>
class PointBasedCell< nDim >

The grid cells consists of grid points and the grid cells point to the corresponding cartesian cell they are representing.

Definition at line 21 of file cartesianpointbasedcell.h.

Constructor & Destructor Documentation

◆ PointBasedCell()

template<MInt nDim>
PointBasedCell< nDim >::PointBasedCell ( )
inline

Definition at line 27 of file cartesianpointbasedcell.h.

27{};

◆ ~PointBasedCell()

template<MInt nDim>
PointBasedCell< nDim >::~PointBasedCell

Definition at line 10 of file cartesianpointbasedcell.cpp.

10 {
11 // TRACE();
12
13 m_pointIds = 0;
14}
MInt * m_pointIds
This member stores the ids of the grid points the grid cell conists of.

Member Function Documentation

◆ allocateElements()

template<MInt nDim>
void PointBasedCell< nDim >::allocateElements ( void *  memPointer,
void *  ,
MInt   
)
inline

Definition at line 41 of file cartesianpointbasedcell.h.

41 {
42 // TRACE();
43
44 m_pointIds = (MInt*)memPointer;
45 };
int32_t MInt
Definition: maiatypes.h:62

◆ init()

template<MInt nDim>
static void PointBasedCell< nDim >::init ( MInt   NotUseddimensions,
MInt  ,
MInt  ,
MInt   
)
inlinestatic

Definition at line 23 of file cartesianpointbasedcell.h.

23 {
24 // TRACE();
25 };

◆ staticElementSize()

template<MInt nDim>
static MInt PointBasedCell< nDim >::staticElementSize ( )
inlinestatic

Definition at line 40 of file cartesianpointbasedcell.h.

40{ return (sizeof(MInt) * (nDim - 1) * 4); }

Member Data Documentation

◆ m_cellId

template<MInt nDim>
MInt PointBasedCell< nDim >::m_cellId

Definition at line 34 of file cartesianpointbasedcell.h.

◆ m_pointIds

template<MInt nDim>
MInt* PointBasedCell< nDim >::m_pointIds

Definition at line 39 of file cartesianpointbasedcell.h.


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