VertexCFD  0.0-dev
Static Public Member Functions | Static Public Attributes | List of all members
VertexCFD::BoundaryCondition::ConductionBoundaryStateFactory< EvalType, Traits, NumSpaceDim > Class Template Reference

Factory for creating boundary‑state evaluators for the conduction equation. More...

#include <VertexCFD_ConductionBoundaryState_Factory.hpp>

Static Public Member Functions

static std::vector< Teuchos::RCP< PHX::Evaluator< Traits > > > create (const panzer::IntegrationRule &ir, const Teuchos::ParameterList &bc_params, const Teuchos::ParameterList &closure_model)
 Create a set of boundary‑state evaluators for a given integration rule. More...
 

Static Public Attributes

static constexpr int num_space_dim = NumSpaceDim
 Number of spatial dimensions (alias for the template parameter).
 

Detailed Description

template<class EvalType, class Traits, int NumSpaceDim>
class VertexCFD::BoundaryCondition::ConductionBoundaryStateFactory< EvalType, Traits, NumSpaceDim >

Factory for creating boundary‑state evaluators for the conduction equation.

This factory examines the supplied boundary‑condition parameters and the material‑property closure model to instantiate the appropriate PHX::Evaluator objects. The created evaluators enforce the specified boundary state (e.g., adiabatic wall, extrapolated temperature, or fixed temperature) and provide the required material property (thermal conductivity) on the boundary.

Template Parameters
EvalTypeEvaluation type (e.g., Residual, Jacobian) used by the evaluators.
TraitsTraits class defining the evaluation infrastructure.
NumSpaceDimSpatial dimension of the problem (e.g., 2 or 3).

Member Function Documentation

◆ create()

template<class EvalType , class Traits , int NumSpaceDim>
static std::vector<Teuchos::RCP<PHX::Evaluator<Traits> > > VertexCFD::BoundaryCondition::ConductionBoundaryStateFactory< EvalType, Traits, NumSpaceDim >::create ( const panzer::IntegrationRule &  ir,
const Teuchos::ParameterList &  bc_params,
const Teuchos::ParameterList &  closure_model 
)
inlinestatic

Create a set of boundary‑state evaluators for a given integration rule.

The method reads the material‑property list from the supplied closure model and registers the appropriate thermal‑conductivity evaluator. It then examines the boundary‑condition type and creates the corresponding state evaluator.

Parameters
[in]irIntegration rule providing quadrature information.
[in]bc_paramsParameter list describing the boundary condition.
[in]closure_modelParameter list containing closure models, including a sublist "Material Properties" that defines the material property type.
Returns
Vector of reference‑counted pointers to the created evaluators.
Exceptions
std::runtime_errorif the boundary‑condition type is not recognized.

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