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

Gathers solution values from the Newton solution vector into the nodal fields of the field manager. More...

#include <Panzer_GatherSolution_BlockedEpetra_decl.hpp>

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

Public Types

typedef EvalT::ScalarT ScalarT
 The scalar type. More...
 
- 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...
 

Public Member Functions

 GatherSolution_BlockedEpetra (const Teuchos::ParameterList &p)
 Constructor. More...
 
virtual Teuchos::RCP
< CloneableEvaluator
clone (const Teuchos::ParameterList &pl) const
 Create a copy. More...
 
void postRegistrationSetup (typename TRAITS::SetupData d, PHX::FieldManager< TRAITS > &fm)
 Post-Registration Setup. More...
 
void evaluateFields (typename TRAITS::EvalData d)
 Evaluate Fields. More...
 
- 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 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
 
- 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 ()
 

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::GatherSolution_BlockedEpetra< EvalT, TRAITS, LO, GO >

Gathers solution values from the Newton solution vector into the nodal fields of the field manager.

Currently makes an assumption that the stride is constant for degrees of freedom (DOFs) and that the nmber of DOFs is equal to the size of the solution names vector.

Definition at line 62 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.

Member Typedef Documentation

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

The scalar type.

Definition at line 73 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.

Constructor & Destructor Documentation

template<typename EvalT , typename TRAITS , typename LO , typename GO >
panzer::GatherSolution_BlockedEpetra< EvalT, TRAITS, LO, GO >::GatherSolution_BlockedEpetra ( const Teuchos::ParameterList p)
inline

Constructor.

For this unspecialized class, this constructor is empty; that is, it doesn't do anything with the input ParameterList.

Parameters
[in]pA ParameterList that isn't used.

Definition at line 83 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.

Member Function Documentation

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

Create a copy.

For this unspecialized class, this actually just calls the Default Constructor and doesn't copy anything.

Parameters
[in]plA ParameterList, which is passed to the Default Constructor.
Returns
A GatherSolution_BlockedEpetra created by the Default Constructor.

Implements panzer::CloneableEvaluator.

Definition at line 101 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.

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

Post-Registration Setup.

For this unspecialized class, this routine does nothing.

Parameters
[in]dUnused.
[in]fmUnused.

Definition at line 117 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.

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

Evaluate Fields.

For this unspecialized class, this routine does nothing, other than tell you that you can't use it.

Parameters
[in]dUnused.

Definition at line 132 of file Panzer_GatherSolution_BlockedEpetra_decl.hpp.


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