Base class for edge meshes. More...

#include <edgeMeshes.hh>

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

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. More...
 
 EdgeMesh (const uint n, bool closed, const Sequence< MappingEdge2d * > &maps, Attribute attrib=Attribute(), Sequence< Attribute > vattrib=Sequence< Attribute >())
 Constructor for edges forming a chain. More...
 
uint ncell () const
 Returns the number of cells in the mesh. More...
 
Scan1scan ()
 Returns a scanner over the cells of the mesh. More...
 
virtual ~EdgeMesh ()
 

Protected Member Functions

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

Protected Attributes

Sequence< Edge2d * > cell_
 Cells. More...
 
Array< MappingEdge2d * > edges_
 Edge parametrisation. More...
 
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

◆ 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

◆ ~EdgeMesh()

virtual concepts::EdgeMesh::~EdgeMesh ( )
virtual

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.

◆ edg_

Array<Edge*> concepts::EdgeMesh::edg_
private

Definition at line 69 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.

◆ vtx_

Array<Vertex*> concepts::EdgeMesh::vtx_
private

Definition at line 68 of file edgeMeshes.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