Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::UniformlyRefinedMesh2 Class Reference

#include <uniformlyRefinedMesh2.hh>

Inheritance diagram for concepts::UniformlyRefinedMesh2:
concepts::Mesh2 concepts::Mesh concepts::OutputOperator

Public Member Functions

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

Protected Member Functions

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

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 22 of file uniformlyRefinedMesh2.hh.

Constructor & Destructor Documentation

◆ UniformlyRefinedMesh2()

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

◆ ~UniformlyRefinedMesh2()

virtual concepts::UniformlyRefinedMesh2::~UniformlyRefinedMesh2 ( )
inlinevirtual

Destructor.

Definition at line 30 of file uniformlyRefinedMesh2.hh.

Member Function Documentation

◆ info()

◆ ncell()

virtual uint concepts::UniformlyRefinedMesh2::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 32 of file uniformlyRefinedMesh2.hh.

◆ scan()

virtual Scan2 * concepts::UniformlyRefinedMesh2::scan ( )
inlinevirtual

Returns a scanner over the cells of the mesh.

Implements concepts::Mesh2.

Definition at line 34 of file uniformlyRefinedMesh2.hh.


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