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

#include <Panzer_ScatterResidual_BlockedEpetra_decl.hpp>

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

Public Member Functions

 ScatterResidual_BlockedEpetra (const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &rIndexers, const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &cIndexers, bool useDiscreteAdjoint=false)
 
 ScatterResidual_BlockedEpetra (const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &rIndexers, const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &cIndexers, const Teuchos::ParameterList &p, bool useDiscreteAdjoint=false)
 
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
 

Private Member Functions

 ScatterResidual_BlockedEpetra ()
 

Private Attributes

Teuchos::RCP< PHX::FieldTag > scatterHolder_
 
std::vector< PHX::MDField< const ScalarT, Cell, NODE > > scatterFields_
 
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > rowIndexers_
 
std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > colIndexers_
 
std::vector< int > indexerIds_
 
std::vector< int > subFieldIds_
 
Teuchos::RCP< const std::map< std::string, std::string > > fieldMap_
 
std::string globalDataKey_
 
bool useDiscreteAdjoint_
 
Teuchos::RCP< Thyra::ProductVectorBase< double > > r_
 
Teuchos::RCP< Thyra::BlockedLinearOpBase< double > > Jac_
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 226 of file Panzer_ScatterResidual_BlockedEpetra_decl.hpp.

Member Typedef Documentation

◆ ScalarT

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

Constructor & Destructor Documentation

◆ ScatterResidual_BlockedEpetra() [1/3]

template<typename TRAITS , typename LO , typename GO >
panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::ScatterResidual_BlockedEpetra ( const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  rIndexers,
const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  cIndexers,
bool  useDiscreteAdjoint = false 
)
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 253 of file Panzer_ScatterResidual_BlockedEpetra_decl.hpp.

◆ ScatterResidual_BlockedEpetra() [2/3]

template<typename TRAITS , typename LO , typename GO >
panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::ScatterResidual_BlockedEpetra ( const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  rIndexers,
const std::vector< Teuchos::RCP< const UniqueGlobalIndexer< LO, int > > > &  cIndexers,
const Teuchos::ParameterList &  p,
bool  useDiscreteAdjoint = false 
)

◆ ScatterResidual_BlockedEpetra() [3/3]

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

Member Function Documentation

◆ postRegistrationSetup()

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

◆ preEvaluate()

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

◆ evaluateFields()

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

◆ clone()

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

Member Data Documentation

◆ scatterHolder_

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

◆ scatterFields_

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

◆ rowIndexers_

template<typename TRAITS , typename LO , typename GO >
std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > > panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::rowIndexers_
private

◆ colIndexers_

template<typename TRAITS , typename LO , typename GO >
std::vector<Teuchos::RCP<const UniqueGlobalIndexer<LO,int> > > panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::colIndexers_
private

◆ indexerIds_

template<typename TRAITS , typename LO , typename GO >
std::vector<int> panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::indexerIds_
private

◆ subFieldIds_

template<typename TRAITS , typename LO , typename GO >
std::vector<int> panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::subFieldIds_
private

◆ fieldMap_

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

◆ globalDataKey_

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

◆ useDiscreteAdjoint_

template<typename TRAITS , typename LO , typename GO >
bool panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::useDiscreteAdjoint_
private

◆ r_

template<typename TRAITS , typename LO , typename GO >
Teuchos::RCP<Thyra::ProductVectorBase<double> > panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::r_
private

◆ Jac_

template<typename TRAITS , typename LO , typename GO >
Teuchos::RCP<Thyra::BlockedLinearOpBase<double> > panzer::ScatterResidual_BlockedEpetra< panzer::Traits::Jacobian, TRAITS, LO, GO >::Jac_
private

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