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

Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
concepts::Square2 Class Reference

Mesh for $[0,1]^2$ with two quadrilaterals. More...

#include <square.hh>

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

List of all members.

Classes

class  S

Public Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
uint ncell () const
 Returns the number of cells in the mesh.
Scan2scan ()
 Returns a scanner over the cells of the mesh.
 Square2 (Array< uint > attrib)
 Constructor with edge attributes.
 Square2 ()
virtual ~Square2 ()

Private Member Functions

void construct_ (const Array< uint > &attrib)

Private Attributes

Quad2dcell_ [ncell_]
Edgeedg_ [7]
Quadquad_ [ncell_]
Vertexvtx_ [6]

Static Private Attributes

static const uint ncell_ = 2

Detailed Description

Mesh for $[0,1]^2$ with two quadrilaterals.

All boundaries have attribute 0.

One quad is $[0,1]\times[0,0.5]$ and the other one is $[0,1]\times[0.5,1]$.

Author:
Philipp Frauenfelder, 2001

Definition at line 92 of file square.hh.


Constructor & Destructor Documentation

concepts::Square2::Square2 ( )
concepts::Square2::Square2 ( Array< uint >  attrib)

Constructor with edge attributes.

virtual concepts::Square2::~Square2 ( ) [virtual]

Member Function Documentation

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

Returns information in an output stream.

Reimplemented from concepts::Mesh.

uint concepts::Square2::ncell ( ) const [inline, virtual]

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 101 of file square.hh.

Scan2* concepts::Square2::scan ( ) [inline, 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 102 of file square.hh.


Member Data Documentation

Definition at line 126 of file square.hh.

Definition at line 123 of file square.hh.

const uint concepts::Square2::ncell_ = 2 [static, private]

Definition at line 93 of file square.hh.

Definition at line 124 of file square.hh.

Definition at line 122 of file square.hh.


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

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