YAP
|
Class for managing a four-vector cached value inside a #DataPoint. More...
#include <CachedValue.h>
Public Member Functions | |
void | setValue (const FourVector< double > &val, DataPoint &d, unsigned sym_index, StatusManager &sm) const |
void | setValue (const FourVector< double > &val, DataPoint &d, unsigned sym_index) const |
const FourVector< double > | value (const DataPoint &d, unsigned sym_index) const |
![]() | |
DataAccessor * | owner () const |
const int | index () const |
const double | value (unsigned index, const DataPoint &d, unsigned sym_index) const |
virtual const unsigned | size () const |
void | setValue (unsigned index, double val, DataPoint &d, unsigned sym_index) const |
Static Public Member Functions | |
static std::shared_ptr < FourVectorCachedValue > | create (DataAccessor &da) |
Private Member Functions | |
FourVectorCachedValue (DataAccessor &da) | |
Additional Inherited Members | |
![]() | |
CachedValue (unsigned size, DataAccessor &da) | |
void | addToDataAccessor () |
add to the Owner_ | |
void | setIndex (int i) |
set index | |
void | setPosition (int p) |
set position | |
Class for managing a four-vector cached value inside a #DataPoint.
|
inlineprivate |
Constructor (protected) see create for details
|
static |
create shared pointer to ComplexCachedValue
owner | DataAccessor to which this cached value belongs |
void setValue | ( | const FourVector< double > & | val, |
DataPoint & | d, | ||
unsigned | sym_index, | ||
StatusManager & | sm | ||
) | const |
Set value into #DataPoint for particular symmetrization, and update VariableStatus for symm. and partition index
val | Value to set to |
d | #DataPoint to update |
sym_index | index of symmetrization to apply to |
sm | StatusManager |
void setValue | ( | const FourVector< double > & | val, |
DataPoint & | d, | ||
unsigned | sym_index | ||
) | const |
Set value into #DataPoint for particular symmetrization; does not update any statuses.
val | Value to set to |
d | #DataPoint to update |
sym_index | index of symmetrization to apply to |
const FourVector< double > value | ( | const DataPoint & | d, |
unsigned | sym_index | ||
) | const |
Get value from #DataPoint for particular symmetrization
d | #DataPoint to get value from |
sym_index | index of symmetrization to grab from |