#include <meshes1D.hh>
Public Member Functions | |
Line (const uint n=1) | |
Line (Real left, Real right) | |
Constructor for two vertices. | |
Line (Real left, Real mid, Real right) | |
Constructor for three vertices. | |
Line (Real v0, Real v1, Real v2, Real v3) | |
Constructor for four vertices. | |
unsigned int | ncell () const |
Returns the number of cells in the mesh. | |
Scan1 * | scan () |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Mesh for the interval of the real axis.
The two boundary vertices have attribute 1 and 2.
Definition at line 23 of file meshes1D.hh.
concepts::Line::Line | ( | const uint | n = 1 | ) |
Default constructor for interval (0,1).
The coordinates are uniformly distributed.
n | number of cells |
|
virtual |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 42 of file meshes1D.hh.
|
inlinevirtual |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh1.
Definition at line 43 of file meshes1D.hh.