dune-grid 2.9.0
|
Container for equidistant coordinates in a YaspGrid with non-trivial origin. More...
#include <dune/grid/yaspgrid/coordinates.hh>
Public Types | |
typedef ct | ctype |
export the coordinate type More... | |
Public Member Functions | |
EquidistantOffsetCoordinates () | |
default constructor More... | |
EquidistantOffsetCoordinates (const Dune::FieldVector< ct, dim > &lowerLeft, const Dune::FieldVector< ct, dim > &upperRight, const std::array< int, dim > &s) | |
construct a container with all necessary information More... | |
ct | meshsize (int d, int i) const |
ct | coordinate (int d, int i) const |
int | size (int d) const |
ct | origin (int d) const |
EquidistantOffsetCoordinates< ct, dim > | refine (std::bitset< dim > ovlp_low, std::bitset< dim > ovlp_up, int overlap, bool keep_ovlp) const |
void | print (std::ostream &s) const |
print information on this container More... | |
Static Public Attributes | |
static const int | dimension = dim |
export dimension More... | |
Container for equidistant coordinates in a YaspGrid with non-trivial origin.
ct | the coordinate type |
dim | the dimension of the grid |
typedef ct Dune::EquidistantOffsetCoordinates< ct, dim >::ctype |
export the coordinate type
|
inline |
default constructor
|
inline |
construct a container with all necessary information
lowerLeft | the lower left corner of the grid |
upperRight | the upper right corner of the grid |
s | the size (in codim 0 elements) of the grid on this processor |
the size information is kept with this container, because this is the natural way to handle this for a tensorproduct grid.
|
inline |
d | the direction to be used |
i | the global coordinate index |
|
inline |
d | the direction to be used |
i | the global coordinate index where to return the meshsize |
|
inline |
d | the direction to be used |
|
inline |
print information on this container
|
inline |
ovlp_low | whether we have an overlap area at the lower processor boundary |
ovlp_up | whether we have an overlap area at the upper processor boundary |
overlap | the size of the overlap region |
keep_ovlp | the refinement option parameter to be used |
|
inline |
d | the direction to be used |
|
static |
export dimension