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

#include <geometryintersection.h>

Collaboration diagram for CutCell< nDim >:
[legend]

Public Attributes

MInt cellId = -1
 
MFloat volume = F0
 
std::array< MFloat, nDim > volumetricCentroid = make_array<MFloat, nDim>(0.0)
 
MInt noCutPoints = 0
 
std::array< std::array< MFloat, nDim >, maxNoCutPointscutPoints
 
std::array< MInt, maxNoCutPointscutBodyIds = make_array<MInt, maxNoCutPoints>(-1)
 
std::array< MInt, maxNoCutPointscutEdges = make_array<MInt, maxNoCutPoints>(-1)
 
std::array< std::array< MBool, no3dFaces >, maxNoSetsfaceCentroidIsInsideGeometry
 
std::array< std::array< MBool, noCorners >, maxNoSetscornerIsInsideGeometry
 
std::array< MInt, maxNoSetsassociatedBodyIds = make_array<MInt, maxNoSets>(-1)
 
std::array< MInt, noFacesnoFacesPerCartesianDir = make_array<MInt, noFaces>(0)
 
std::array< MBool, noFacesexternalFaces = make_array<MBool, noFaces>(false)
 
MBool isGapCell = false
 
MInt splitParentId = -1
 
MInt noSplitChilds = 0
 
std::array< MInt, maxSplitCellssplitChildIds = make_array<MInt, maxSplitCells>(-1)
 
MInt noCartesianSurfaces = 0
 
std::array< std::array< MFloat, nDim >, maxNoCartesianSurfacescartFaceCentroid
 
std::array< MFloat, maxNoCartesianSurfacescartFaceArea = make_array<MFloat, maxNoCartesianSurfaces>(0.0)
 
std::array< MInt, maxNoCartesianSurfacescartFaceDir = make_array<MInt, maxNoCartesianSurfaces>(-1)
 
MInt noBoundarySurfaces = 0
 
std::array< std::array< MFloat, nDim >, maxNoBoundarySurfacesboundarySurfaceCentroid
 
std::array< std::array< MFloat, nDim >, maxNoBoundarySurfacesboundarySurfaceNormal
 
std::array< MFloat, maxNoBoundarySurfacesboundarySurfaceArea = make_array<MFloat, maxNoBoundarySurfaces>(0.0)
 
std::array< MInt, maxNoBoundarySurfacesboundarySurfaceBodyId = make_array<MInt, maxNoBoundarySurfaces>(-1)
 
std::array< MInt, maxNoBoundarySurfacesboundarySurfaceBndryCndId = make_array<MInt, maxNoBoundarySurfaces>(-1)
 
MInt noTotalFaces = 0
 
std::array< MInt, maxNoTotalSurfacesallFacesBodyId = make_array<MInt, maxNoTotalSurfaces>(-1)
 
std::array< MInt, maxNoTotalSurfacesallFacesNoPoints
 
std::array< std::array< MInt, maxNoFaceVertices >, maxNoTotalSurfacesallFacesPointIds
 
MInt noAdditionalVertices = 0
 
std::array< std::array< MFloat, nDim >, maxNoAdditionalVerticesadditionalVertices
 

Static Public Attributes

static constexpr MInt maxNoSets = 12
 
static constexpr MInt noFaces = 2 * nDim
 
static constexpr MInt noEdges = 2 * nDim * (nDim - 1)
 
static constexpr MInt noCorners = IPOW2(nDim)
 
static constexpr MInt maxNoCutPoints = 4 * noEdges
 
static constexpr MInt maxNoCartesianSurfaces = 2 * noFaces
 
static constexpr MInt maxNoBoundarySurfaces = maxNoSets
 
static constexpr MInt maxNoTotalSurfaces = maxNoBoundarySurfaces + maxNoBoundarySurfaces
 
static constexpr MInt maxNoFaceVertices = 4 * IPOW2(nDim - 1) + 4
 
static constexpr MInt maxNoAdditionalVertices = 4 * noFaces
 
static constexpr MInt maxSplitCells = noFaces
 
static constexpr MInt no3dFaces = (nDim == 3) ? noFaces : 1
 

Detailed Description

template<MInt nDim>
class CutCell< nDim >

Definition at line 964 of file geometryintersection.h.

Member Data Documentation

◆ additionalVertices

template<MInt nDim>
std::array<std::array<MFloat, nDim>, maxNoAdditionalVertices> CutCell< nDim >::additionalVertices
Initial value:
= [] {
std::array<std::array<MFloat, nDim>, maxNoAdditionalVertices> a;
std::array<MFloat, nDim> b = make_array<MFloat, nDim>(0.0);
a.fill(b);
return a;
}()
static constexpr MInt maxNoAdditionalVertices
Definition: contexttypes.h:19

Definition at line 1059 of file geometryintersection.h.

◆ allFacesBodyId

template<MInt nDim>
std::array<MInt, maxNoTotalSurfaces> CutCell< nDim >::allFacesBodyId = make_array<MInt, maxNoTotalSurfaces>(-1)

Definition at line 1047 of file geometryintersection.h.

◆ allFacesNoPoints

template<MInt nDim>
std::array<MInt, maxNoTotalSurfaces> CutCell< nDim >::allFacesNoPoints
Initial value:
=
make_array<MInt, maxNoTotalSurfaces>(0)

Definition at line 1048 of file geometryintersection.h.

◆ allFacesPointIds

template<MInt nDim>
std::array<std::array<MInt, maxNoFaceVertices>, maxNoTotalSurfaces> CutCell< nDim >::allFacesPointIds
Initial value:
= [] {
std::array<std::array<MInt, maxNoFaceVertices>, maxNoTotalSurfaces> a;
std::array<MInt, maxNoFaceVertices> b = make_array<MInt, maxNoFaceVertices>(-1);
a.fill(b);
return a;
}()
static constexpr MInt maxNoTotalSurfaces

Definition at line 1050 of file geometryintersection.h.

◆ associatedBodyIds

template<MInt nDim>
std::array<MInt, maxNoSets> CutCell< nDim >::associatedBodyIds = make_array<MInt, maxNoSets>(-1)

Definition at line 1009 of file geometryintersection.h.

◆ boundarySurfaceArea

template<MInt nDim>
std::array<MFloat, maxNoBoundarySurfaces> CutCell< nDim >::boundarySurfaceArea = make_array<MFloat, maxNoBoundarySurfaces>(0.0)

Definition at line 1042 of file geometryintersection.h.

◆ boundarySurfaceBndryCndId

template<MInt nDim>
std::array<MInt, maxNoBoundarySurfaces> CutCell< nDim >::boundarySurfaceBndryCndId = make_array<MInt, maxNoBoundarySurfaces>(-1)

Definition at line 1044 of file geometryintersection.h.

◆ boundarySurfaceBodyId

template<MInt nDim>
std::array<MInt, maxNoBoundarySurfaces> CutCell< nDim >::boundarySurfaceBodyId = make_array<MInt, maxNoBoundarySurfaces>(-1)

Definition at line 1043 of file geometryintersection.h.

◆ boundarySurfaceCentroid

template<MInt nDim>
std::array<std::array<MFloat, nDim>, maxNoBoundarySurfaces> CutCell< nDim >::boundarySurfaceCentroid
Initial value:
= [] {
std::array<std::array<MFloat, nDim>, maxNoBoundarySurfaces> a;
std::array<MFloat, nDim> b = make_array<MFloat, nDim>(0.0);
a.fill(b);
return a;
}()
static constexpr MInt maxNoBoundarySurfaces

Definition at line 1030 of file geometryintersection.h.

◆ boundarySurfaceNormal

template<MInt nDim>
std::array<std::array<MFloat, nDim>, maxNoBoundarySurfaces> CutCell< nDim >::boundarySurfaceNormal
Initial value:
= [] {
std::array<std::array<MFloat, nDim>, maxNoBoundarySurfaces> a;
std::array<MFloat, nDim> b = make_array<MFloat, nDim>(0.0);
a.fill(b);
return a;
}()

