Panzer
Version of the Day
|
Given a field, perform a local L2 projection onto the desired basis. More...
#include <Panzer_STK_ProjectField_decl.hpp>
Public Member Functions | |
ProjectField (const std::string &inName, Teuchos::RCP< panzer::PureBasis > src, Teuchos::RCP< panzer::PureBasis > dst, std::string outname="") | |
void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &fm) |
void | evaluateFields (typename Traits::EvalData d) |
Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< Traits > | |
void | setDetailsIndex (const int di) |
An evaluator builder sets the details index. More... | |
Public Member Functions inherited from PHX::Evaluator< Traits > | |
Evaluator () | |
virtual | ~Evaluator () |
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 | |
using | ScalarT = typename EvalT::ScalarT |
Private Attributes | |
const std::string | field_name_ |
Teuchos::RCP< const panzer::PureBasis > | srcBasis_ |
Teuchos::RCP< const panzer::PureBasis > | dstBasis_ |
Teuchos::RCP< const std::vector < Intrepid2::Orientation > > | orientations_ |
PHX::MDField< double, panzer::Cell, panzer::BASIS > | result_ |
PHX::MDField< double, panzer::Cell, panzer::BASIS > | source_ |
Kokkos::DynRankView < Intrepid2::Orientation, PHX::Device > | local_orts_ |
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< Traits > | |
WorksetDetailsAccessor | wda |
Given a field, perform a local L2 projection onto the desired basis.
postRegistrationSetup
phase. Definition at line 31 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 57 of file Panzer_STK_ProjectField_decl.hpp.
panzer_stk::ProjectField< EvalT, Traits >::ProjectField | ( | const std::string & | inName, |
Teuchos::RCP< panzer::PureBasis > | src, | ||
Teuchos::RCP< panzer::PureBasis > | dst, | ||
std::string | outname = "" |
||
) |
Constructor for the ProjectField evaluator.
[in] | inName | Name of the source MDField |
[in] | src | Basis of the source field |
[in] | dst | Target basis |
[in] | outname | (Optional) Name for the projected MDField |
Definition at line 30 of file Panzer_STK_ProjectField_impl.hpp.
|
virtual |
Implements PHX::Evaluator< Traits >.
Definition at line 62 of file Panzer_STK_ProjectField_impl.hpp.
|
virtual |
Implements PHX::EvaluatorWithBaseImpl< Traits >.
Definition at line 72 of file Panzer_STK_ProjectField_impl.hpp.
|
private |
Definition at line 59 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 60 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 61 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 62 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 64 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 65 of file Panzer_STK_ProjectField_decl.hpp.
|
private |
Definition at line 67 of file Panzer_STK_ProjectField_decl.hpp.