MyraMath
Public Member Functions | List of all members
myra::Natural1D Class Reference

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, Natural1Di_split () const
 Split along I.
 

Detailed Description

A helper class that generates a natural ordering on a 1D structured grid of size I.


The documentation for this class was generated from the following files: