#include <mapped-geometry.h>
Inheritance diagram for mapped_geometry_reg2d_base:


Public Types | |
| typedef CoordMap::result_type | coord_type |
| typedef RegGrid2D | grid_type |
| typedef RegGrid2D::index_type | index_type |
Public Methods | |
| mapped_geometry_reg2d_base () | |
| const grid_type & | TheGrid () const |
| const CoordMap & | TheMapping () const |
| unsigned | space_dimension () const |
| coord_type | coord (const Vertex &v) const |
Constructor | |
| mapped_geometry_reg2d_base (const CoordMap &ff, const RegGrid2D &gg) | |
| mapped_geometry_reg2d_base (const CoordMap &ff, const RegGrid2D &gg, const index_type &LL, const index_type &UR) | |
This class implements a straight-line geometry for the grid class RegGrid2D. The coordinates of the vertices are given by a mapping from the unit-square [0,1]x[0,1] to R^2 (or R^3, in principle. There are some problems, however. See below).
To this end, the given underlying grid G of type RegGrid2D is thought to be mapped onto the unit square, by default G.ll() -> (0.0,0.0) and G.ur() -> (1.0,1.0). A rectangle other than G.ll(),G.ur() may be specified that is mapped to [0,1]^2. This is useful e.g. for grids with overlaps or that are components of a larger grid, occupying only a part of the logical entire grid.
Definition at line 40 of file mapped-geometry.h.
|
|||||
|
Definition at line 45 of file mapped-geometry.h. Referenced by mapped_geometry_reg2d_base< CM >::space_dimension. |
|
|||||
|
Reimplemented from grid_types< RegGrid2D >. Definition at line 46 of file mapped-geometry.h. |
|
|||||
|
Definition at line 47 of file mapped-geometry.h. Referenced by mapped_geometry_reg2d_base< CM >::mapped_geometry_reg2d_base. |
|
|||||||||
|
Definition at line 49 of file mapped-geometry.h. |
|
||||||||||||||||
|
Definition at line 52 of file mapped-geometry.h. |
|
||||||||||||||||||||||||
|
Definition at line 60 of file mapped-geometry.h. |
|
|||||||||
|
Definition at line 70 of file mapped-geometry.h. |
|
|||||||||
|
Definition at line 74 of file mapped-geometry.h. |
|
|||||||||
|
Definition at line 77 of file mapped-geometry.h. |
|
||||||||||
|
Definition at line 79 of file mapped-geometry.h. |
1.2.11-20011104 written by Dimitri van Heesch,
© 1997-2000