WXP C++ Library Version 6.74.9
|
This class pieces a set of grid together into a larger grid. More...
#include "../include/GridPiece.h"
Public Member Functions | |
int | getDomain (Grid &grid, int rnx, int rny, int rx, int ry, Domain &dom) |
int | set (Grid &grid, int rnx, int rny, Grid &igrid, int rx, int ry) |
int | set (Grid &grid, int rnx, int rny, Grid &igrid) |
int | add (Grid &grid, int x, int y, Grid &igrid) |
This class pieces a set of grid together into a larger grid.
Adds data to output grid
grid | Output grid |
x | X location of specific grid |
y | Y location of specific grid |
igrid | Input grid to add to output grid |
References WXP::Domain::getNx(), WXP::Grid::getNx(), WXP::Domain::getNy(), WXP::Grid::getNy(), WXP::Grid::getValue(), and WXP::Grid::setValue().
Sets up output grid
grid | Output grid |
rnx | Number of grids to piece in X direction |
rny | Number of grids to piece in Y direction |
igrid | A sample input grid to reference (assuming grids regular) |
rx | Offset of sample grid in X direction |
ry | Offset of sample grid in Y direction |
References WXP::Grid::allocData(), and WXP::Grid::setDomain().