1 #ifndef VERTEXCFD_CLOSURE_CONDUCTIONEXACTSOLUTION_HPP
2 #define VERTEXCFD_CLOSURE_CONDUCTIONEXACTSOLUTION_HPP
4 #include <Panzer_Dimension.hpp>
5 #include <Panzer_Evaluator_WithBaseImpl.hpp>
7 #include <Phalanx_Evaluator_Derived.hpp>
8 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
9 #include <Phalanx_FieldManager.hpp>
10 #include <Phalanx_config.hpp>
12 #include <Teuchos_ParameterList.hpp>
14 #include <Kokkos_Core.hpp>
18 namespace ClosureModel
37 template<
class EvalType,
class Traits,
int NumSpaceDim>
39 public PHX::EvaluatorDerived<EvalType, Traits>
60 const Teuchos::ParameterList& closure_params);
71 PHX::FieldManager<Traits>& fm)
override;
92 KOKKOS_INLINE_FUNCTION
94 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
107 Kokkos::Array<PHX::MDField<double, panzer::Cell, panzer::Point>,
num_space_dim>
133 PHX::MDField<const double, panzer::Cell, panzer::Point, panzer::Dim> _ip_coords;
141 #endif // VERTEXCFD_CLOSURE_CONDUCTIONEXACTSOLUTION_HPP
Definition: tstMethodManufacturedSolutionBC.cpp:23
PHX::MDField< double, panzer::Cell, panzer::Point > _temperature
Exact temperature field.
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:114
static constexpr int num_space_dim
Number of spatial dimensions (compile‑time constant).
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:45
void postRegistrationSetup(typename Traits::SetupData sd, PHX::FieldManager< Traits > &fm) override
Perform post‑registration setup.
Definition: VertexCFD_Closure_ConductionExactSolution_impl.hpp:46
typename EvalType::ScalarT scalar_type
Scalar type used by the evaluation type.
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:43
PHX::MDField< double, panzer::Cell, panzer::Point > _lagrange_pressure
Exact Lagrange pressure field.
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:100
Kokkos::Array< PHX::MDField< double, panzer::Cell, panzer::Point >, num_space_dim > _velocity
Exact velocity vector field.
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:108
Evaluator providing the exact analytical solution for a steady conduction problem.
Definition: VertexCFD_Closure_ConductionExactSolution.hpp:40
ConductionExactSolution(const panzer::IntegrationRule &ir, const Teuchos::ParameterList &closure_params)
Constructor.
Definition: VertexCFD_Closure_ConductionExactSolution_impl.hpp:22
KOKKOS_INLINE_FUNCTION void operator()(const Kokkos::TeamPolicy< PHX::exec_space >::member_type &team) const
Kokkos functor for team‑level parallel evaluation.
Definition: VertexCFD_Closure_ConductionExactSolution_impl.hpp:67
void evaluateFields(typename Traits::EvalData workset) override
Evaluate the exact solution fields on the workset.
Definition: VertexCFD_Closure_ConductionExactSolution_impl.hpp:54