1 #ifndef VERTEXCFD_CLOSURE_SOLIDFULLINDUCTIONLOCALTIMESTEPSIZE_HPP
2 #define VERTEXCFD_CLOSURE_SOLIDFULLINDUCTIONLOCALTIMESTEPSIZE_HPP
4 #include "full_induction_mhd_solver/mhd_properties/VertexCFD_FullInductionMHDProperties.hpp"
6 #include "utils/VertexCFD_Utils_MagneticDim.hpp"
8 #include <Panzer_Dimension.hpp>
9 #include <Panzer_Evaluator_WithBaseImpl.hpp>
11 #include <Phalanx_Evaluator_Derived.hpp>
12 #include <Phalanx_Evaluator_WithBaseImpl.hpp>
13 #include <Phalanx_FieldManager.hpp>
14 #include <Phalanx_config.hpp>
16 #include <Kokkos_Core.hpp>
20 namespace ClosureModel
29 template<
class EvalType,
class Traits>
31 :
public panzer::EvaluatorWithBaseImpl<Traits>,
32 public PHX::EvaluatorDerived<EvalType, Traits>
35 using scalar_type =
typename EvalType::ScalarT;
38 const panzer::IntegrationRule& ir,
41 void evaluateFields(
typename Traits::EvalData d)
override;
43 KOKKOS_INLINE_FUNCTION
45 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
48 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _local_dt;
51 double _magnetic_permeability;
54 PHX::MDField<const double, panzer::Cell, panzer::Point, panzer::Dim>
56 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _solid_density;
57 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point, MagneticDim>
58 _total_magnetic_field;
66 #endif // end VERTEXCFD_CLOSURE_SOLIDFULLINDUCTIONLOCALTIMESTEPSIZE_HPP