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

#include <Panzer_ScatterResidual_BlockedTpetra.hpp>

Inheritance diagram for panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >:
Inheritance graph
[legend]

Public Member Functions

 ScatterResidual_BlockedTpetra (const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &indexer)
 
 ScatterResidual_BlockedTpetra (const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &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 workset)
 
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 panzer::Traits::Jacobian::ScalarT ScalarT
 
typedef TRAITS::RealType RealType
 
typedef BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > ContainerType
 
typedef Tpetra::Operator< RealType, LO, GO, NodeT > OperatorType
 
typedef Tpetra::CrsMatrix< RealType, LO, GO, NodeT > CrsMatrixType
 
typedef Tpetra::Map< LO, GO, NodeT > MapType
 
typedef Thyra::TpetraLinearOp< RealType, LO, GO, NodeT > ThyraLinearOp
 

Private Member Functions

 ScatterResidual_BlockedTpetra ()
 

Private Attributes

Teuchos::RCP< PHX::FieldTag > scatterHolder_
 
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
 
Teuchos::RCP< const BlockedDOFManager< LO, GO > > globalIndexer_
 
std::vector< int > fieldIds_
 
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
 
std::string globalDataKey_
 
Teuchos::RCP< const BlockedTpetraLinearObjContainer< RealType, LO, GO, NodeT > > blockedContainer_
 

Additional Inherited Members

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

Detailed Description

template<typename TRAITS, typename LO, typename GO, typename NodeT>
class panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >

Definition at line 169 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

Member Typedef Documentation

◆ ScalarT

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef panzer::Traits::Jacobian::ScalarT panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ScalarT
private

Definition at line 213 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ RealType

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef TRAITS::RealType panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::RealType
private

Definition at line 214 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ ContainerType

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef BlockedTpetraLinearObjContainer<RealType,LO,GO,NodeT> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ContainerType
private

Definition at line 216 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ OperatorType

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef Tpetra::Operator<RealType,LO,GO,NodeT> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::OperatorType
private

Definition at line 217 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ CrsMatrixType

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef Tpetra::CrsMatrix<RealType,LO,GO,NodeT> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::CrsMatrixType
private

Definition at line 218 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ MapType

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef Tpetra::Map<LO,GO,NodeT> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::MapType
private

Definition at line 219 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ ThyraLinearOp

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef Thyra::TpetraLinearOp<RealType,LO,GO,NodeT> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ThyraLinearOp
private

Definition at line 221 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

Constructor & Destructor Documentation

◆ ScatterResidual_BlockedTpetra() [1/3]

template<typename TRAITS , typename LO , typename GO , typename NodeT >
panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ScatterResidual_BlockedTpetra ( const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &  indexer)
inline

The parameter list passed takes the following values

  <ParameterList>
     <Parameter name="Scatter Name" type="string" value=(required)/>
     <Parameter name="Dependent Names" type="RCP<vector<string> >" value="(required)"/>
     <Parameter name="Dependent Map" type="RCP<map<string,string> >" value="(required)"/>
     <Parameter name="Basis" type="RCP<const PureBasis>" value=(required)/>
     <Parameter name="Global Data Key" type="string" value="Residual Scatter Container" (default)/>
  </ParameterList>

The "Scatter Name" is the name for the dummy field that is computed by this evaluator. This field should be required so that the evaluators is guranteed to run. "Dependent Names" specifies the field to be scatter to the operator. The "Dependent Map" gives a mapping from the dependent field to the field string used in the global indexer. "Basis" is the basis used to define the size of the "Dependent Names" fields. Finally "Global Data Key" is the key used to index into the GlobalDataContainer object, for finding the operator and residual linear algebra data structures that need to be filled. By default this is the simple residual/jacobian with key "Residual Scatter Container".

Definition at line 196 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ ScatterResidual_BlockedTpetra() [2/3]

template<typename TRAITS , typename LO , typename GO , typename NodeT >
panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ScatterResidual_BlockedTpetra ( const Teuchos::RCP< const BlockedDOFManager< LO, GO > > &  indexer,
const Teuchos::ParameterList p 
)

◆ ScatterResidual_BlockedTpetra() [3/3]

template<typename TRAITS , typename LO , typename GO , typename NodeT >
panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::ScatterResidual_BlockedTpetra ( )
private

Member Function Documentation

◆ postRegistrationSetup()

template<typename TRAITS , typename LO , typename GO , typename NodeT >
void panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::postRegistrationSetup ( typename TRAITS::SetupData  d,
PHX::FieldManager< TRAITS > &  vm 
)

◆ preEvaluate()

template<typename TRAITS , typename LO , typename GO , typename NodeT >
void panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::preEvaluate ( typename TRAITS::PreEvalData  d)

◆ evaluateFields()

template<typename TRAITS , typename LO , typename GO , typename NodeT >
void panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::evaluateFields ( typename TRAITS::EvalData  workset)

◆ clone()

template<typename TRAITS , typename LO , typename GO , typename NodeT >
virtual Teuchos::RCP<CloneableEvaluator> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::clone ( const Teuchos::ParameterList pl) const
inlinevirtual

Member Data Documentation

◆ scatterHolder_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<PHX::FieldTag> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::scatterHolder_
private

Definition at line 224 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ scatterFields_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
std::vector< PHX::MDField<const ScalarT,Cell,NODE> > panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::scatterFields_
private

Definition at line 227 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ globalIndexer_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<const BlockedDOFManager<LO,GO> > panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::globalIndexer_
private

Definition at line 231 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ fieldIds_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
std::vector<int> panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::fieldIds_
private

Definition at line 233 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ fieldMap_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<const std::map<std::string,std::string> > panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::fieldMap_
private

Definition at line 239 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ globalDataKey_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
std::string panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::globalDataKey_
private

Definition at line 241 of file Panzer_ScatterResidual_BlockedTpetra.hpp.

◆ blockedContainer_

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<const BlockedTpetraLinearObjContainer<RealType,LO,GO,NodeT> > panzer::ScatterResidual_BlockedTpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::blockedContainer_
private

Definition at line 242 of file Panzer_ScatterResidual_BlockedTpetra.hpp.


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