#include <RadiationDiffusionFDDiscretization.h>
|
| static void | createMeshData (std::shared_ptr< AMP::Mesh::Mesh > mesh, std::shared_ptr< AMP::Mesh::BoxMesh > &d_BoxMesh, size_t &d_dim, AMP::Mesh::GeomType &d_CellCenteredGeom, std::shared_ptr< AMP::Discretization::DOFManager > &d_scalarDOFMan, std::shared_ptr< AMP::Discretization::multiDOFManager > &d_multiDOFMan, std::shared_ptr< AMP::Mesh::BoxMesh::Box > &d_globalBox, std::shared_ptr< AMP::Mesh::BoxMesh::Box > &d_localBox, std::shared_ptr< AMP::ArraySize > &d_localArraySize, std::vector< double > &d_h, std::vector< double > &d_rh2) |
| | Create mesh-related data given the mesh.
|
| |
| template<bool computeE, bool computeT> |
| static void | FaceDiffusionCoefficients (std::array< double, 3 > &ELoc3, std::array< double, 3 > &TLoc3, double k11, double k21, double zatom, double h, double *Dr_WO, double *Dr_OE, double *DT_WO, double *DT_OE) |
| |
|
| static constexpr bool | IsFluxLimited = true |
| | Flag indicating whether energy diffusion coefficient is limited.
|
| |
|
| static constexpr size_t | EAST = 2 |
| |
| static constexpr size_t | ORIGIN = 1 |
| |
| static constexpr size_t | WEST = 0 |
| | Indices used for referencing WEST, ORIGIN, and EAST entries in Loc3 data structures.
|
| |
Static class providing mesh-related operations and utilities that are required for finite-difference discretizations.
Definition at line 115 of file RadiationDiffusionFDDiscretization.h.
◆ FDMeshOps()
| AMP::Operator::FDMeshOps::FDMeshOps |
( |
| ) |
|
|
delete |
◆ createDOFManagers()
Create DOFManagers given the geometry and mesh.
◆ createMeshData()
| static void AMP::Operator::FDMeshOps::createMeshData |
( |
std::shared_ptr< AMP::Mesh::Mesh > |
mesh, |
|
|
std::shared_ptr< AMP::Mesh::BoxMesh > & |
d_BoxMesh, |
|
|
size_t & |
d_dim, |
|
|
AMP::Mesh::GeomType & |
d_CellCenteredGeom, |
|
|
std::shared_ptr< AMP::Discretization::DOFManager > & |
d_scalarDOFMan, |
|
|
std::shared_ptr< AMP::Discretization::multiDOFManager > & |
d_multiDOFMan, |
|
|
std::shared_ptr< AMP::Mesh::BoxMesh::Box > & |
d_globalBox, |
|
|
std::shared_ptr< AMP::Mesh::BoxMesh::Box > & |
d_localBox, |
|
|
std::shared_ptr< AMP::ArraySize > & |
d_localArraySize, |
|
|
std::vector< double > & |
d_h, |
|
|
std::vector< double > & |
d_rh2 |
|
) |
| |
|
static |
Create mesh-related data given the mesh.
◆ FaceDiffusionCoefficients()
template<bool computeE, bool computeT>
| static void AMP::Operator::FDMeshOps::FaceDiffusionCoefficients |
( |
std::array< double, 3 > & |
ELoc3, |
|
|
std::array< double, 3 > & |
TLoc3, |
|
|
double |
k11, |
|
|
double |
k21, |
|
|
double |
zatom, |
|
|
double |
h, |
|
|
double * |
Dr_WO, |
|
|
double * |
Dr_OE, |
|
|
double * |
DT_WO, |
|
|
double * |
DT_OE |
|
) |
| |
|
static |
Compute diffusion coefficients at two cell faces using 3-point stencil data in ELoc3 and TLoc3
- Parameters
-
| [in] | ELoc3 | |
| [in] | TLoc3 | |
| [in] | k11 | |
| [in] | k21 | |
| [in] | zatom | |
| [in] | h | |
| [out] | Dr_WO | WEST coefficient in for energy |
| [out] | Dr_OE | EAST coefficient in for energy |
| [out] | DT_WO | WEST coefficient in for temperature |
| [out] | DT_OE | EAST coefficient in for temperature |
◆ EAST
| constexpr size_t AMP::Operator::FDMeshOps::EAST = 2 |
|
staticconstexprprivate |
◆ IsFluxLimited
| constexpr bool AMP::Operator::FDMeshOps::IsFluxLimited = true |
|
staticconstexpr |
◆ ORIGIN
| constexpr size_t AMP::Operator::FDMeshOps::ORIGIN = 1 |
|
staticconstexprprivate |
◆ WEST
| constexpr size_t AMP::Operator::FDMeshOps::WEST = 0 |
|
staticconstexprprivate |
The documentation for this class was generated from the following file: