Panzer  Version of the Day
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO > Class Template Reference

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_BlockedEpetra_decl.hpp>

Inheritance diagram for panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >:
Inheritance graph
[legend]

Public Member Functions

 GatherTangent_BlockedEpetra (const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &indexers)
 
 GatherTangent_BlockedEpetra (const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &indexers, 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< CloneableEvaluatorclone (const Teuchos::ParameterList &pl) const
 
- 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 panzer::CloneableEvaluator
 CloneableEvaluator ()
 
virtual ~CloneableEvaluator ()
 

Private Types

typedef EvalT::ScalarT ScalarT
 

Private Member Functions

 GatherTangent_BlockedEpetra ()
 

Private Attributes

std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > indexers_
 
std::vector< int > indexerIds_
 
std::vector< int > subFieldIds_
 
std::vector< PHX::MDField< ScalarT, Cell, NODE > > gatherFields_
 
Teuchos::RCP< std::vector< std::string > > indexerNames_
 
bool useTimeDerivativeSolutionVector_
 
std::string globalDataKey_
 
Teuchos::RCP< Thyra::ProductVectorBase< double > > x_
 

Additional Inherited Members

- Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< TRAITS >
WorksetDetailsAccessor wda
 

Detailed Description

template<typename EvalT, typename TRAITS, typename LO, typename GO>
class panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >

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 81 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

Member Typedef Documentation

◆ ScalarT

template<typename EvalT , typename TRAITS , typename LO , typename GO >
typedef EvalT::ScalarT panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::ScalarT
private

Definition at line 108 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

Constructor & Destructor Documentation

◆ GatherTangent_BlockedEpetra() [1/3]

template<typename EvalT , typename TRAITS , typename LO , typename GO >
panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::GatherTangent_BlockedEpetra ( const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  indexers)
inline

Definition at line 87 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ GatherTangent_BlockedEpetra() [2/3]

template<typename EvalT , typename TRAITS , typename LO , typename GO >
panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::GatherTangent_BlockedEpetra ( const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  indexers,
const Teuchos::ParameterList p 
)

Definition at line 64 of file Panzer_GatherTangent_BlockedEpetra_impl.hpp.

◆ GatherTangent_BlockedEpetra() [3/3]

template<typename EvalT , typename TRAITS , typename LO , typename GO >
panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::GatherTangent_BlockedEpetra ( )
private

Member Function Documentation

◆ postRegistrationSetup()

template<typename EvalT , typename TRAITS , typename LO , typename GO >
void panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::postRegistrationSetup ( typename TRAITS::SetupData  d,
PHX::FieldManager< TRAITS > &  vm 
)

Definition at line 97 of file Panzer_GatherTangent_BlockedEpetra_impl.hpp.

◆ preEvaluate()

template<typename EvalT , typename TRAITS , typename LO , typename GO >
void panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::preEvaluate ( typename TRAITS::PreEvalData  d)

Definition at line 124 of file Panzer_GatherTangent_BlockedEpetra_impl.hpp.

◆ evaluateFields()

template<typename EvalT , typename TRAITS , typename LO , typename GO >
void panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::evaluateFields ( typename TRAITS::EvalData  d)

Definition at line 144 of file Panzer_GatherTangent_BlockedEpetra_impl.hpp.

◆ clone()

template<typename EvalT , typename TRAITS , typename LO , typename GO >
virtual Teuchos::RCP<CloneableEvaluator> panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::clone ( const Teuchos::ParameterList pl) const
inlinevirtual

Member Data Documentation

◆ indexers_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > > panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::indexers_
private

Definition at line 110 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ indexerIds_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
std::vector<int> panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::indexerIds_
private

Definition at line 112 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ subFieldIds_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
std::vector<int> panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::subFieldIds_
private

Definition at line 113 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ gatherFields_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
std::vector< PHX::MDField<ScalarT,Cell,NODE> > panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::gatherFields_
private

Definition at line 115 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ indexerNames_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
Teuchos::RCP<std::vector<std::string> > panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::indexerNames_
private

Definition at line 117 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ useTimeDerivativeSolutionVector_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
bool panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::useTimeDerivativeSolutionVector_
private

Definition at line 118 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ globalDataKey_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
std::string panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::globalDataKey_
private

Definition at line 119 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.

◆ x_

template<typename EvalT , typename TRAITS , typename LO , typename GO >
Teuchos::RCP<Thyra::ProductVectorBase<double> > panzer::GatherTangent_BlockedEpetra< EvalT, TRAITS, LO, GO >::x_
private

Definition at line 121 of file Panzer_GatherTangent_BlockedEpetra_decl.hpp.


The documentation for this class was generated from the following files: