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

Classes | Public Member Functions | Private Attributes | Static Private Attributes
Cube Class Reference

The surface of the unit cube in 3D made out of triangles. More...

#include <cube.hh>

Inheritance diagram for Cube:
Inheritance graph
[legend]
Collaboration diagram for Cube:
Collaboration graph
[legend]

List of all members.

Classes

class  S

Public Member Functions

 Cube ()
 Cube (const Real sizex=1.0, const Real sizey=1.0, const Real sizez=1.0)
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.
uint ncell () const
 Returns the number of cells in the mesh.
concepts::Scan2scan ()
 Returns a scanner over the cells of the mesh.
concepts::Scan3scan ()
 Returns a scanner over the cells of the mesh.
virtual ~Cube ()
virtual ~Cube ()

Private Attributes

concepts::Triangle3dcell_ [ncell_]
concepts::Hexahedron3dcell_ [ncell_]
concepts::Edgeedg_ [18]
concepts::Hexahedronhex_ [ncell_]
concepts::Quadquad_ [6]
concepts::Triangletri_ [ncell_]
concepts::Vertexvtx_ [8]

Static Private Attributes

static const uint ncell_ = 12

Detailed Description

The surface of the unit cube in 3D made out of triangles.

$[0,a] \times [0,b] \times [0,c]$ in one hexahedron.

Author:
Philipp Frauenfelder, 2001

Definition at line 14 of file cube.hh.


Constructor & Destructor Documentation

Cube::Cube ( )
virtual Cube::~Cube ( ) [virtual]
Cube::Cube ( const Real  sizex = 1.0,
const Real  sizey = 1.0,
const Real  sizez = 1.0 
)
virtual Cube::~Cube ( ) [virtual]

Member Function Documentation

virtual std::ostream& Cube::info ( std::ostream &  os) const [virtual]

Returns information in an output stream.

Reimplemented from concepts::Mesh.

uint Cube::ncell ( ) const [inline, virtual]

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 41 of file cube.hh.

uint Cube::ncell ( ) const [inline, virtual]

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 24 of file cube.hh.

concepts::Scan3* Cube::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 25 of file cube.hh.

concepts::Scan2* Cube::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 42 of file cube.hh.


Member Data Documentation

Definition at line 35 of file cube.hh.

Definition at line 47 of file cube.hh.

Definition at line 32 of file cube.hh.

Definition at line 45 of file cube.hh.

static const uint Cube::ncell_ = 12 [static, private]

Definition at line 15 of file cube.hh.

concepts::Quad* Cube::quad_[6] [private]

Definition at line 44 of file cube.hh.

Definition at line 33 of file cube.hh.

Definition at line 31 of file cube.hh.


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

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