Definition at line 1036 of file geometryintersection.h.

◆ cartFaceArea

template<MInt nDim>
std::array<MFloat, maxNoCartesianSurfaces> CutCell< nDim >::cartFaceArea = make_array<MFloat, maxNoCartesianSurfaces>(0.0)

Definition at line 1026 of file geometryintersection.h.

◆ cartFaceCentroid

template<MInt nDim>
std::array<std::array<MFloat, nDim>, maxNoCartesianSurfaces> CutCell< nDim >::cartFaceCentroid
Initial value:
= [] {
std::array<std::array<MFloat, nDim>, maxNoCartesianSurfaces> a;
std::array<MFloat, nDim> b = make_array<MFloat, nDim>(0.0);
a.fill(b);
return a;
}()
static constexpr MInt maxNoCartesianSurfaces

Definition at line 1020 of file geometryintersection.h.

◆ cartFaceDir

template<MInt nDim>
std::array<MInt, maxNoCartesianSurfaces> CutCell< nDim >::cartFaceDir = make_array<MInt, maxNoCartesianSurfaces>(-1)

Definition at line 1027 of file geometryintersection.h.

◆ cellId

template<MInt nDim>
MInt CutCell< nDim >::cellId = -1

Definition at line 982 of file geometryintersection.h.

◆ cornerIsInsideGeometry

template<MInt nDim>
std::array<std::array<MBool, noCorners>, maxNoSets> CutCell< nDim >::cornerIsInsideGeometry
Initial value:
= [] {
std::array<std::array<MBool, noCorners>, maxNoSets> a;
std::array<MBool, noCorners> b = make_array<MBool, noCorners>(false);
a.fill(b);
return a;
}()
static constexpr MInt maxNoSets

Definition at line 1003 of file geometryintersection.h.

◆ cutBodyIds

template<MInt nDim>
std::array<MInt, maxNoCutPoints> CutCell< nDim >::cutBodyIds = make_array<MInt, maxNoCutPoints>(-1)

Definition at line 994 of file geometryintersection.h.

◆ cutEdges

template<MInt nDim>
std::array<MInt, maxNoCutPoints> CutCell< nDim >::cutEdges = make_array<MInt, maxNoCutPoints>(-1)

Definition at line 995 of file geometryintersection.h.

◆ cutPoints

template<MInt nDim>
std::array<std::array<MFloat, nDim>, maxNoCutPoints> CutCell< nDim >::cutPoints
Initial value:
= [] {
std::array<std::array<MFloat, nDim>, maxNoCutPoints> a;
std::array<MFloat, nDim> b = make_array<MFloat, nDim>(0.0);
a.fill(b);
return a;
}()
static constexpr MInt maxNoCutPoints

Definition at line 988 of file geometryintersection.h.

◆ externalFaces

template<MInt nDim>
std::array<MBool, noFaces> CutCell< nDim >::externalFaces = make_array<MBool, noFaces>(false)

Definition at line 1012 of file geometryintersection.h.

◆ faceCentroidIsInsideGeometry

template<MInt nDim>
std::array<std::array<MBool, no3dFaces>, maxNoSets> CutCell< nDim >::faceCentroidIsInsideGeometry
Initial value:
= [] {
std::array<std::array<MBool, no3dFaces>, maxNoSets> a;
std::array<MBool, no3dFaces> b = make_array<MBool, no3dFaces>(0.0);
a.fill(b);
return a;
}()

Definition at line 997 of file geometryintersection.h.

◆ isGapCell

template<MInt nDim>
MBool CutCell< nDim >::isGapCell = false

Definition at line 1014 of file geometryintersection.h.

◆ maxNoAdditionalVertices

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoAdditionalVertices = 4 * noFaces
staticconstexpr

Definition at line 975 of file geometryintersection.h.

◆ maxNoBoundarySurfaces

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoBoundarySurfaces = maxNoSets
staticconstexpr

