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

Public Member Functions | |
| ConstantVector (const Teuchos::ParameterList &p) | |
| Construct from a ParameterList specifying the field name, data layout, and the constant vector components. | |
| void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &fm) |
| Sets the vector field to the constant components given at construction. Called once before the first evaluation. | |
| void | evaluateFields (typename Traits::EvalData d) |
| No-op; the vector field is already set by postRegistrationSetup(). | |
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 | |
| Kokkos::View< double * > | vals_ |
| PHX::MDField< ScalarT > | vec_ |
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 |
This sets a vector field to a constant (x, y[, z]) value, the same for every cell and point in the workset.
NOTE: This evalautor with not work with PHX_ENABLE_SHARED=1 as the memory is overwritten by other evaluators.
Definition at line 30 of file Panzer_ConstantVector.hpp.
|
private |
Definition at line 48 of file Panzer_ConstantVector.hpp.
| panzer::ConstantVector< EvalT, Traits >::ConstantVector | ( | const Teuchos::ParameterList & | p | ) |
Construct from a ParameterList specifying the field name, data layout, and the constant vector components.
Definition at line 18 of file Panzer_ConstantVector_impl.hpp.
| void panzer::ConstantVector< EvalT, Traits >::postRegistrationSetup | ( | typename Traits::SetupData | d, |
| PHX::FieldManager< Traits > & | fm | ||
| ) |
Sets the vector field to the constant components given at construction. Called once before the first evaluation.
Definition at line 49 of file Panzer_ConstantVector_impl.hpp.
| void panzer::ConstantVector< EvalT, Traits >::evaluateFields | ( | typename Traits::EvalData | d | ) |
No-op; the vector field is already set by postRegistrationSetup().
Definition at line 65 of file Panzer_ConstantVector_impl.hpp.
|
private |
Definition at line 49 of file Panzer_ConstantVector.hpp.
|
private |
Definition at line 50 of file Panzer_ConstantVector.hpp.