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

Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
concepts::EdgeMesh Class Reference

Base class for edge meshes. More...

#include <edgeMeshes.hh>

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

List of all members.

Classes

class  S
 scanner over the cells More...

Public Member Functions

const Sequence< Edge2d * > & cells () const
 EdgeMesh (const MappingEdge2d *map, Attribute attrib=Attribute())
 Constructor for a single edge.
 EdgeMesh (const uint n, bool closed, const Sequence< MappingEdge2d * > &maps, Attribute attrib=Attribute())
 Constructor for edges forming a chain.
uint ncell () const
 Returns the number of cells in the mesh.
Scan1scan ()
 Returns a scanner over the cells of the mesh.
virtual ~EdgeMesh ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

Sequence< Edge2d * > cell_
 Cells.
Array< MappingEdge2d * > edges_
 Edge parametrisation.
const uint n_
uint ncell_

Private Attributes

Array< Edge * > edg_
Array< Vertex * > vtx_

Detailed Description

Base class for edge meshes.

Creates the topological entities. The geometry has to be defined by derived classes.

Author:
Kersten Schmidt, 2009

Definition at line 27 of file edgeMeshes.hh.


Constructor & Destructor Documentation

concepts::EdgeMesh::EdgeMesh ( const uint  n,
bool  closed,
const Sequence< MappingEdge2d * > &  maps,
Attribute  attrib = Attribute() 
)

Constructor for edges forming a chain.

Parameters:
nnumber of edges
closedif first and last node coincide
mapsedge parametrisations
attribedge attributes
concepts::EdgeMesh::EdgeMesh ( const MappingEdge2d map,
Attribute  attrib = Attribute() 
)

Constructor for a single edge.

Parameters:
mapedge parametrisation
attribedge attribute
virtual concepts::EdgeMesh::~EdgeMesh ( ) [virtual]

Member Function Documentation

const Sequence<Edge2d*>& concepts::EdgeMesh::cells ( ) const [inline]

Definition at line 52 of file edgeMeshes.hh.

virtual std::ostream& concepts::EdgeMesh::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Mesh.

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

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 49 of file edgeMeshes.hh.

Scan1* concepts::EdgeMesh::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::Mesh1.

Definition at line 50 of file edgeMeshes.hh.


Member Data Documentation

Cells.

Definition at line 63 of file edgeMeshes.hh.

Definition at line 66 of file edgeMeshes.hh.

Edge parametrisation.

Definition at line 60 of file edgeMeshes.hh.

const uint concepts::EdgeMesh::n_ [protected]

Definition at line 56 of file edgeMeshes.hh.

uint concepts::EdgeMesh::ncell_ [protected]

Definition at line 57 of file edgeMeshes.hh.

Definition at line 65 of file edgeMeshes.hh.


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

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