SpatialOps
MemoryWindow.h File Reference
#include <cstddef>
#include <vector>
#include <iterator>
#include <sstream>
#include <iostream>
#include <spatialops/SpatialOpsConfigure.h>
#include <spatialops/structured/IntVec.h>
#include <spatialops/structured/GhostData.h>
#include <spatialops/structured/BoundaryCellInfo.h>
#include <cassert>
#include <stdexcept>
Include dependency graph for MemoryWindow.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SpatialOps::MemoryWindow
 Provides tools to index into a sub-block of memory. More...
 
class  SpatialOps::ConstFieldIterator< FieldType >
 provides iterator support for SpatialField. Only works for CPU. More...
 
class  SpatialOps::FieldIterator< FieldType >
 provides iterator support for SpatialField. Only works for CPU. More...
 
class  SpatialOps::ConstFieldIterator< FieldType >
 provides iterator support for SpatialField. Only works for CPU. More...
 

Functions

int SpatialOps::get_dim_with_ghost (const int nNoGhost, const int minusGhost, const int plusGhost, const int bc)
 obtain the number of points in the x direction More...
 
MemoryWindow SpatialOps::get_window_with_ghost (const IntVec &localDim, const GhostData &ghost, const BoundaryCellInfo &bc)
 Obtain the memory window for a field on a patch that is a single, contiguous memory block. More...