Definition at line 972 of file geometryintersection.h.

◆ maxNoCartesianSurfaces

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoCartesianSurfaces = 2 * noFaces
staticconstexpr

Definition at line 971 of file geometryintersection.h.

◆ maxNoCutPoints

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoCutPoints = 4 * noEdges
staticconstexpr

Definition at line 970 of file geometryintersection.h.

◆ maxNoFaceVertices

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoFaceVertices = 4 * IPOW2(nDim - 1) + 4
staticconstexpr

Definition at line 974 of file geometryintersection.h.

◆ maxNoSets

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoSets = 12
staticconstexpr

Definition at line 966 of file geometryintersection.h.

◆ maxNoTotalSurfaces

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxNoTotalSurfaces = maxNoBoundarySurfaces + maxNoBoundarySurfaces
staticconstexpr

Definition at line 973 of file geometryintersection.h.

◆ maxSplitCells

template<MInt nDim>
constexpr MInt CutCell< nDim >::maxSplitCells = noFaces
staticconstexpr

Definition at line 976 of file geometryintersection.h.

◆ no3dFaces

template<MInt nDim>
constexpr MInt CutCell< nDim >::no3dFaces = (nDim == 3) ? noFaces : 1
staticconstexpr

Definition at line 977 of file geometryintersection.h.

◆ noAdditionalVertices

template<MInt nDim>
MInt CutCell< nDim >::noAdditionalVertices = 0

Definition at line 1057 of file geometryintersection.h.

◆ noBoundarySurfaces

template<MInt nDim>
MInt CutCell< nDim >::noBoundarySurfaces = 0

Definition at line 1029 of file geometryintersection.h.

◆ noCartesianSurfaces

template<MInt nDim>
MInt CutCell< nDim >::noCartesianSurfaces = 0

Definition at line 1019 of file geometryintersection.h.

◆ noCorners

template<MInt nDim>
constexpr MInt CutCell< nDim >::noCorners = IPOW2(nDim)
staticconstexpr

Definition at line 969 of file geometryintersection.h.

◆ noCutPoints

template<MInt nDim>
MInt CutCell< nDim >::noCutPoints = 0

Definition at line 987 of file geometryintersection.h.

◆ noEdges

template<MInt nDim>
constexpr MInt CutCell< nDim >::noEdges = 2 * nDim * (nDim - 1)
staticconstexpr

Definition at line 968 of file geometryintersection.h.

◆ noFaces

template<MInt nDim>
constexpr MInt CutCell< nDim >::noFaces = 2 * nDim
staticconstexpr

Definition at line 967 of file geometryintersection.h.

◆ noFacesPerCartesianDir

template<MInt nDim>
std::array<MInt, noFaces> CutCell< nDim >::noFacesPerCartesianDir = make_array<MInt, noFaces>(0)

Definition at line 1011 of file geometryintersection.h.

◆ noSplitChilds

template<MInt nDim>
MInt CutCell< nDim >::noSplitChilds = 0

Definition at line 1016 of file geometryintersection.h.

◆ noTotalFaces

template<MInt nDim>
MInt CutCell< nDim >::noTotalFaces = 0

Definition at line 1046 of file geometryintersection.h.

◆ splitChildIds

template<MInt nDim>
std::array<MInt, maxSplitCells> CutCell< nDim >::splitChildIds = make_array<MInt, maxSplitCells>(-1)

Definition at line 1017 of file geometryintersection.h.

◆ splitParentId

template<MInt nDim>
MInt CutCell< nDim >::splitParentId = -1

Definition at line 1015 of file geometryintersection.h.

◆ volume

template<MInt nDim>
MFloat CutCell< nDim >::volume = F0

Definition at line 984 of file geometryintersection.h.

◆ volumetricCentroid

template<MInt nDim>
std::array<MFloat, nDim> CutCell< nDim >::volumetricCentroid = make_array<MFloat, nDim>(0.0)

Definition at line 985 of file geometryintersection.h.


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