Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT > Class Template Reference

#include <Panzer_GatherSolution_Tpetra_decl.hpp>

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

Classes

struct  NoSeed
 

Public Member Functions

 GatherSolution_Tpetra (const Teuchos::RCP< const panzer::GlobalIndexer > &indexer)
 
 GatherSolution_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
 
KOKKOS_INLINE_FUNCTION void operator() (const int cell) const
 
KOKKOS_INLINE_FUNCTION void operator() (const NoSeed, const int cell) 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 PHX::EvaluatorWithBaseImpl< TRAITS >
virtual void evaluateFields (typename Traits::EvalData d) override=0
 
- Public Member Functions inherited from PHX::Evaluator< Traits >
 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 PHX::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...
 
- Public Member Functions inherited from panzer::CloneableEvaluator
 CloneableEvaluator ()
 
virtual ~CloneableEvaluator ()
 

Private Types

typedef panzer::Traits::Jacobian EvalT
 
typedef
panzer::Traits::Jacobian::ScalarT 
ScalarT
 

Private Member Functions

 GatherSolution_Tpetra ()
 

Private Attributes

Teuchos::RCP< const
panzer::GlobalIndexer
globalIndexer_
 
std::vector< int > fieldIds_
 
std::vector< PHX::MDField
< ScalarT, Cell, NODE > > 
gatherFields_
 
std::vector< std::string > indexerNames_
 
bool useTimeDerivativeSolutionVector_
 
bool disableSensitivities_
 
std::string sensitivitiesName_
 
bool applySensitivities_
 
std::string globalDataKey_
 
int gatherSeedIndex_
 
Teuchos::RCP< const
TpetraLinearObjContainer
< double, LO, GO, NodeT > > 
tpetraContainer_
 
Teuchos::RCP< typename
TpetraLinearObjContainer
< double, LO, GO, NodeT >
::VectorType > 
x_vector
 
PHX::View< int ** > scratch_lids_
 
std::vector< PHX::View< int * > > scratch_offsets_
 
struct
panzer::GatherSolution_Tpetra
< panzer::Traits::Jacobian,
TRAITS, LO, GO, NodeT >:: { ... }  
functor_data
 

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
 

Detailed Description

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

Definition at line 210 of file Panzer_GatherSolution_Tpetra_decl.hpp.

Member Typedef Documentation

template<typename TRAITS , typename LO , typename GO , typename NodeT >
typedef panzer::Traits::Jacobian panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::EvalT
private

Definition at line 243 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 244 of file Panzer_GatherSolution_Tpetra_decl.hpp.

Constructor & Destructor Documentation

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

Definition at line 216 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 397 of file Panzer_GatherSolution_Tpetra_impl.hpp.

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

Member Function Documentation

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

Definition at line 449 of file Panzer_GatherSolution_Tpetra_impl.hpp.

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

Definition at line 479 of file Panzer_GatherSolution_Tpetra_impl.hpp.

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

Definition at line 549 of file Panzer_GatherSolution_Tpetra_impl.hpp.

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

Implements panzer::CloneableEvaluator.

Definition at line 229 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
KOKKOS_INLINE_FUNCTION void panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::operator() ( const int  cell) const

Definition at line 618 of file Panzer_GatherSolution_Tpetra_impl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
KOKKOS_INLINE_FUNCTION void panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::operator() ( const NoSeed  ,
const int  cell 
) const

Definition at line 639 of file Panzer_GatherSolution_Tpetra_impl.hpp.

Member Data Documentation

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

Definition at line 248 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 249 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 251 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
std::vector<std::string> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::indexerNames_
private

Definition at line 253 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
bool panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::useTimeDerivativeSolutionVector_
private

Definition at line 254 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
bool panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::disableSensitivities_
private

Definition at line 255 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 256 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
bool panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::applySensitivities_
private

Definition at line 257 of file Panzer_GatherSolution_Tpetra_decl.hpp.

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

Definition at line 259 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
int panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::gatherSeedIndex_
private

Definition at line 260 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<const TpetraLinearObjContainer<double,LO,GO,NodeT> > panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::tpetraContainer_
private

Definition at line 264 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Teuchos::RCP<typename TpetraLinearObjContainer<double,LO,GO,NodeT>::VectorType> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::x_vector
private

Definition at line 265 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
PHX::View<int**> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::scratch_lids_
private

Definition at line 269 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
std::vector<PHX::View<int*> > panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::scratch_offsets_
private

Definition at line 270 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
PHX::View<const LO**> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::lids

Definition at line 275 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
PHX::View<const int*> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::offsets

Definition at line 276 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
Kokkos::View<const double**, Kokkos::LayoutLeft,PHX::Device> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::x_data

Definition at line 277 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
double panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::seed_value

Definition at line 278 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
int panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::dos

Definition at line 279 of file Panzer_GatherSolution_Tpetra_decl.hpp.

template<typename TRAITS , typename LO , typename GO , typename NodeT >
PHX::MDField<ScalarT,Cell,NODE> panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::field

Definition at line 282 of file Panzer_GatherSolution_Tpetra_decl.hpp.

struct { ... } panzer::GatherSolution_Tpetra< panzer::Traits::Jacobian, TRAITS, LO, GO, NodeT >::functor_data

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