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