Mesh for the interval of the real axis. More...
#include <meshes1D.hh>


Public Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| Line (Real v0, Real v1, Real v2, Real v3) | |
| Constructor for four vertices. | |
| Line (const uint n=1) | |
| Default constructor for interval (0,1). | |
| Line (Real left, Real right) | |
| Constructor for two vertices. | |
| Line (Real left, Real mid, Real right) | |
| Constructor for three vertices. | |
| unsigned int | ncell () const |
| Returns the number of cells in the mesh. | |
| Scan1 * | scan () |
| Returns a scanner over the cells of the mesh. | |
| virtual | ~Line () |
Private Member Functions | |
| void | construct_ (const Array< Real > coord) |
Private Attributes | |
| Sequence< Cell1 * > | cell_ |
| Sequence< Edge * > | edg_ |
| const uint | n_ |
| Sequence< Vertex * > | vtx_ |
Mesh for the interval of the real axis.
The two boundary vertices have attribute 1 and 2.
Definition at line 21 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 concepts::Line::~Line | ( | ) | [virtual] |
| virtual std::ostream& concepts::Line::info | ( | std::ostream & | os | ) | const [virtual] |
Returns information in an output stream.
Reimplemented from concepts::Mesh.
| unsigned int concepts::Line::ncell | ( | ) | const [inline, virtual] |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 40 of file meshes1D.hh.
| Scan1* concepts::Line::scan | ( | ) | [inline, virtual] |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh1.
Definition at line 41 of file meshes1D.hh.
Sequence<Cell1* > concepts::Line::cell_ [private] |
Definition at line 49 of file meshes1D.hh.
Sequence<Edge* > concepts::Line::edg_ [private] |
Definition at line 48 of file meshes1D.hh.
const uint concepts::Line::n_ [private] |
Definition at line 45 of file meshes1D.hh.
Sequence<Vertex*> concepts::Line::vtx_ [private] |
Definition at line 47 of file meshes1D.hh.