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 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 60 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 115 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 80 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 103 of file Panzer_DOF_PointField_decl.hpp.
void panzer::DOF_PointField< EvalT, TRAITST >::evaluateFields | ( | typename TRAITST::EvalData | workset | ) |
Definition at line 92 of file Panzer_DOF_PointField_impl.hpp.
|
private |
Convenience initialization routine, see constructor above.
Definition at line 57 of file Panzer_DOF_PointField_impl.hpp.
|
private |
Definition at line 125 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 126 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 127 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 129 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 130 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 130 of file Panzer_DOF_PointField_decl.hpp.
|
private |
Definition at line 130 of file Panzer_DOF_PointField_decl.hpp.