Panzer
Version of the Day
|
Interpolates DOF coefficients on one basis to points on another basis. This is used with nodal bases to map DOF coefficient values from one nodal basis to dof coefficients on another basis. More...
#include <Panzer_DOF_BasisToBasis_decl.hpp>
Public Member Functions | |
DOF_BasisToBasis (const std::string &fieldName, const PureBasis &sourceBasis, const PureBasis &targetBasis) | |
Ctor. More... | |
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 Attributes | |
PHX::MDField< const ScalarT > | dof_source_coeff |
Dependent field: DOF coefficient values at source basis. More... | |
PHX::MDField< ScalarT > | dof_target_coeff |
Evaluated field: DOF coefficient values at target basis. More... | |
Kokkos::DynRankView< double, PHX::Device > | basis |
Reference cell basis values at target points, replicated for each cell in workset. More... | |
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 DOF coefficients on one basis to points on another basis. This is used with nodal bases to map DOF coefficient values from one nodal basis to dof coefficients on another basis.
Definition at line 28 of file Panzer_DOF_BasisToBasis_decl.hpp.
|
private |
Definition at line 46 of file Panzer_DOF_BasisToBasis_decl.hpp.
panzer::DOF_BasisToBasis< EvalT, TRAITST >::DOF_BasisToBasis | ( | const std::string & | fieldName, |
const PureBasis & | sourceBasis, | ||
const PureBasis & | targetBasis | ||
) |
Ctor.
[in] | fieldName | Name of the field in the field manager (used for both source and target fields |
[in] | sourceBasis | Basis that the source DOF coefficients are defined on |
[in] | targetBasis | Basis that provides the target coordinate points for the field to be interpolated to |
Definition at line 26 of file Panzer_DOF_BasisToBasis_impl.hpp.
void panzer::DOF_BasisToBasis< EvalT, TRAITST >::evaluateFields | ( | typename TRAITST::EvalData | workset | ) |
Definition at line 69 of file Panzer_DOF_BasisToBasis_impl.hpp.
|
private |
Dependent field: DOF coefficient values at source basis.
Definition at line 49 of file Panzer_DOF_BasisToBasis_decl.hpp.
|
private |
Evaluated field: DOF coefficient values at target basis.
Definition at line 52 of file Panzer_DOF_BasisToBasis_decl.hpp.
|
private |
Reference cell basis values at target points, replicated for each cell in workset.
Definition at line 55 of file Panzer_DOF_BasisToBasis_decl.hpp.