Class documentation of Concepts

Loading...
Searching...
No Matches

#include <edgeMeshes.hh>

Inheritance diagram for concepts::EdgeMesh:
concepts::Mesh1 concepts::Mesh concepts::OutputOperator

Public Member Functions

 EdgeMesh (const uint n, bool closed, const Sequence< MappingEdge2d * > &maps, Attribute attrib=Attribute(), Sequence< Attribute > vattrib=Sequence< Attribute >())
 
 EdgeMesh (const MappingEdge2d *map, Attribute attrib=Attribute())
 
uint ncell () const
 Returns the number of cells in the mesh.
 
Scan1scan ()
 
const Sequence< Edge2d * > & cells () const
 

Protected Member Functions

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

Protected Attributes

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

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

◆ EdgeMesh() [1/2]

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

Constructor for edges forming a chain.

Parameters
nnumber of edges
closedif first and last node coincide
mapsedge parametrisations
attribedge attributes
vattribvertex attributes

◆ EdgeMesh() [2/2]

concepts::EdgeMesh::EdgeMesh ( const MappingEdge2d map,
Attribute  attrib = Attribute() 
)

Constructor for a single edge

Parameters
mapedge parametrisation
attribedge attribute

Member Function Documentation

◆ cells()

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

Definition at line 54 of file edgeMeshes.hh.

◆ info()

virtual std::ostream & concepts::EdgeMesh::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::Mesh.

◆ ncell()

uint concepts::EdgeMesh::ncell ( ) const
inlinevirtual

Returns the number of cells in the mesh.

Implements concepts::Mesh.

Definition at line 51 of file edgeMeshes.hh.

◆ scan()

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

Definition at line 52 of file edgeMeshes.hh.

Member Data Documentation

◆ cell_

Sequence<Edge2d*> concepts::EdgeMesh::cell_
protected

Cells.

Definition at line 66 of file edgeMeshes.hh.

◆ edges_

Array<MappingEdge2d*> concepts::EdgeMesh::edges_
protected

Edge parametrisation.

Definition at line 63 of file edgeMeshes.hh.

◆ n_

const uint concepts::EdgeMesh::n_
protected

Definition at line 59 of file edgeMeshes.hh.

◆ ncell_

uint concepts::EdgeMesh::ncell_
protected

Definition at line 60 of file edgeMeshes.hh.


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