concepts::Mesh1 Class Referenceabstract

An abstract class for 1D meshes. More...

#include <mesh.hh>

Inheritance diagram for concepts::Mesh1:
concepts::Mesh concepts::OutputOperator concepts::CircleBoundary concepts::EdgeMesh concepts::Line concepts::MutableMesh1 concepts::StraightPeriodicBoundary

Public Member Functions

virtual uint ncell () const =0
 Returns the number of cells in the mesh. More...
 
virtual Scan1scan ()=0
 Returns a scanner over the cells of the mesh. More...
 

Protected Member Functions

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

Detailed Description

An abstract class for 1D meshes.

Examples
meshes.cc.

Definition at line 94 of file mesh.hh.

Member Function Documentation

◆ info()

◆ ncell()

◆ scan()

virtual Scan1* concepts::Mesh1::scan ( )
pure 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::Mesh.

Implemented in concepts::MutableMesh1, concepts::Line, concepts::StraightPeriodicBoundary, concepts::CircleBoundary, and concepts::EdgeMesh.

Examples
meshes.cc.

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