![]() |
OpenLB 1.8.1
|
Platform-agnostic interface to concrete host-side field arrays. More...
#include <fieldArrayD.h>
Inheritance diagram for olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >:
Collaboration diagram for olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >:Classes | |
| class | const_ptr |
| Read-only proxy for accessing a column vector entry. More... | |
| class | ptr |
| Proxy for accessing a column vector entry. More... | |
Public Types | |
| using | descriptor_t = DESCRIPTOR |
| using | field_t = FIELD |
Public Member Functions | |
| virtual Platform | getPlatform () const =0 |
| Returns Platform of concrete FieldArrayD. | |
| template<Platform PLATFORM> | |
| FieldArrayD< T, DESCRIPTOR, PLATFORM, FIELD > & | asConcrete () |
| Cast to concrete FieldArrayD<PLATFORM> | |
| ColumnVectorBase & | asColumnVectorBase () |
| virtual void | setProcessingContext (ProcessingContext context)=0 |
| Sets processing context (Platform dependent) | |
| virtual void | resize (std::size_t newCount)=0 |
| Resize to size newCount. | |
| const auto & | operator[] (unsigned iDim) const |
| auto & | operator[] (unsigned iDim) |
| auto | get (std::size_t i) const |
| void | set (std::size_t i, const FieldD< T, DESCRIPTOR, FIELD > &data) |
| const_ptr | getPointer (std::size_t i) const |
| ptr | getPointer (std::size_t i) |
Platform-agnostic interface to concrete host-side field arrays.
Definition at line 49 of file fieldArrayD.h.
| using olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >::descriptor_t = DESCRIPTOR |
Definition at line 58 of file fieldArrayD.h.
| using olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >::field_t = FIELD |
Definition at line 59 of file fieldArrayD.h.
|
inline |
Definition at line 74 of file fieldArrayD.h.
|
inline |
Cast to concrete FieldArrayD<PLATFORM>
Definition at line 65 of file fieldArrayD.h.
|
inline |
Definition at line 98 of file fieldArrayD.h.
References olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >::operator[]().
Here is the call graph for this function:
|
pure virtual |
Returns Platform of concrete FieldArrayD.
Implemented in olb::FieldArrayD< T, DESCRIPTOR, PLATFORM, FIELD >, olb::FieldArrayD< int, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< S, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, olb::fields::PHYS_R >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, typename FUNCTOR::result_field >, and olb::FieldArrayD< T, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >.
Here is the caller graph for this function:
|
inline |
Definition at line 122 of file fieldArrayD.h.
|
inline |
Definition at line 117 of file fieldArrayD.h.
|
inline |
Definition at line 93 of file fieldArrayD.h.
|
inline |
Definition at line 88 of file fieldArrayD.h.
Here is the caller graph for this function:
|
pure virtual |
Resize to size newCount.
Implemented in olb::FieldArrayD< T, DESCRIPTOR, PLATFORM, FIELD >, olb::FieldArrayD< int, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< S, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, olb::fields::PHYS_R >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, typename FUNCTOR::result_field >, and olb::FieldArrayD< T, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >.
|
inline |
Definition at line 110 of file fieldArrayD.h.
References olb::AbstractFieldArrayD< T, DESCRIPTOR, FIELD >::operator[]().
Here is the call graph for this function:
|
pure virtual |
Sets processing context (Platform dependent)
Implemented in olb::FieldArrayD< T, DESCRIPTOR, PLATFORM, FIELD >, olb::FieldArrayD< int, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< S, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, NORMAL >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, olb::fields::PHYS_R >, olb::FieldArrayD< T, DESCRIPTOR, Platform::CPU_SISD, typename FUNCTOR::result_field >, and olb::FieldArrayD< T, olb::descriptors::SPATIAL_DESCRIPTOR< 2 >, Platform::CPU_SISD, olb::descriptors::MATERIAL >.