|
Peano
|
Functions | |
| getMatDimensions (fName) | |
| readUntil (line, character, index=0) | |
| getFirstColNumberAndEntryFromLine (line) | |
| convertLineToVector (line, dim) | |
| populateMatrix (fName) | |
| populateRHS (fName, solDim=None) | |
| getRankOfMatrix (mat) | |
Variables | |
| dim = getMatDimensions("mat.xml") | |
| mat = populateMatrix("mat.xml") | |
| rhs = populateRHS("rhs.xml") | |
| int | numCells = 27 * 27 |
| int | solDim = 4 * numCells |
| sol = populateRHS("solution.xml") | |
| petscReader.convertLineToVector | ( | line, | |
| dim | |||
| ) |
Definition at line 39 of file petscReader.py.
References getFirstColNumberAndEntryFromLine(), and readUntil().
Referenced by populateMatrix().


| petscReader.getFirstColNumberAndEntryFromLine | ( | line | ) |
Definition at line 22 of file petscReader.py.
References readUntil().
Referenced by convertLineToVector().


| petscReader.getMatDimensions | ( | fName | ) |
Definition at line 4 of file petscReader.py.
Referenced by populateMatrix(), and populateRHS().

| petscReader.getRankOfMatrix | ( | mat | ) |
Definition at line 84 of file petscReader.py.
| petscReader.populateMatrix | ( | fName | ) |
Definition at line 51 of file petscReader.py.
References convertLineToVector(), and getMatDimensions().

| petscReader.populateRHS | ( | fName, | |
solDim = None |
|||
| ) |
Definition at line 67 of file petscReader.py.
References getMatDimensions().

| petscReader.readUntil | ( | line, | |
| character, | |||
index = 0 |
|||
| ) |
Definition at line 15 of file petscReader.py.
Referenced by convertLineToVector(), and getFirstColNumberAndEntryFromLine().

| petscReader.dim = getMatDimensions("mat.xml") |
Definition at line 91 of file petscReader.py.
| petscReader.mat = populateMatrix("mat.xml") |
Definition at line 94 of file petscReader.py.
| int petscReader.numCells = 27 * 27 |
Definition at line 105 of file petscReader.py.
| petscReader.rhs = populateRHS("rhs.xml") |
Definition at line 99 of file petscReader.py.
| petscReader.sol = populateRHS("solution.xml") |
Definition at line 108 of file petscReader.py.
| int petscReader.solDim = 4 * numCells |
Definition at line 106 of file petscReader.py.