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

Private Member Functions | Private Attributes
concepts::QuadGrid2D Class Reference

Mesh for $[0,1]^2$ with a given number of quadrilaterals. More...

#include <quadGrid2D.hh>

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

List of all members.

Private Member Functions

void construct_ (const Array< uint > &attrib, uint N)
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
void lor (uint N)
uint ncell () const
 Returns the number of cells in the mesh.
 QuadGrid2D (uint N)
 Constructor.
 QuadGrid2D ()
 Default Constructor.
Scan2scan ()
 Returns a scanner over the cells of the mesh.
virtual ~QuadGrid2D ()
 Destructor.

Private Attributes

Sequence< Cell2 * > cell_
Sequence< Edge * > edg_
Sequence< Quad * > quad_
Sequence< Vertex * > vtx_

Detailed Description

Mesh for $[0,1]^2$ with a given number of quadrilaterals.

All boundaries have attribute 0.

Author:
Gruhlke and Heier, 2011

Definition at line 20 of file quadGrid2D.hh.


Constructor & Destructor Documentation

concepts::QuadGrid2D::QuadGrid2D ( ) [private]

Default Constructor.

Constructs the unit square in R^2.

concepts::QuadGrid2D::QuadGrid2D ( uint  N) [private]

Constructor.

Constructs a grid of the unit square in R^2 with 4^N cells. N should be small!

virtual concepts::QuadGrid2D::~QuadGrid2D ( ) [private, virtual]

Destructor.

Deletes the NQuad-Object and release used memory.


Member Function Documentation

void concepts::QuadGrid2D::construct_ ( const Array< uint > &  attrib,
uint  N 
) [private]
virtual std::ostream& concepts::QuadGrid2D::info ( std::ostream &  os) const [private, virtual]

Returns information in an output stream.

Reimplemented from concepts::Mesh.

void concepts::QuadGrid2D::lor ( uint  N) [private]
uint concepts::QuadGrid2D::ncell ( ) const [inline, private, virtual]

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 47 of file quadGrid2D.hh.

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

Returns a scanner over the cells of the mesh.

Postcondition:
The scanner must be deleted after usage. This has to be done by the user.

Implements concepts::Mesh2.

Definition at line 49 of file quadGrid2D.hh.


Member Data Documentation

Definition at line 63 of file quadGrid2D.hh.

Definition at line 61 of file quadGrid2D.hh.

Definition at line 62 of file quadGrid2D.hh.

Definition at line 60 of file quadGrid2D.hh.


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

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