11 #ifndef Panzer_Integrator_CurlBasisDotVector_hpp
12 #define Panzer_Integrator_CurlBasisDotVector_hpp
24 #include "Kokkos_DynRankView.hpp"
31 #include "Phalanx_Evaluator_Derived.hpp"
32 #include "Phalanx_MDField.hpp"
52 template<
typename EvalT,
typename Traits>
97 const std::string& resName,
98 const std::string& valName,
102 const std::vector<std::string>& fmNames =
103 std::vector<std::string>());
195 const int& spaceDim = 3,
197 const std::vector<PHX::FieldTag>& multipliers =
198 std::vector<PHX::FieldTag>());
304 std::vector<PHX::MDField<const ScalarT, panzer::Cell, panzer::IP>>
312 PHX::View<Kokkos::View<const ScalarT**, typename PHX::DevLayout<ScalarT>::type, Kokkos::MemoryUnmanaged>*>
kokkosFieldMults_;
346 #endif // Panzer_Integrator_CurlBasisDotVector_hpp
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...
PHX::View< Kokkos::View< const ScalarT **, typename PHX::DevLayout< ScalarT >::type, Kokkos::MemoryUnmanaged > * > kokkosFieldMults_
The PHX::View representation of the (possibly empty) list of fields that are multipliers out in front...
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.