Memosa-FVM
0.2
|
#include <SpikeStorage.h>
Public Member Functions | |
SpikeStorage (const CRConnectivity &conn, int semi_bandwidth) | |
~SpikeStorage () | |
const vector< int > & | getLSPKInterior () const |
const vector< int > & | getRSPKInterior () const |
const vector< int > & | getLSPKGhost () const |
const vector< int > & | getRSPKGhost () const |
const vector< int > & | getLSPKOffDiagPtr () const |
const vector< int > & | getRSPKOffDiagPtr () const |
const vector< int > & | getLSPKIndexI () const |
const vector< int > & | getLSPKIndexJ () const |
const vector< int > & | getRSPKIndexI () const |
const vector< int > & | getRSPKIndexJ () const |
const vector< int > & | getLSPKCountGhost () const |
const vector< int > & | getRSPKCountGhost () const |
int | getBandWidth () const |
Private Member Functions | |
void | init () |
void | gatherCellSizes () |
void | syncCellIDs () |
void | setGlobalIndices () |
void | setOffDiagPtr () |
Private Attributes | |
const CRConnectivity & | _conn |
int | _bandwidth |
int | _procID |
int | _localCellSelfCount |
map< int, int > | _ghostMap |
vector< int > | _cellSelfCounts |
vector< int > | _LSPK_INTERIOR |
vector< int > | _LSPK_GHOST |
vector< int > | _LSPK_OFFD_PTR |
vector< int > | _RSPK_INTERIOR |
vector< int > | _RSPK_GHOST |
vector< int > | _RSPK_OFFD_PTR |
vector< int > | _LSPK_I |
vector< int > | _LSPK_J |
vector< int > | _RSPK_I |
vector< int > | _RSPK_J |
vector< int > | _glblIndices |
vector< int > | _LSPKCountGhost |
vector< int > | _RSPKCountGhost |
Definition at line 15 of file SpikeStorage.h.
SpikeStorage::SpikeStorage | ( | const CRConnectivity & | conn, |
int | semi_bandwidth | ||
) |
SpikeStorage::~SpikeStorage | ( | ) |
Definition at line 25 of file SpikeStorage.cpp.
|
private |
Definition at line 67 of file SpikeStorage.cpp.
References _cellSelfCounts, _conn, _localCellSelfCount, CRConnectivity::getRowSite(), and StorageSite::getSelfCount().
Referenced by init().
|
inline |
|
inline |
Definition at line 36 of file SpikeStorage.h.
References _LSPKCountGhost.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setLMtrx().
|
inline |
|
inline |
Definition at line 31 of file SpikeStorage.h.
References _LSPK_I.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setLMtrx().
|
inline |
Definition at line 32 of file SpikeStorage.h.
References _LSPK_J.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setLMtrx().
|
inline |
|
inline |
Definition at line 28 of file SpikeStorage.h.
References _LSPK_OFFD_PTR.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setLMtrx().
|
inline |
Definition at line 37 of file SpikeStorage.h.
References _RSPKCountGhost.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setRMtrx().
|
inline |
|
inline |
Definition at line 33 of file SpikeStorage.h.
References _RSPK_I.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setRMtrx().
|
inline |
Definition at line 34 of file SpikeStorage.h.
References _RSPK_J.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setRMtrx().
|
inline |
|
inline |
Definition at line 29 of file SpikeStorage.h.
References _RSPK_OFFD_PTR.
Referenced by SpikeMatrix< T_Diag, T_OffDiag, X >::setRMtrx().
|
private |
Definition at line 32 of file SpikeStorage.cpp.
References _bandwidth, _cellSelfCounts, _conn, _LSPK_GHOST, _LSPK_I, _LSPK_INTERIOR, _LSPK_J, _LSPK_OFFD_PTR, _LSPKCountGhost, _procID, _RSPK_GHOST, _RSPK_I, _RSPK_INTERIOR, _RSPK_J, _RSPK_OFFD_PTR, _RSPKCountGhost, gatherCellSizes(), CRConnectivity::getRowSite(), StorageSite::getSelfCount(), setGlobalIndices(), setOffDiagPtr(), and syncCellIDs().
Referenced by SpikeStorage().
|
private |
Definition at line 109 of file SpikeStorage.cpp.
References _bandwidth, _cellSelfCounts, _conn, _ghostMap, _LSPK_GHOST, _LSPK_I, _LSPK_INTERIOR, _LSPK_J, _LSPKCountGhost, _procID, _RSPK_GHOST, _RSPK_I, _RSPK_INTERIOR, _RSPK_J, _RSPKCountGhost, StorageSite::getGatherMap(), StorageSite::getGatherProcID(), Array< T >::getLength(), and CRConnectivity::getRowSite().
Referenced by init().
|
private |
Definition at line 156 of file SpikeStorage.cpp.
References _conn, _LSPK_GHOST, _LSPK_INTERIOR, _LSPK_OFFD_PTR, _RSPK_GHOST, _RSPK_INTERIOR, _RSPK_OFFD_PTR, CRConnectivity::getCol(), and CRConnectivity::getRow().
Referenced by init().
|
private |
Definition at line 77 of file SpikeStorage.cpp.
References _conn, _ghostMap, StorageSite::getCount(), CRConnectivity::getRowSite(), StorageSite::getSelfCount(), and Array< T >::zero().
Referenced by init().
|
private |
Definition at line 50 of file SpikeStorage.h.
Referenced by getBandWidth(), init(), and setGlobalIndices().
|
private |
Definition at line 56 of file SpikeStorage.h.
Referenced by gatherCellSizes(), init(), and setGlobalIndices().
|
private |
Definition at line 49 of file SpikeStorage.h.
Referenced by gatherCellSizes(), init(), setGlobalIndices(), setOffDiagPtr(), and syncCellIDs().
|
private |
Definition at line 54 of file SpikeStorage.h.
Referenced by setGlobalIndices(), and syncCellIDs().
|
private |
Definition at line 67 of file SpikeStorage.h.
|
private |
Definition at line 53 of file SpikeStorage.h.
Referenced by gatherCellSizes().
|
private |
Definition at line 58 of file SpikeStorage.h.
Referenced by getLSPKGhost(), init(), setGlobalIndices(), and setOffDiagPtr().
|
private |
Definition at line 63 of file SpikeStorage.h.
Referenced by getLSPKIndexI(), init(), and setGlobalIndices().
|
private |
Definition at line 57 of file SpikeStorage.h.
Referenced by getLSPKInterior(), init(), setGlobalIndices(), and setOffDiagPtr().
|
private |
Definition at line 64 of file SpikeStorage.h.
Referenced by getLSPKIndexJ(), init(), and setGlobalIndices().
|
private |
Definition at line 59 of file SpikeStorage.h.
Referenced by getLSPKOffDiagPtr(), init(), and setOffDiagPtr().
|
private |
Definition at line 68 of file SpikeStorage.h.
Referenced by getLSPKCountGhost(), init(), and setGlobalIndices().
|
private |
Definition at line 52 of file SpikeStorage.h.
Referenced by init(), and setGlobalIndices().
|
private |
Definition at line 61 of file SpikeStorage.h.
Referenced by getRSPKGhost(), init(), setGlobalIndices(), and setOffDiagPtr().
|
private |
Definition at line 65 of file SpikeStorage.h.
Referenced by getRSPKIndexI(), init(), and setGlobalIndices().
|
private |
Definition at line 60 of file SpikeStorage.h.
Referenced by getRSPKInterior(), init(), setGlobalIndices(), and setOffDiagPtr().
|
private |
Definition at line 66 of file SpikeStorage.h.
Referenced by getRSPKIndexJ(), init(), and setGlobalIndices().
|
private |
Definition at line 62 of file SpikeStorage.h.
Referenced by getRSPKOffDiagPtr(), init(), and setOffDiagPtr().
|
private |
Definition at line 69 of file SpikeStorage.h.
Referenced by getRSPKCountGhost(), init(), and setGlobalIndices().