43 #ifndef __Panzer_Integrator_GradBasisDotVector_decl_hpp__ 44 #define __Panzer_Integrator_GradBasisDotVector_decl_hpp__ 56 #include "Kokkos_DynRankView.hpp" 63 #include "Phalanx_Evaluator_Derived.hpp" 64 #include "Phalanx_MDField.hpp" 80 template<
typename EvalT,
typename Traits>
84 public PHX::EvaluatorDerived<EvalT, Traits>
130 const std::string& resName,
131 const std::string& fluxName,
135 const std::vector<std::string>& fmNames =
136 std::vector<std::string>(),
222 template<
int NUM_FIELD_MULT>
243 template<
int NUM_FIELD_MULT>
244 KOKKOS_INLINE_FUNCTION
248 const std::size_t& cell)
const;
285 PHX::MDField<ScalarT, panzer::Cell, panzer::BASIS>
field_;
291 PHX::MDField<const ScalarT, panzer::Cell, panzer::IP, panzer::Dim>
304 std::vector<PHX::MDField<const ScalarT, panzer::Cell, panzer::IP>>
339 PHX::MDField<double, panzer::Cell, panzer::BASIS, panzer::IP,
346 #endif // __Panzer_Integrator_GradBasisDotVector_decl_hpp__ std::size_t basisIndex_
The index in the Workset bases for our particular BasisIRLayout name.
PHX::MDField< const ScalarT, panzer::Cell, panzer::IP, panzer::Dim > vector_
A field representing the vector-valued function we're integrating ( ).
typename EvalT::ScalarT ScalarT
The scalar type.
double multiplier_
The scalar multiplier out in front of the integral ( ).
Integrator_GradBasisDotVector(const panzer::EvaluatorStyle &evalStyle, const std::string &resName, const std::string &fluxName, const panzer::BasisIRLayout &basis, const panzer::IntegrationRule &ir, const double &multiplier=1, const std::vector< std::string > &fmNames=std::vector< std::string >(), const Teuchos::RCP< PHX::DataLayout > &vecDL=Teuchos::null)
Main Constructor.
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...
Teuchos::RCP< Teuchos::ParameterList > getValidParameters() const
Get Valid Parameters.
Kokkos::View< Kokkos::View< const ScalarT ** > * > kokkosFieldMults_
The Kokkos::View representation of the (possibly empty) list of fields that are multipliers out in fr...
EvaluatorStyle
An indication of how an Evaluator will behave.
const panzer::EvaluatorStyle evalStyle_
An enum determining the behavior of this Evaluator.
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 ( ...
double multiplier
The scalar multiplier out in front of the integral ( ).
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
KOKKOS_INLINE_FUNCTION void operator()(const FieldMultTag< NUM_FIELD_MULT > &tag, const std::size_t &cell) const
Perform the integration.
PHX::MDField< double, panzer::Cell, panzer::BASIS, panzer::IP, panzer::Dim > basis_
The gradient vector basis information necessary for integration.
panzer::EvaluatorStyle evalStyle
The EvaluatorStyle of the parent Integrator_CurlBasisDotVector object.
int numDim_
The number of dimensions in the vector field .
std::string basisName_
The name of the basis we're using.
void evaluateFields(typename Traits::EvalData d)
Evaluate Fields.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Post-Registration Setup.
int numQP_
The number of quadrature points for each cell.
This empty struct allows us to optimize operator()() depending on the number of field multipliers...