Go to Overview over all GrAL packages.
Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

mapped_geometry_reg2d_base Class Template Reference

geometry for RegGrid2D with explicit mapping. More...

#include <mapped-geometry.h>

Inheritance diagram for mapped_geometry_reg2d_base:

Inheritance graph
[legend]
Collaboration diagram for mapped_geometry_reg2d_base:

Collaboration graph
[legend]
List of all members.

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)

Detailed Description

template<class CoordMap>
class mapped_geometry_reg2d_base< CoordMap >

geometry for RegGrid2D with explicit mapping.

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.

Template parameters:
+ CoordMap:

Definition at line 40 of file mapped-geometry.h.


Member Typedef Documentation

template<class CoordMap>
typedef CoordMap::result_type mapped_geometry_reg2d_base::coord_type
 

Definition at line 45 of file mapped-geometry.h.

Referenced by mapped_geometry_reg2d_base< CM >::space_dimension.

template<class CoordMap>
typedef RegGrid2D mapped_geometry_reg2d_base::grid_type
 

Reimplemented from grid_types< RegGrid2D >.

Definition at line 46 of file mapped-geometry.h.

template<class CoordMap>
typedef RegGrid2D::index_type mapped_geometry_reg2d_base::index_type
 

Definition at line 47 of file mapped-geometry.h.

Referenced by mapped_geometry_reg2d_base< CM >::mapped_geometry_reg2d_base.


Constructor & Destructor Documentation

template<class CoordMap>
mapped_geometry_reg2d_base< CoordMap >::mapped_geometry_reg2d_base (    )  [inline]
 

Definition at line 49 of file mapped-geometry.h.

template<class CoordMap>
mapped_geometry_reg2d_base< CoordMap >::mapped_geometry_reg2d_base (  const CoordMap &    ff,
const RegGrid2D &    gg
)  [inline]
 

Definition at line 52 of file mapped-geometry.h.

template<class CoordMap>
mapped_geometry_reg2d_base< CoordMap >::mapped_geometry_reg2d_base (  const CoordMap &    ff,
const RegGrid2D &    gg,
const index_type &    LL,
const index_type &    UR
)  [inline]
 

Definition at line 60 of file mapped-geometry.h.


Member Function Documentation

template<class CoordMap>
const grid_type& mapped_geometry_reg2d_base< CoordMap >::TheGrid (    )  const [inline]
 

Definition at line 70 of file mapped-geometry.h.

template<class CoordMap>
const CoordMap& mapped_geometry_reg2d_base< CoordMap >::TheMapping (    )  const [inline]
 

Definition at line 74 of file mapped-geometry.h.

template<class CoordMap>
unsigned mapped_geometry_reg2d_base< CoordMap >::space_dimension (    )  const [inline]
 

Definition at line 77 of file mapped-geometry.h.

template<class CoordMap>
coord_type mapped_geometry_reg2d_base< CoordMap >::coord (  const Vertex &    v )  const [inline]
 

Definition at line 79 of file mapped-geometry.h.


The documentation for this class was generated from the following file:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:08:18 2002 for GrAL Cartesian2D by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000