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::FieldTag & getRequiredFieldTag ()
 
- 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::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, Cell > volumes
 
PHX::MDField< ScalarT, Cell > tmp
 
PHX::MDField< ScalarT, Cell, IP > ones
 
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,
  ALL =4
}
 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 61 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 90 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 62 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 113 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 127 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 164 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 183 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 191 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 241 of file Panzer_GlobalStatistics_impl.hpp.

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

Definition at line 199 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 92 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 94 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 96 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 98 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 100 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 101 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 102 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 103 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 104 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 105 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 106 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 107 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 109 of file Panzer_GlobalStatistics_decl.hpp.

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

Definition at line 110 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 112 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 114 of file Panzer_GlobalStatistics_decl.hpp.


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