Coordinate container for a tensor product YaspGrid.
More...
#include <dune/grid/yaspgrid/coordinates.hh>
template<class ct, int dim>
class Dune::TensorProductCoordinates< ct, dim >
Coordinate container for a tensor product YaspGrid.
- Template Parameters
-
ct | the coordinate type |
dim | the dimension of the grid |
§ ctype
template<class ct, int dim>
export the coordinate type
§ TensorProductCoordinates() [1/2]
template<class ct, int dim>
§ TensorProductCoordinates() [2/2]
template<class ct, int dim>
construct a container with all necessary information
- Parameters
-
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. |
§ coordinate()
template<class ct, int dim>
- Returns
- a coordinate given a direction and an index
- Parameters
-
d | the direction to be used |
i | the global coordinate index |
§ meshsize()
template<class ct, int dim>
- Returns
- the meshsize in given direction at given position
- Parameters
-
d | the direction to be used |
i | the global coordinate index where to return the meshsize |
§ print()
template<class ct, int dim>
print information on this container
§ refine()
template<class ct, int dim>
- Returns
- a container that represents the same grid after one step of uniform refinement
- Parameters
-
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 |
§ size()
template<class ct, int dim>
- Returns
- the size in given direction
- Parameters
-
d | the direction to be used |
§ dimension
template<class ct, int dim>
The documentation for this class was generated from the following file: