|
Panzer Version of the Day
|
#include <Panzer_TestScatter_decl.hpp>

Public Member Functions | |
| TestScatter (const Teuchos::ParameterList &p) | |
| Construct from a ParameterList specifying the input/output field names and shared data layout. | |
| void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &fm) |
| Looks up the number of nodes per cell needed by evaluateFields(). Called once before the first evaluation. | |
| void | evaluateFields (typename Traits::EvalData d) |
| Computes the output field for this workset per the class description. | |
Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< Traits > | |
| void | setDetailsIndex (const int di) |
| An evaluator builder sets the details index. | |
Public Member Functions inherited from panzer::DomainEvaluator | |
| DomainEvaluator (DomainType domain=ALL) | |
| Constructor. | |
| virtual | ~DomainEvaluator ()=default |
| Default destructor. | |
| void | setDomain (const DomainType domain) |
| Set the domain for the evaluator. | |
| DomainType | getDomain () |
| Get the domain for the evaluator. | |
| virtual int | cellStartIndex (const panzer::Workset &workset) const |
| Returns the starting cell for the specified domain for a given workset. | |
| virtual int | cellEndIndex (const panzer::Workset &workset) const |
| Returns the non-inclusive end cell for the specified domain for a given workset. | |
Private Types | |
| using | ScalarT = typename EvalT::ScalarT |
Private Attributes | |
| PHX::MDField< ScalarT, Cell, NODE > | scatter_value |
| PHX::MDField< const ScalarT, Cell, NODE > | value |
| int | localOffset |
| std::size_t | num_nodes |
Static Private Attributes | |
| static int | offset = 0 |
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 |
A test-only evaluator that computes each cell's node average of an input field and scatters a scaled copy of that average back out to every node of an output field. Used for exercising the scatter machinery in unit tests, not for production physics.
Definition at line 27 of file Panzer_TestScatter_decl.hpp.
|
private |
Definition at line 51 of file Panzer_TestScatter_decl.hpp.
| panzer::TestScatter< EvalT, Traits >::TestScatter | ( | const Teuchos::ParameterList & | p | ) |
Construct from a ParameterList specifying the input/output field names and shared data layout.
Definition at line 20 of file Panzer_TestScatter_impl.hpp.
| void panzer::TestScatter< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, |
| PHX::FieldManager< Traits > & | fm | ||
| ) |
Looks up the number of nodes per cell needed by evaluateFields(). Called once before the first evaluation.
Definition at line 44 of file Panzer_TestScatter_impl.hpp.
| void panzer::TestScatter< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
Computes the output field for this workset per the class description.
Definition at line 54 of file Panzer_TestScatter_impl.hpp.
|
private |
Definition at line 52 of file Panzer_TestScatter_decl.hpp.
|
private |
Definition at line 53 of file Panzer_TestScatter_decl.hpp.
|
private |
Definition at line 54 of file Panzer_TestScatter_decl.hpp.
|
private |
Definition at line 56 of file Panzer_TestScatter_decl.hpp.
|
staticprivate |
Definition at line 57 of file Panzer_TestScatter_decl.hpp.