MyraMath
|
A helper class that generates a natural ordering on a 2D structured grid of size IxJ. More...
#include <laplacian2.h>
Public Member Functions | |
Natural2D (int in_I, int in_J) | |
Constructs ordering with specified size. | |
std::vector< int > | size () const |
Returns size of subwindow. | |
int | operator() (int i, int j) const |
Returns natural ordering in 2D. Maps (i,j) to u. | |
std::pair< Natural2D, Natural2D > | i_split () const |
Split along I. | |
std::pair< Natural2D, Natural2D > | j_split () const |
Split along J. | |
A helper class that generates a natural ordering on a 2D structured grid of size IxJ.