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

#include <cube.hh>

Inheritance diagram for Cube:
concepts::Mesh3 concepts::Mesh concepts::OutputOperator

Classes

class  S
 

Public Member Functions

 Cube (const Real sizex=1.0, const Real sizey=1.0, const Real sizez=1.0)
 
 Cube (const Real sizex=1.0, const Real sizey=1.0, const Real sizez=1.0)
 
 Cube (const Real sizex=1.0, const Real sizey=1.0, const Real sizez=1.0)
 
 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. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
concepts::Scan3scan ()
 Returns a scanner over the cells of the mesh. More...
 
concepts::Scan3scan ()
 Returns a scanner over the cells of the mesh. More...
 
concepts::Scan3scan ()
 Returns a scanner over the cells of the mesh. More...
 
concepts::Scan3scan ()
 Returns a scanner over the cells of the mesh. More...
 
virtual ~Cube ()
 
virtual ~Cube ()
 
virtual ~Cube ()
 
virtual ~Cube ()
 

Static Public Attributes

static const uint ncell_ = 1
 

Private Attributes

concepts::Hexahedron3dcell_ [ncell_]
 
concepts::Edgeedg_ [12]
 
concepts::Hexahedronhex_ [ncell_]
 
concepts::Quadquad_ [6]
 
concepts::Vertexvtx_ [8]
 

Detailed Description

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

Author
Philipp Frauenfelder, 2001

Definition at line 19 of file cube.hh.

Constructor & Destructor Documentation

◆ Cube() [1/4]

Cube::Cube ( const Real  sizex = 1.0,
const Real  sizey = 1.0,
const Real  sizez = 1.0 
)

◆ ~Cube() [1/4]

virtual Cube::~Cube ( )
virtual

◆ Cube() [2/4]

Cube::Cube ( const Real  sizex = 1.0,
const Real  sizey = 1.0,
const Real  sizez = 1.0 
)

◆ ~Cube() [2/4]

virtual Cube::~Cube ( )
virtual

◆ Cube() [3/4]

Cube::Cube ( const Real  sizex = 1.0,
const Real  sizey = 1.0,
const Real  sizez = 1.0 
)

◆ ~Cube() [3/4]

virtual Cube::~Cube ( )
virtual

◆ Cube() [4/4]

Cube::Cube ( const Real  sizex = 1.0,
const Real  sizey = 1.0,
const Real  sizez = 1.0 
)

◆ ~Cube() [4/4]

virtual Cube::~Cube ( )
virtual

Member Function Documentation

◆ info() [1/4]

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

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ info() [2/4]

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

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ info() [3/4]

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

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ info() [4/4]

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

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ ncell() [1/4]

uint Cube::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 25 of file cube.hh.

◆ ncell() [2/4]

uint Cube::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 25 of file cube.hh.

◆ ncell() [3/4]

uint Cube::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 25 of file cube.hh.

◆ ncell() [4/4]

uint Cube::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 25 of file cube.hh.

◆ scan() [1/4]

concepts::Scan3* Cube::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::Mesh3.

Definition at line 26 of file cube.hh.

◆ scan() [2/4]

concepts::Scan3* Cube::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::Mesh3.

Definition at line 26 of file cube.hh.

◆ scan() [3/4]

concepts::Scan3* Cube::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::Mesh3.

Definition at line 26 of file cube.hh.

◆ scan() [4/4]

concepts::Scan3* Cube::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::Mesh3.

Definition at line 26 of file cube.hh.

Member Data Documentation

◆ cell_

concepts::Hexahedron3d * Cube::cell_
private

Definition at line 48 of file cube.hh.

◆ edg_

concepts::Edge * Cube::edg_
private

Definition at line 44 of file cube.hh.

◆ hex_

concepts::Hexahedron * Cube::hex_
private

Definition at line 46 of file cube.hh.

◆ ncell_

static const uint Cube::ncell_ = 1
static

Definition at line 21 of file cube.hh.

◆ quad_

concepts::Quad * Cube::quad_
private

Definition at line 45 of file cube.hh.

◆ vtx_

concepts::Vertex * Cube::vtx_
private

Definition at line 43 of file cube.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