|
VirtualFluids 0.2.0
Parallel CFD LBM Solver
|
#include <CbVectorPool.h>
Public Types | |
| using | value_type = typename CbVector< T >::value_type |
| using | size_type = typename CbVector< T >::size_type |
| using | Pool = std::vector< value_type > |
| using | CbVectorKey = std::string |
| using | CbVectorMap = std::map< CbVectorKey, CbVector< value_type > * > |
| using | CbVectorMapIter = typename CbVectorMap::iterator |
Public Member Functions | |
| CbVectorPool (const size_type &startPoolSize=20000) | |
| virtual | ~CbVectorPool () |
| CbVectorKey | getNextCbVectorKey () const |
| bool | allocVectorData (CbVector< value_type > &vec, const size_type &dataSize, const value_type &value=value_type()) |
| bool | resizeVectorData (CbVector< value_type > &vec, const size_type &dataSize, const value_type &value=value_type()) |
| bool | deallocVectorData (CbVector< value_type > &vec) |
| CbVectorMap::size_type | getNofStoredVectors () const |
| Pool::size_type | getPoolSize () const |
| bool | consistencyCheck () |
Protected Member Functions | |
| bool | allocData (CbVectorAllocatorPool< value_type > &allocator, CbVector< value_type > &vec, const size_type &dataSize, const value_type &value) |
| bool | resizeData (CbVectorAllocatorPool< value_type > &allocator, CbVector< value_type > &vec, const size_type &dataSize, const value_type &value) |
| void | getCbVectorData (const CbVector< value_type > &vec, CbVectorKey &vectorKey, size_type &startIndexInPool, size_type &dataSize) |
| void | setCbVectorData (CbVector< value_type > &vec, const CbVectorKey &vectorKey, const size_type &startIndexInPool, const size_type &dataSize) |
Protected Attributes | |
| CbVectorMap | cbVectorMap |
| Pool | pool |
| Pool::pointer | poolStartAdress |
| Pool::size_type | nextCbVectorStartIndexInPool |
| CbVectorKey | nextCbVectorKey |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CbVectorPool &cbPool) |
Definition at line 93 of file CbVectorPool.h.
| using CbVectorPool< T >::CbVectorKey = std::string |
Definition at line 100 of file CbVectorPool.h.
| using CbVectorPool< T >::CbVectorMap = std::map<CbVectorKey, CbVector<value_type> *> |
Definition at line 101 of file CbVectorPool.h.
Definition at line 102 of file CbVectorPool.h.
| using CbVectorPool< T >::Pool = std::vector<value_type> |
Definition at line 98 of file CbVectorPool.h.
Definition at line 97 of file CbVectorPool.h.
Definition at line 96 of file CbVectorPool.h.
|
inline |
Definition at line 106 of file CbVectorPool.h.
|
inlinevirtual |
Definition at line 112 of file CbVectorPool.h.
|
inlineprotected |
Definition at line 283 of file CbVectorPool.h.
|
inline |
Definition at line 135 of file CbVectorPool.h.
|
inline |
Definition at line 257 of file CbVectorPool.h.
|
inline |
Definition at line 174 of file CbVectorPool.h.
|
inlineprotected |
Definition at line 395 of file CbVectorPool.h.
|
inline |
Definition at line 133 of file CbVectorPool.h.
|
inline |
Definition at line 252 of file CbVectorPool.h.
|
inline |
Definition at line 254 of file CbVectorPool.h.
|
inlineprotected |
Definition at line 334 of file CbVectorPool.h.
|
inline |
Definition at line 151 of file CbVectorPool.h.
|
inlineprotected |
Definition at line 406 of file CbVectorPool.h.
|
friend |
Definition at line 230 of file CbVectorPool.h.
|
protected |
Definition at line 419 of file CbVectorPool.h.
|
protected |
Definition at line 426 of file CbVectorPool.h.
|
protected |
Definition at line 423 of file CbVectorPool.h.
|
protected |
Definition at line 421 of file CbVectorPool.h.
|
protected |
Definition at line 422 of file CbVectorPool.h.