|
PLaSK library
|
Wrapper to TriangularMesh2D which allows for accessing FEM-like elements. More...
#include <plask/mesh/rectangular2d.hpp>
Public Types | |
| typedef IndexedIterator< const RectangularMesh2D, Element, deref > | const_iterator |
| typedef const_iterator | iterator |
Public Member Functions | |
| Elements (const RectangularMesh2D *mesh) | |
| Element | operator[] (std::size_t i) const |
Get i-th element. | |
| Element | operator() (std::size_t i0, std::size_t i1) const |
Get element with indices i0 and i1. | |
| std::size_t | size () const |
| Get number of elements. | |
| const_iterator | begin () const |
| const_iterator | end () const |
Public Attributes | |
| const RectangularMesh2D * | mesh |
Wrapper to TriangularMesh2D which allows for accessing FEM-like elements.
It works like read-only, random access container of Element objects.
Definition at line 178 of file rectangular2d.hpp.
| typedef IndexedIterator<const RectangularMesh2D, Element, deref> plask::RectangularMesh2D::Elements::const_iterator |
Definition at line 182 of file rectangular2d.hpp.
Definition at line 183 of file rectangular2d.hpp.
|
inline |
Definition at line 187 of file rectangular2d.hpp.
|
inline |
Definition at line 210 of file rectangular2d.hpp.
|
inline |
Definition at line 213 of file rectangular2d.hpp.
|
inline |
Get element with indices i0 and i1.
| i0,i1 | element index |
i0 and i1 Definition at line 201 of file rectangular2d.hpp.
|
inline |
Get i-th element.
| i | element index |
i-th element Definition at line 194 of file rectangular2d.hpp.
|
inline |
| const RectangularMesh2D* plask::RectangularMesh2D::Elements::mesh |
Definition at line 185 of file rectangular2d.hpp.