Panzer
Version of the Day
|
Interpolates basis DOF using reference coordinates defined by a field. More...
#include <Panzer_DOF_PointField_decl.hpp>
Public Member Functions | |
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) | |
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) | |
void | evaluateFields (typename TRAITST::EvalData workset) |
Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< TRAITST > | |
void | setDetailsIndex (const int di) |
An evaluator builder sets the details index. More... | |
Public Member Functions inherited from PHX::EvaluatorWithBaseImpl< TRAITST > | |
virtual void | evaluateFields (typename Traits::EvalData d) override=0 |
Public Member Functions inherited from PHX::Evaluator< Traits > | |
Evaluator () | |
virtual | ~Evaluator () |
virtual void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)=0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | evaluatedFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | contributedFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | dependentFields () const =0 |
virtual const std::vector < Teuchos::RCP< FieldTag > > & | unsharedFields () const =0 |
virtual void | preEvaluate (typename Traits::PreEvalData d)=0 |
virtual void | postEvaluate (typename Traits::PostEvalData d)=0 |
virtual const std::string & | getName () const =0 |
virtual void | bindField (const PHX::FieldTag &ft, const std::any &f)=0 |
virtual PHX::DeviceEvaluator < Traits > * | createDeviceEvaluator () const =0 |
virtual void | rebuildDeviceEvaluator (PHX::DeviceEvaluator< Traits > *e) const =0 |
virtual void | deleteDeviceEvaluator (PHX::DeviceEvaluator< Traits > *e) const =0 |
virtual void | printFieldValues (std::ostream &os) const =0 |
Public Member Functions inherited from panzer::DomainEvaluator | |
DomainEvaluator (DomainType domain=ALL) | |
Constructor. More... | |
virtual | ~DomainEvaluator ()=default |
Default destructor. More... | |
void | setDomain (const DomainType domain) |
Set the domain for the evaluator. More... | |
DomainType | getDomain () |
Get the domain for the evaluator. More... | |
virtual int | cellStartIndex (const panzer::Workset &workset) const |
Returns the starting cell for the specified domain for a given workset. More... | |
virtual int | cellEndIndex (const panzer::Workset &workset) const |
Returns the non-inclusive end cell for the specified domain for a given workset. More... | |
Private Types | |
typedef EvalT::ScalarT | ScalarT |
Private Member Functions | |
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. More... | |
Private Attributes | |
PHX::MDField< const ScalarT, Point, Dim > | coordinates |
PHX::MDField< const ScalarT > | dof_coeff |
PHX::MDField< ScalarT > | dof_field |
Teuchos::RCP< Intrepid2::Basis < PHX::exec_space, double, double > > | intrepidBasis |
Kokkos::DynRankView< double, PHX::Device > | intrpCoords |
Kokkos::DynRankView< double, PHX::Device > | basisRef |
Kokkos::DynRankView< double, PHX::Device > | basis |
Additional Inherited Members | |
Public Types inherited from panzer::DomainEvaluator | |
enum | DomainType : int { OWNED =0, GHOST =1, REAL =2, VIRTUAL =3, EXTERNAL =4, ALL =5 } |
Domain types supported by worksets. More... | |
Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< TRAITST > | |
WorksetDetailsAccessor | wda |
Interpolates basis DOF using reference coordinates defined by a field.
Definition at line 28 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 83 of file Panzer_DOF_PointField_decl.hpp.
|
inline |
Constructor that allows user to specify a postfix for the field.
This constructor builds an evaluator from coordinates defined on the reference element. The name of the evaluated field is flexible, the name being fieldName+postfixFieldName
.
[in] | postfixFieldName | Postfix string to modify field name |
[in] | fieldName | Name of DOF field (dimensioned number cells by number of basis functions) |
[in] | fieldBasis | Datalayout describing DOF field |
[in] | coordinateName | Name of reference coordinates (sized number of points by dimension) |
[in] | coordLayout | Layout for coordinates |
Definition at line 48 of file Panzer_DOF_PointField_decl.hpp.
|
inline |
Constructor that appends (or not) the coordinate name to the field.
This constructor builds an evaluator from coordinates defined on the reference element. The name of the evaluated field is either fieldName+coordinateName
or simply fieldName
.
[in] | fieldName | Name of DOF field (dimensioned number cells by number of basis functions) |
[in] | fieldBasis | Datalayout describing DOF field |
[in] | coordinateName | Name of reference coordinates (sized number of points by dimension) |
[in] | coordLayout | Layout for coordinates |
[in] | useCoordPostfix | Postfix field name with coordinate name. |
Definition at line 71 of file Panzer_DOF_PointField_decl.hpp.
void panzer::DOF_PointField< EvalT, TRAITST >::evaluateFields | ( | typename TRAITST::EvalData | workset | ) |
Definition at line 60 of file Panzer_DOF_PointField_impl.hpp.
|
private |
Convenience initialization routine, see constructor above.
Definition at line 25 of file Panzer_DOF_PointField_impl.hpp.
|
private |
Definition at line 93 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 94 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 95 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 97 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 98 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 98 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 98 of file Panzer_DOF_PointField_decl.hpp.