SCIRun
5.0
|
Public Member Functions | |
TDCSMatrixBuilder () | |
SparseRowMatrixHandle | getOutput () |
void | initialize_mesh (FieldHandle mesh) |
bool | initialize_inputs (SparseRowMatrixHandle stiff, DenseMatrixHandle ElectrodeElements, DenseMatrixHandle ElectrodeElementType, DenseMatrixHandle ElectrodeElementDefinition, DenseMatrixHandle contactimpedance) |
bool | build_matrix (SparseRowMatrixHandle &output) |
bool | singlethread () |
|
inline |
bool build_matrix | ( | SparseRowMatrixHandle & | output | ) |
SparseRowMatrixHandle getOutput | ( | ) |
bool initialize_inputs | ( | SparseRowMatrixHandle | stiff, |
DenseMatrixHandle | ElectrodeElements, | ||
DenseMatrixHandle | ElectrodeElementType, | ||
DenseMatrixHandle | ElectrodeElementDefinition, | ||
DenseMatrixHandle | contactimpedance | ||
) |
void initialize_mesh | ( | FieldHandle | mesh | ) |
bool singlethread | ( | ) |
//the stiffness-matrix updates are written into SparseRowMatrixFromMap::Values additionalData //the additional matrices B,C are written into a efficient tree structure (SparseRowMatrixFromMap, thanks to Dan White) and later on added to the modified stiffness matrix to the resulting "tdcs_" - matrix //the final tdcs output matrix takes the original input stiffness and overwrites it with additionalData