Advanced Multi-Physics (AMP)
On-Line Documentation
Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Static Private Attributes | List of all members
AMP::Operator::FDMeshOps Class Reference

#include <RadiationDiffusionFDDiscretization.h>

Public Member Functions

 FDMeshOps ()=delete
 Prevent instantiation.
 

Static Public Member Functions

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 Public Attributes

static constexpr bool IsFluxLimited = true
 Flag indicating whether energy diffusion coefficient is limited.
 

Static Private Member Functions

static void createDOFManagers (const AMP::Mesh::GeomType &Geom, std::shared_ptr< AMP::Mesh::BoxMesh > &mesh, std::shared_ptr< AMP::Discretization::DOFManager > &scalarDOFMan, std::shared_ptr< AMP::Discretization::multiDOFManager > &multiDOFMan)
 Create DOFManagers given the geometry and mesh.
 

Static Private Attributes

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.
 

Detailed Description

Static class providing mesh-related operations and utilities that are required for finite-difference discretizations.

Definition at line 115 of file RadiationDiffusionFDDiscretization.h.

Constructor & Destructor Documentation

◆ FDMeshOps()

AMP::Operator::FDMeshOps::FDMeshOps ( )
delete

Prevent instantiation.

Member Function Documentation

◆ createDOFManagers()

static void AMP::Operator::FDMeshOps::createDOFManagers ( const AMP::Mesh::GeomType Geom,
std::shared_ptr< AMP::Mesh::BoxMesh > &  mesh,
std::shared_ptr< AMP::Discretization::DOFManager > &  scalarDOFMan,
std::shared_ptr< AMP::Discretization::multiDOFManager > &  multiDOFMan 
)
staticprivate

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_WOWEST coefficient in for energy
[out]Dr_OEEAST coefficient in for energy
[out]DT_WOWEST coefficient in for temperature
[out]DT_OEEAST coefficient in for temperature

Member Data Documentation

◆ EAST

constexpr size_t AMP::Operator::FDMeshOps::EAST = 2
staticconstexprprivate

Definition at line 122 of file RadiationDiffusionFDDiscretization.h.

◆ IsFluxLimited

constexpr bool AMP::Operator::FDMeshOps::IsFluxLimited = true
staticconstexpr

Flag indicating whether energy diffusion coefficient is limited.

Definition at line 128 of file RadiationDiffusionFDDiscretization.h.

◆ ORIGIN

constexpr size_t AMP::Operator::FDMeshOps::ORIGIN = 1
staticconstexprprivate

Definition at line 121 of file RadiationDiffusionFDDiscretization.h.

◆ WEST

constexpr size_t AMP::Operator::FDMeshOps::WEST = 0
staticconstexprprivate

Indices used for referencing WEST, ORIGIN, and EAST entries in Loc3 data structures.

Definition at line 120 of file RadiationDiffusionFDDiscretization.h.


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



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:44.
Comments on this page