|
dune-grid 2.10
|
Coordinate container for a tensor product YaspGrid. More...
#include <dune/grid/yaspgrid/coordinates.hh>
Public Types | |
| typedef ct | ctype |
| export the coordinate type | |
Public Member Functions | |
| TensorProductCoordinates () | |
| the default constructor | |
| TensorProductCoordinates (const std::array< std::vector< ct >, dim > &c, const std::array< int, dim > &offset) | |
| construct a container with all necessary information | |
| ct | meshsize (int d, int i) const |
| ct | coordinate (int d, int i) const |
| int | size (int d) const |
| TensorProductCoordinates< 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 | |
Static Public Attributes | |
| static const int | dimension = dim |
| export dimension | |
Coordinate container for a tensor product YaspGrid.
| ct | the coordinate type |
| dim | the dimension of the grid |
| typedef ct Dune::TensorProductCoordinates< ct, dim >::ctype |
export the coordinate type
|
inline |
the default constructor
|
inline |
construct a container with all necessary information
| c | the array of coordinate vectors |
| offset | the offset between global origin and processor origin the size information is deduced from c. Storing offset allows for use of global coordinates in the YaspGrid code. |
|
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 |
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