|
MyraMath
|
Helper routines for reordering/filling 3D structured grids. Used by many unit tests. More...
#include <myramath/MYRAMATH_EXPORT.h>#include <myramath/utility/Number.h>#include <utility>#include <vector>Go to the source code of this file.
Classes | |
| class | myra::SparseMatrix< Number > |
| Stores an IxJ matrix A in compressed sparse column format. More... | |
| class | myra::Natural3D |
| A helper class that generates a natural ordering on a 3D structured grid of size IxJxK. More... | |
Functions | |
| Pattern | myra::stencil3 (int I, int J, int K) |
| Returns the Pattern of 7-point stencil on a 3D structured grid of size IxJxK. | |
| template<class Number > | |
| SparseMatrix< Number > | myra::laplacian3 (int I, int J, int K) |
| Returns the graph laplacian of a 3D structured grid of size IxJxK. | |
| template<> | |
| SparseMatrix< NumberS > | myra::laplacian3< NumberS > (int I, int J, int K) |
| template<> | |
| SparseMatrix< NumberD > | myra::laplacian3< NumberD > (int I, int J, int K) |
| template<> | |
| SparseMatrix< NumberC > | myra::laplacian3< NumberC > (int I, int J, int K) |
| template<> | |
| SparseMatrix< NumberZ > | myra::laplacian3< NumberZ > (int I, int J, int K) |
| Permutation | myra::bisect3 (int I, int J, int K) |
| Reorders stencil3() / laplacian3() unknowns using nested bisection. | |
| Pattern | myra::stencil3_unsymmetric (int I, int J, int K, double density=0.5) |
| Like stencil3(), but with entries randomly dropped to make it unsymmetric. | |
Helper routines for reordering/filling 3D structured grids. Used by many unit tests.
1.8.13