11#ifndef __Panzer_CellExtreme_hpp__
12#define __Panzer_CellExtreme_hpp__
16#include "Phalanx_Evaluator_Macros.hpp"
17#include "Phalanx_MDField.hpp"
18#include "Kokkos_DynRankView.hpp"
39template<
typename EvalT,
typename Traits>
43 public PHX::EvaluatorDerived<EvalT, Traits>
49 const Teuchos::ParameterList& p);
68 PHX::MDField<const ScalarT,Cell,IP>
scalar;
PHX::MDField< ScalarT > extreme
const PHX::FieldTag & getFieldTag() const
Returns the FieldTag of the extreme-value output field. Used only for unit testing.
Teuchos::RCP< Teuchos::ParameterList > getValidParameters() const
Returns the ParameterList of valid parameters/defaults for this evaluator's constructor.
typename EvalT::ScalarT ScalarT
std::vector< PHX::MDField< const ScalarT, Cell, IP > > field_multipliers
CellExtreme(const Teuchos::ParameterList &p)
Construct from a ParameterList as documented in the class description.
void postRegistrationSetup(typename Traits::SetupData d, PHX::FieldManager< Traits > &fm)
Looks up the quadrature index/order needed by evaluateFields(). Called once before the first evaluati...
PHX::MDField< const ScalarT, Cell, IP > scalar
void evaluateFields(typename Traits::EvalData d)
Computes the "Extreme Name" field for this workset per the class description.
Wrapper to PHX::EvaluatorWithBaseImpl that implements Panzer-specific helpers.
const panzer::Workset & EvalData
Data type passed to PHX::Evaluator::evaluateFields(): a single workset holding the cell data for one ...
const SD & SetupData
Data type passed to PHX::Evaluator::postRegistrationSetup().