11 #ifndef PANZER_GLOBAL_STATISTICS_DECL_HPP
12 #define PANZER_GLOBAL_STATISTICS_DECL_HPP
17 #include "Phalanx_Evaluator_Macros.hpp"
18 #include "Phalanx_MDField.hpp"
19 #include "Kokkos_DynRankView.hpp"
20 #include "Teuchos_Comm.hpp"
28 template<
typename EvalT,
typename Traits>
const PHX::FieldTag & getRequiredFieldTag()
void evaluateFields(typename Traits::EvalData d)
std::vector< ScalarT > global_averages
void postprocess(std::ostream &os)
ScalarT global_total_volume
Teuchos::RCP< const Teuchos::Comm< int > > comm
Teuchos::RCP< panzer::GlobalData > global_data
std::vector< ScalarT > mins
GlobalStatistics(const Teuchos::ParameterList &p)
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
void preEvaluate(typename Traits::PreEvalData d)
PHX::MDField< ScalarT, Cell > volumes
std::vector< ScalarT > maxs
void postEvaluate(typename Traits::PostEvalData d)
std::vector< ScalarT > averages
PHX::MDField< ScalarT, Cell > tmp
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
std::vector< ScalarT > global_mins
PHX::MDField< ScalarT, Cell, IP > ones
typename EvalT::ScalarT ScalarT
std::vector< ScalarT > global_maxs
std::vector< PHX::MDField< const ScalarT, Cell, IP > > field_values