Memosa-FVM
0.2
|
#include <FloatVarDict.h>
Public Member Functions | |
FloatValEvaluator (const FloatVal< T > &fval, const StorageSite &site) | |
FloatValEvaluator (const T val) | |
T | operator[] (const int i) const |
Private Attributes | |
const T | _constant |
const bool | _isField |
shared_ptr< Array< T > > | _arrayPtr |
In dealing with inputs defined by FloatingVarDict we can use FloatValEvaluator as an array to read values at each index in the specified site. When the input value is a field this will return the corresponding array value from the Field; otherwise the constant value is returned for all indices.
Definition at line 110 of file FloatVarDict.h.
|
inline |
Definition at line 113 of file FloatVarDict.h.
References FloatValEvaluator< T >::_arrayPtr, FloatValEvaluator< T >::_isField, FloatVal< T >::field, and Field::getArrayPtr().
|
inline |
Definition at line 123 of file FloatVarDict.h.
|
inline |
Definition at line 129 of file FloatVarDict.h.
References FloatValEvaluator< T >::_arrayPtr, FloatValEvaluator< T >::_constant, and FloatValEvaluator< T >::_isField.
|
private |
Definition at line 137 of file FloatVarDict.h.
Referenced by FloatValEvaluator< T >::FloatValEvaluator(), and FloatValEvaluator< T >::operator[]().
|
private |
Definition at line 135 of file FloatVarDict.h.
Referenced by FloatValEvaluator< Vector< T, 3 > >::FloatValEvaluator(), FloatValEvaluator< T >::operator[](), and FloatValEvaluator< Vector< T, 3 > >::operator[]().
|
private |
Definition at line 136 of file FloatVarDict.h.
Referenced by FloatValEvaluator< T >::FloatValEvaluator(), and FloatValEvaluator< T >::operator[]().