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

#include <Panzer_GlobalStatistics_decl.hpp>

Inheritance diagram for panzer::GlobalStatistics< EvalT, Traits >:
Inheritance graph
[legend]

Public Member Functions

 GlobalStatistics (const Teuchos::ParameterList &p)
 
void postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
 
void evaluateFields (typename Traits::EvalData d)
 
void preEvaluate (typename Traits::PreEvalData d)
 
void postEvaluate (typename Traits::PostEvalData d)
 
const PHX::FieldTaggetRequiredFieldTag ()
 
- 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...
 

Private Types

using ScalarT = typename EvalT::ScalarT
 

Private Member Functions

void postprocess (std::ostream &os)
 
template<>
void postprocess (std::ostream &os)
 

Private Attributes

PHX::MDField< ScalarT, Cellvolumes
 
PHX::MDField< ScalarT, Celltmp
 
PHX::MDField< ScalarT, Cell, IPones
 
std::vector< PHX::MDField
< const ScalarT, Cell, IP > > 
field_values
 
ScalarT total_volume
 
std::vector< ScalarTaverages
 
std::vector< ScalarTmaxs
 
std::vector< ScalarTmins
 
ScalarT global_total_volume
 
std::vector< ScalarTglobal_averages
 
std::vector< ScalarTglobal_maxs
 
std::vector< ScalarTglobal_mins
 
int ir_order
 
std::size_t ir_index
 
Teuchos::RCP< const
Teuchos::Comm< int > > 
comm
 
Teuchos::RCP< panzer::GlobalDataglobal_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 EvalT, typename Traits>
class panzer::GlobalStatistics< EvalT, Traits >

Definition at line 29 of file Panzer_GlobalStatistics_decl.hpp.

Member Typedef Documentation

template<typename EvalT , typename Traits >
using panzer::GlobalStatistics< EvalT, Traits >::ScalarT = typename EvalT::ScalarT
private

Definition at line 58 of file Panzer_GlobalStatistics_decl.hpp.

Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
panzer::GlobalStatistics< EvalT, Traits >::GlobalStatistics ( const Teuchos::ParameterList p)

Definition at line 30 of file Panzer_GlobalStatistics_impl.hpp.

Member Function Documentation

template<typename EvalT , typename Traits >
void panzer::GlobalStatistics< EvalT, Traits >::postRegistrationSetup ( typename Traits::SetupData  d,
PHX::FieldManager< Traits > &  fm 
)

Definition at line 81 of file Panzer_GlobalStatistics_impl.hpp.

template<typename EvalT , typename Traits >
void panzer::GlobalStatistics< EvalT, Traits >::evaluateFields ( typename Traits::EvalData  d)

Definition at line 97 of file Panzer_GlobalStatistics_impl.hpp.

template<typename EvalT , typename Traits >
void panzer::GlobalStatistics< EvalT, Traits >::preEvaluate ( typename Traits::PreEvalData  d)

Definition at line 141 of file Panzer_GlobalStatistics_impl.hpp.

template<typename EvalT , typename Traits >
void panzer::GlobalStatistics< EvalT, Traits >::postEvaluate ( typename Traits::PostEvalData  d)

Definition at line 160 of file Panzer_GlobalStatistics_impl.hpp.

template<typename EvalT , typename TRAITS >
void panzer::GlobalStatistics< EvalT, TRAITS >::postprocess ( std::ostream &  os)
private

Definition at line 168 of file Panzer_GlobalStatistics_impl.hpp.

template<typename EvalT , typename TRAITS >
const PHX::FieldTag & panzer::GlobalStatistics< EvalT, TRAITS >::getRequiredFieldTag ( )

Definition at line 218 of file Panzer_GlobalStatistics_impl.hpp.

template<>
void panzer::GlobalStatistics< panzer::Traits::Residual, panzer::Traits >::postprocess ( std::ostream &  os)
private

Definition at line 176 of file Panzer_GlobalStatistics_impl.hpp.

Member Data Documentation

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell> panzer::GlobalStatistics< EvalT, Traits >::volumes
private

Definition at line 60 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell> panzer::GlobalStatistics< EvalT, Traits >::tmp
private

Definition at line 62 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT,Cell,IP> panzer::GlobalStatistics< EvalT, Traits >::ones
private

Definition at line 64 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<PHX::MDField<const ScalarT,Cell,IP> > panzer::GlobalStatistics< EvalT, Traits >::field_values
private

Definition at line 66 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
ScalarT panzer::GlobalStatistics< EvalT, Traits >::total_volume
private

Definition at line 68 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::averages
private

Definition at line 69 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::maxs
private

Definition at line 70 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::mins
private

Definition at line 71 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
ScalarT panzer::GlobalStatistics< EvalT, Traits >::global_total_volume
private

Definition at line 72 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::global_averages
private

Definition at line 73 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::global_maxs
private

Definition at line 74 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::vector<ScalarT> panzer::GlobalStatistics< EvalT, Traits >::global_mins
private

Definition at line 75 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
int panzer::GlobalStatistics< EvalT, Traits >::ir_order
private

Definition at line 77 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
std::size_t panzer::GlobalStatistics< EvalT, Traits >::ir_index
private

Definition at line 78 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<const Teuchos::Comm<int> > panzer::GlobalStatistics< EvalT, Traits >::comm
private

Definition at line 80 of file Panzer_GlobalStatistics_decl.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<panzer::GlobalData> panzer::GlobalStatistics< EvalT, Traits >::global_data
private

Definition at line 82 of file Panzer_GlobalStatistics_decl.hpp.


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