Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::UniformlyRefinedMesh2 Class Reference

Wrapper class refining an existing 2d mesh uniformly. More...

#include <uniformlyRefinedMesh2.hh>

Inheritance diagram for concepts::UniformlyRefinedMesh2:
Inheritance graph
[legend]
Collaboration diagram for concepts::UniformlyRefinedMesh2:
Collaboration graph
[legend]

List of all members.

Classes

class  S
 Scanner class for UniformlyRefindeMesh2. More...

Public Member Functions

virtual uint ncell () const
 Returns the number of cells in the mesh.
virtual Scan2scan ()
 Returns a scanner over the cells of the mesh.
 UniformlyRefinedMesh2 (Mesh2 &coarseMesh, uint level)
 Constructor.
virtual ~UniformlyRefinedMesh2 ()
 Destructor.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Member Functions

void addCell (Cell2 *cell, uint level)

Private Attributes

std::vector< Cell2 * > cell_

Detailed Description

Wrapper class refining an existing 2d mesh uniformly.

This class then represents a mesh where each cell of the original mesh is subdivided into 4level cells.

Author:
Christoph Winkelmann, 2003

Definition at line 15 of file uniformlyRefinedMesh2.hh.


Constructor & Destructor Documentation

concepts::UniformlyRefinedMesh2::UniformlyRefinedMesh2 ( Mesh2 coarseMesh,
uint  level 
)

Constructor.

Takes an existing mesh to be refined by a given level

Parameters:
coarseMeshMesh to be refined
levelDesired level of refinement
virtual concepts::UniformlyRefinedMesh2::~UniformlyRefinedMesh2 ( ) [inline, virtual]

Destructor.

Definition at line 23 of file uniformlyRefinedMesh2.hh.


Member Function Documentation

void concepts::UniformlyRefinedMesh2::addCell ( Cell2 cell,
uint  level 
) [private]
virtual std::ostream& concepts::Mesh::info ( std::ostream &  os) const [protected, virtual, inherited]
virtual uint concepts::UniformlyRefinedMesh2::ncell ( ) const [inline, virtual]

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 25 of file uniformlyRefinedMesh2.hh.

virtual Scan2* concepts::UniformlyRefinedMesh2::scan ( ) [inline, virtual]

Returns a scanner over the cells of the mesh.

Implements concepts::Mesh2.

Definition at line 27 of file uniformlyRefinedMesh2.hh.


Member Data Documentation

Definition at line 43 of file uniformlyRefinedMesh2.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)