1 #ifndef VERTEXCFD_CLOSURE_INCOMPRESSIBLEVARIABLETIMEDERIVATIVE_HPP
2 #define VERTEXCFD_CLOSURE_INCOMPRESSIBLEVARIABLETIMEDERIVATIVE_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 <Kokkos_Core.hpp>
16 namespace ClosureModel
20 template<
class EvalType,
class Traits>
22 :
public panzer::EvaluatorWithBaseImpl<Traits>,
23 public PHX::EvaluatorDerived<EvalType, Traits>
26 using scalar_type =
typename EvalType::ScalarT;
29 const panzer::IntegrationRule& ir,
30 const Teuchos::ParameterList& closure_params);
32 void evaluateFields(
typename Traits::EvalData d)
override;
34 KOKKOS_INLINE_FUNCTION
36 const Kokkos::TeamPolicy<PHX::exec_space>::member_type& team)
const;
39 std::string _variable_name;
40 std::string _equation_name;
43 PHX::MDField<scalar_type, panzer::Cell, panzer::Point> _dqdt_var_eq;
46 PHX::MDField<const scalar_type, panzer::Cell, panzer::Point> _dxdt_var;
54 #endif // end VERTEXCFD_CLOSURE_INCOMPRESSIBLEVARIABLETIMEDERIVATIVE_HPP