|
SPH
|
#include <Quantity.h>
Public Member Functions | |
| Holder (const OrderEnum order, const TValue &defaultValue, const Size size) | |
| Holder (const OrderEnum order, Array< TValue > &&values) | |
| INLINE OrderEnum | getOrderEnum () const |
| Returns number of derivatives stored within the quantity. More... | |
| INLINE ValueEnum | getValueEnum () const |
| Return type of quantity values. More... | |
| INLINE Size | size () const |
| Returns size of the stored arrays (=number of particles). More... | |
| INLINE Array< TValue > & | getValue () |
| INLINE const Array< TValue > & | getValue () const |
| INLINE Array< TValue > & | getDt () |
| INLINE const Array< TValue > & | getDt () const |
| INLINE Array< TValue > & | getD2t () |
| INLINE const Array< TValue > & | getD2t () const |
| INLINE StaticArray< Array< TValue > &, 3 > | getAll () |
| INLINE StaticArray< const Array< TValue > &, 3 > | getAll () const |
| Holder | clone (const Flags< VisitorEnum > flags) const |
| Holder | createZeros (const Size particleCnt) const |
| void | swap (Holder &other, Flags< VisitorEnum > flags) |
| void | setOrder (const OrderEnum newOrder) |
Abstract holder of all data associated with a quantity. Provides interface to extract information about the quantity. Must be static/dynamic_casted to one of derived types to extract information abount stored types or number of stored arrays.
Definition at line 59 of file Quantity.h.
|
inline |
Definition at line 71 of file Quantity.h.
|
inline |
Definition at line 78 of file Quantity.h.
| Holder< TValue > Detail::Holder< TValue >::clone | ( | const Flags< VisitorEnum > | flags | ) | const |
Definition at line 8 of file Quantity.cpp.
| Holder< TValue > Detail::Holder< TValue >::createZeros | ( | const Size | particleCnt | ) | const |
Definition at line 17 of file Quantity.cpp.
|
inline |
Definition at line 128 of file Quantity.h.
|
inline |
Definition at line 141 of file Quantity.h.
|
inline |
Definition at line 118 of file Quantity.h.
|
inline |
Definition at line 123 of file Quantity.h.
|
inline |
Definition at line 108 of file Quantity.h.
|
inline |
Definition at line 113 of file Quantity.h.
|
inline |
Returns number of derivatives stored within the quantity.
Definition at line 85 of file Quantity.h.
|
inline |
Definition at line 100 of file Quantity.h.
|
inline |
Definition at line 104 of file Quantity.h.
|
inline |
Return type of quantity values.
Definition at line 90 of file Quantity.h.
| void Detail::Holder< TValue >::setOrder | ( | const OrderEnum | newOrder | ) |
Definition at line 27 of file Quantity.cpp.
|
inline |
Returns size of the stored arrays (=number of particles).
Definition at line 95 of file Quantity.h.
| void Detail::Holder< TValue >::swap | ( | Holder< TValue > & | other, |
| Flags< VisitorEnum > | flags | ||
| ) |
Definition at line 22 of file Quantity.cpp.