Panzer
Version of the Day
|
Gathers tangent vectors dx/dp for computing df/dx*dx/dp + df/dp into the nodal fields of the field manager. More...
#include <Panzer_GatherTangent_Tpetra_decl.hpp>
Public Member Functions | |
GatherTangent_Tpetra (const Teuchos::RCP< const panzer::GlobalIndexer > &indexer) | |
GatherTangent_Tpetra (const Teuchos::RCP< const panzer::GlobalIndexer > &indexer, const Teuchos::ParameterList &p) | |
void | postRegistrationSetup (typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &vm) |
void | preEvaluate (typename TRAITS::PreEvalData d) |
void | evaluateFields (typename TRAITS::EvalData d) |
virtual Teuchos::RCP < CloneableEvaluator > | clone (const Teuchos::ParameterList &pl) const |
const PHX::FieldTag & | getFieldTag (int i) const |
![]() | |
void | setDetailsIndex (const int di) |
An evaluator builder sets the details index. More... | |
![]() | |
virtual void | evaluateFields (typename Traits::EvalData d) override=0 |
![]() | |
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 |
![]() | |
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... | |
![]() | |
CloneableEvaluator () | |
virtual | ~CloneableEvaluator () |
Private Types | |
typedef panzer::Traits::RealType | ScalarT |
Private Member Functions | |
GatherTangent_Tpetra () | |
Private Attributes | |
Teuchos::RCP< const panzer::GlobalIndexer > | globalIndexer_ |
std::vector< int > | fieldIds_ |
std::vector< PHX::MDField < ScalarT, Cell, NODE > > | gatherFields_ |
PHX::ViewOfViews< 1, PHX::View < ScalarT ** > > | gatherFieldsVoV_ |
Teuchos::RCP< std::vector < std::string > > | indexerNames_ |
bool | useTimeDerivativeSolutionVector_ |
std::string | globalDataKey_ |
Teuchos::RCP< const TpetraLinearObjContainer < double, LO, GO, NodeT > > | tpetraContainer_ |
Additional Inherited Members | |
![]() | |
enum | DomainType : int { OWNED =0, GHOST =1, REAL =2, VIRTUAL =3, EXTERNAL =4, ALL =5 } |
Domain types supported by worksets. More... | |
![]() | |
WorksetDetailsAccessor | wda |
Gathers tangent vectors dx/dp for computing df/dx*dx/dp + df/dp into the nodal fields of the field manager.
This evaluator is very similar to GatherSolution, however it always gathers into fields of type double, and it is a no-op if the global evaluation data container does not exist (which is an error for GatherSolution).
Currently makes an assumption that the stride is constant for dofs and that the nmber of dofs is equal to the size of the solution names vector.
Definition at line 47 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 76 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
inline |
Definition at line 53 of file Panzer_GatherTangent_Tpetra_decl.hpp.
panzer::GatherTangent_Tpetra< EvalT, TRAITS, LO, GO, NodeT >::GatherTangent_Tpetra | ( | const Teuchos::RCP< const panzer::GlobalIndexer > & | indexer, |
const Teuchos::ParameterList & | p | ||
) |
Definition at line 31 of file Panzer_GatherTangent_Tpetra_impl.hpp.
|
private |
void panzer::GatherTangent_Tpetra< EvalT, TRAITS, LO, GO, NodeT >::postRegistrationSetup | ( | typename TRAITS::SetupData | d, |
PHX::FieldManager< TRAITS > & | vm | ||
) |
Definition at line 73 of file Panzer_GatherTangent_Tpetra_impl.hpp.
void panzer::GatherTangent_Tpetra< EvalT, TRAITS, LO, GO, NodeT >::preEvaluate | ( | typename TRAITS::PreEvalData | d | ) |
Definition at line 96 of file Panzer_GatherTangent_Tpetra_impl.hpp.
void panzer::GatherTangent_Tpetra< EvalT, TRAITS, LO, GO, NodeT >::evaluateFields | ( | typename TRAITS::EvalData | d | ) |
Definition at line 123 of file Panzer_GatherTangent_Tpetra_impl.hpp.
|
inlinevirtual |
Implements panzer::CloneableEvaluator.
Definition at line 66 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
inline |
Definition at line 70 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 81 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 82 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 84 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 85 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 87 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 88 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 89 of file Panzer_GatherTangent_Tpetra_decl.hpp.
|
private |
Definition at line 91 of file Panzer_GatherTangent_Tpetra_decl.hpp.