43 #ifndef PANZER_EVALUATOR_DOF_PointField_IMPL_HPP
44 #define PANZER_EVALUATOR_DOF_PointField_IMPL_HPP
48 #include "Phalanx_Evaluator_Macros.hpp"
49 #include "Phalanx_MDField.hpp"
50 #include "Phalanx_DataLayout.hpp"
51 #include "PanzerDiscFE_config.hpp"
53 #include "Intrepid2_Basis.hpp"
59 template <
typename EvalT,
typename TRAITST>
62 public PHX::EvaluatorDerived<EvalT, TRAITST> {
81 const std::string & fieldName,
83 const std::string & coordinateName,
86 {
initialize(fieldName,fieldBasis,coordinateName,coordLayout,quadLayout,postfixFieldName); }
105 const std::string & coordinateName,
108 bool useCoordPostfix)
109 { std::string postfixFieldName = (useCoordPostfix ? coordinateName :
"");
110 initialize(fieldName,fieldBasis,coordinateName,coordLayout,quadLayout,postfixFieldName); }
118 void initialize(
const std::string & fieldName,
120 const std::string & coordinateName,
123 const std::string & postfixFieldName);
Kokkos::DynRankView< double, PHX::Device > intrpCoords
void initialize(const std::string &fieldName, const PureBasis &fieldBasis, const std::string &coordinateName, const Teuchos::RCP< PHX::DataLayout > &coordLayout, const Teuchos::RCP< PHX::DataLayout > &quadLayout, const std::string &postfixFieldName)
Convenience initialization routine, see constructor above.
Interpolates basis DOF using reference coordinates defined by a field.
Kokkos::DynRankView< double, PHX::Device > basis
DOF_PointField(const std::string &postfixFieldName, const std::string &fieldName, const PureBasis &fieldBasis, const std::string &coordinateName, const Teuchos::RCP< PHX::DataLayout > &coordLayout, const Teuchos::RCP< PHX::DataLayout > &quadLayout)
void evaluateFields(typename TRAITST::EvalData workset)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
Kokkos::DynRankView< double, PHX::Device > basisRef
DOF_PointField(const std::string &fieldName, const PureBasis &fieldBasis, const std::string &coordinateName, const Teuchos::RCP< PHX::DataLayout > &coordLayout, const Teuchos::RCP< PHX::DataLayout > &quadLayout, bool useCoordPostfix)
PHX::MDField< ScalarT > dof_field
Teuchos::RCP< Intrepid2::Basis< PHX::exec_space, double, double > > intrepidBasis
PHX::MDField< const ScalarT, Point, Dim > coordinates
Description and data layouts associated with a particular basis.
PHX::MDField< const ScalarT > dof_coeff