concepts::SquareOneInfiniteRect Class Reference

Mesh consisting of two cells, one Quad2d and one InfiniteRect2d. More...

#include <infiniteMeshes.hh>

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

Classes

class  S
 

Public Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
unsigned int ncell () const
 Returns the number of cells in the mesh. More...
 
Scan2scan ()
 Returns a scanner over the cells of the mesh. More...
 
 SquareOneInfiniteRect (bool periodic=false)
 
virtual ~SquareOneInfiniteRect ()
 

Private Attributes

Cell2cell_ [2]
 
Edgeedg_ [4]
 
InfiniteEdgeinfEdg_ [2]
 
InfiniteQuadinfQuad_ [1]
 
bool periodic_
 
Quadquad_ [1]
 
Vertexvtx_ [4]
 

Detailed Description

Mesh consisting of two cells, one Quad2d and one InfiniteRect2d.

The quad is in $[0,1]^2$, flanked on whose top with an infinite rectangle, namely $[0,1]\times[1,\infty)$.

The lower edge has attribute 1. The edge between the lower and the upper cell has attribute 4.

The lower cell (Quad2d) has attribute 2, whereas the upper cell (InfiniteRect2d) has attribute 3.

Author
Kersten Schmidt, 2010

Definition at line 71 of file infiniteMeshes.hh.

Constructor & Destructor Documentation

◆ SquareOneInfiniteRect()

concepts::SquareOneInfiniteRect::SquareOneInfiniteRect ( bool  periodic = false)

◆ ~SquareOneInfiniteRect()

virtual concepts::SquareOneInfiniteRect::~SquareOneInfiniteRect ( )
virtual

Member Function Documentation

◆ info()

virtual std::ostream& concepts::SquareOneInfiniteRect::info ( std::ostream &  os) const
virtual

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ ncell()

unsigned int concepts::SquareOneInfiniteRect::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 94 of file infiniteMeshes.hh.

◆ scan()

Scan2* concepts::SquareOneInfiniteRect::scan ( )
inlinevirtual

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 95 of file infiniteMeshes.hh.

Member Data Documentation

◆ cell_

Cell2* concepts::SquareOneInfiniteRect::cell_[2]
private

Definition at line 89 of file infiniteMeshes.hh.

◆ edg_

Edge* concepts::SquareOneInfiniteRect::edg_[4]
private

Definition at line 85 of file infiniteMeshes.hh.

◆ infEdg_

InfiniteEdge* concepts::SquareOneInfiniteRect::infEdg_[2]
private

Definition at line 86 of file infiniteMeshes.hh.

◆ infQuad_

InfiniteQuad* concepts::SquareOneInfiniteRect::infQuad_[1]
private

Definition at line 88 of file infiniteMeshes.hh.

◆ periodic_

bool concepts::SquareOneInfiniteRect::periodic_
private

Definition at line 90 of file infiniteMeshes.hh.

◆ quad_

Quad* concepts::SquareOneInfiniteRect::quad_[1]
private

Definition at line 87 of file infiniteMeshes.hh.

◆ vtx_

Vertex* concepts::SquareOneInfiniteRect::vtx_[4]
private

Definition at line 84 of file infiniteMeshes.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich