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

Boundary condition evaluator for an adiabatic wall. More...

#include <VertexCFD_BoundaryState_AdiabaticWall.hpp>

Inheritance diagram for VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >:
Inheritance graph
[legend]
Collaboration diagram for VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >:
Collaboration graph
[legend]

Public Types

using scalar_type = typename EvalType::ScalarT
 Alias for the scalar type used by the evaluation.
 

Public Member Functions

 AdiabaticWall (const panzer::IntegrationRule &ir)
 Constructor. More...
 
void evaluateFields (typename Traits::EvalData workset) override
 Evaluate the fields for a given workset. More...
 
KOKKOS_INLINE_FUNCTION void operator() (const Kokkos::TeamPolicy< PHX::exec_space >::member_type &team) const
 Kokkos functor invoked for each team in a parallel region. More...
 

Public Attributes

PHX::MDField< scalar_type, panzer::Cell, panzer::Point > _boundary_temperature
 Evaluated field: temperature prescribed on the boundary. More...
 
PHX::MDField< scalar_type, panzer::Cell, panzer::Point, panzer::Dim > _boundary_grad_temperature
 Evaluated field: gradient of the boundary temperature. More...
 

Detailed Description

template<class EvalType, class Traits>
class VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >

Boundary condition evaluator for an adiabatic wall.

This evaluator imposes an adiabatic (no heat flux) condition on a wall. It provides the boundary temperature and its gradient required by the surrounding physics. The class follows the Panzer/Phalanx evaluator pattern and can be executed in a Kokkos parallel region.

Template parameters

Constructor & Destructor Documentation

◆ AdiabaticWall()

template<class EvalType , class Traits >
VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::AdiabaticWall ( const panzer::IntegrationRule &  ir)

Constructor.

Registers the fields that will be evaluated or used as dependencies.

Parameters
irIntegration rule that supplies the data layout for the fields (scalar and vector layouts).

Member Function Documentation

◆ evaluateFields()

template<class EvalType , class Traits >
void VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::evaluateFields ( typename Traits::EvalData  workset)
override

Evaluate the fields for a given workset.

Computes the boundary temperature and its gradient according to the adiabatic condition.

Parameters
worksetEvaluation data for the current workset.

◆ operator()()

template<class EvalType , class Traits >
KOKKOS_INLINE_FUNCTION void VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::operator() ( const Kokkos::TeamPolicy< PHX::exec_space >::member_type &  team) const

Kokkos functor invoked for each team in a parallel region.

Implements the actual per‑cell computation of the boundary state.

Parameters
teamTeam member provided by Kokkos::TeamPolicy.

Member Data Documentation

◆ _boundary_grad_temperature

template<class EvalType , class Traits >
PHX::MDField<scalar_type, panzer::Cell, panzer::Point, panzer::Dim> VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::_boundary_grad_temperature

Evaluated field: gradient of the boundary temperature.

Indexed by cell, integration point, and spatial dimension.

◆ _boundary_temperature

template<class EvalType , class Traits >
PHX::MDField<scalar_type, panzer::Cell, panzer::Point> VertexCFD::BoundaryCondition::AdiabaticWall< EvalType, Traits >::_boundary_temperature

Evaluated field: temperature prescribed on the boundary.

Indexed by cell and integration point.


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