MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <math.h>
#include <vector>
#include <algorithm>
#include <cassert>
#include <functional>
#include <iostream>
#include <iomanip>
#include "../basecode/SparseMatrix.h"
#include "../basecode/doubleEq.h"
#include "FastMatrixElim.h"
Go to the source code of this file.
Functions | |
void | buildColIndex (unsigned int nrows, const vector< unsigned int > &parentVoxel, vector< vector< unsigned int > > &colIndex) |
static const unsigned int | EMPTY_VOXEL (-1) |
void | findAreaProportion (vector< double > &areaProportion, const vector< unsigned int > &parentVoxel, const vector< double > &area) |
void | sortByColumn (vector< unsigned int > &col, vector< double > &entry) |
void | testSorting () |
void buildColIndex | ( | unsigned int | nrows, |
const vector< unsigned int > & | parentVoxel, | ||
vector< vector< unsigned int > > & | colIndex | ||
) |
Definition at line 510 of file FastMatrixElim.cpp.
References EMPTY_VOXEL().
Referenced by FastMatrixElim::buildForDiffusion().
|
static |
Referenced by buildColIndex(), FastMatrixElim::buildForDiffusion(), findAreaProportion(), FastMatrixElim::hinesReorder(), and FastMatrixElim::setDiffusionAndTransport().
void findAreaProportion | ( | vector< double > & | areaProportion, |
const vector< unsigned int > & | parentVoxel, | ||
const vector< double > & | area | ||
) |
Motor transport into branches is divided between the child branches in proportion to their area. This function computes these proportions.
Definition at line 538 of file FastMatrixElim.cpp.
References EMPTY_VOXEL().
Referenced by FastMatrixElim::buildForDiffusion().
void sortByColumn | ( | vector< unsigned int > & | col, |
vector< double > & | entry | ||
) |
Definition at line 223 of file FastMatrixElim.cpp.
Referenced by FastMatrixElim::shuffleRows(), and testSorting().
void testSorting | ( | ) |
Definition at line 641 of file standaloneTestFastElim.cpp.
References sortByColumn().
Referenced by testDiffusion().