11 #ifndef PANZER_EVALUATOR_DOF_PointField_IMPL_HPP
12 #define PANZER_EVALUATOR_DOF_PointField_IMPL_HPP
16 #include "Phalanx_Evaluator_Macros.hpp"
17 #include "Phalanx_MDField.hpp"
18 #include "Phalanx_DataLayout.hpp"
19 #include "PanzerDiscFE_config.hpp"
21 #include "Intrepid2_Basis.hpp"
27 template <
typename EvalT,
typename TRAITST>
49 const std::string & fieldName,
51 const std::string & coordinateName,
54 {
initialize(fieldName,fieldBasis,coordinateName,coordLayout,quadLayout,postfixFieldName); }
73 const std::string & coordinateName,
77 { std::string postfixFieldName = (useCoordPostfix ? coordinateName :
"");
78 initialize(fieldName,fieldBasis,coordinateName,coordLayout,quadLayout,postfixFieldName); }
88 const std::string & coordinateName,
91 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