43 #ifndef Panzer_Integrator_CurlBasisDotVector_hpp
44 #define Panzer_Integrator_CurlBasisDotVector_hpp
56 #include "Kokkos_DynRankView.hpp"
63 #include "Phalanx_Evaluator_Derived.hpp"
64 #include "Phalanx_MDField.hpp"
84 template<
typename EvalT,
typename Traits>
88 public PHX::EvaluatorDerived<EvalT, Traits>
129 const std::string& resName,
130 const std::string& valName,
134 const std::vector<std::string>& fmNames =
135 std::vector<std::string>());
223 const PHX::FieldTag& resTag,
224 const PHX::FieldTag& valTag,
227 const int& spaceDim = 3,
229 const std::vector<PHX::FieldTag>& multipliers =
230 std::vector<PHX::FieldTag>());
311 PHX::MDField<ScalarT, panzer::Cell, panzer::BASIS>
field_;
317 PHX::MDField<const ScalarT, panzer::Cell, panzer::IP>
vector2D_;
323 PHX::MDField<const ScalarT, panzer::Cell, panzer::IP, panzer::Dim>
336 std::vector<PHX::MDField<const ScalarT, panzer::Cell, panzer::IP>>
344 Kokkos::View<Kokkos::View<const ScalarT**,typename PHX::DevLayout<ScalarT>::type,PHX::Device>*>
kokkosFieldMults_;
367 PHX::MDField<ScalarT, panzer::Cell, panzer::IP>
result2D_;
373 PHX::MDField<ScalarT, panzer::Cell, panzer::IP, panzer::Dim>
result3D_;
378 #endif // Panzer_Integrator_CurlBasisDotVector_hpp
Kokkos::View< Kokkos::View< const ScalarT **, typename PHX::DevLayout< ScalarT >::type, PHX::Device > * > kokkosFieldMults_
The Kokkos::View representation of the (possibly empty) list of fields that are multipliers out in fr...
std::size_t basisIndex_
The index in the Workset bases for our particular BasisIRLayout name.
void evaluateFields(typename Traits::EvalData d)
Evaluate Fields.
PHX::MDField< ScalarT, panzer::Cell, panzer::IP > result2D_
A field used to build up the result of this integral when working on a two-dimensional vector field...
std::vector< PHX::MDField< const ScalarT, panzer::Cell, panzer::IP > > fieldMults_
The (possibly empty) list of fields that are multipliers out in front of the integral ( ...
bool useDescriptors_
A flag indicating whether or not to use the descriptor interface.
Teuchos::RCP< Teuchos::ParameterList > getValidParameters() const
Get Valid Parameters.
EvaluatorStyle
An indication of how an Evaluator will behave.
panzer::BasisDescriptor bd_
The BasisDescriptor for the basis to use.
double multiplier
The scalar multiplier out in front of the integral ( ).
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
panzer::IntegrationDescriptor id_
The IntegrationDescriptor for the quadrature to use.
PHX::MDField< ScalarT, panzer::Cell, panzer::IP, panzer::Dim > result3D_
A field used to build up the result of this integral when working on a three-dimensional vector field...
panzer::EvaluatorStyle evalStyle
The EvaluatorStyle of the parent Integrator_CurlBasisDotVector object.
PHX::MDField< const ScalarT, panzer::Cell, panzer::IP, panzer::Dim > vector3D_
A field representing the vector-valued function we're integrating ( ) in a three-dimensional problem...
int spaceDim_
The spatial dimension of the vector-valued function we're integrating, either 2 or 3...
void postRegistrationSetup(typename Traits::SetupData sd, PHX::FieldManager< Traits > &fm)
Post-Registration Setup.
PHX::MDField< ScalarT, panzer::Cell, panzer::BASIS > field_
A field to which we'll contribute, or in which we'll store, the result of computing this integral...
Integrator_CurlBasisDotVector(const panzer::EvaluatorStyle &evalStyle, const std::string &resName, const std::string &valName, const panzer::BasisIRLayout &basis, const panzer::IntegrationRule &ir, const double &multiplier=1, const std::vector< std::string > &fmNames=std::vector< std::string >())
Main Constructor.
const panzer::EvaluatorStyle evalStyle_
An enum determining the behavior of this Evaluator.
std::string basisName_
The name of the basis we're using.
PHX::MDField< const ScalarT, panzer::Cell, panzer::IP > vector2D_
A field representing the vector-valued function we're integrating ( ) in a two-dimensional problem...
double multiplier_
The scalar multiplier out in front of the integral ( ).
typename EvalT::ScalarT ScalarT
The scalar type.