|
PLaSK library
|
Wrapper to Rectilinear which allow to access to FEM-like elements. More...
#include <plask/mesh/rectilinear3d.hpp>
Public Types | |
| typedef IndexedIterator< const RectilinearMesh3D, Element, deref > | const_iterator |
| typedef const_iterator | iterator |
Public Member Functions | |
| Elements (const RectilinearMesh3D *mesh) | |
Create wrapper which allow to access to FEM-like elements of given mesh. | |
| Element | operator[] (std::size_t i) const |
Get i-th element. | |
| Element | operator() (std::size_t i0, std::size_t i1, std::size_t i2) const |
Get element with indices i0, i1, and i2. | |
| std::size_t | size () const |
| Get number of elements. | |
| const_iterator | begin () const |
| const_iterator | end () const |
Static Public Member Functions | |
| static Element | deref (const RectilinearMesh3D &mesh, std::size_t index) |
Public Attributes | |
| const RectilinearMesh3D * | mesh |
| Mesh which elements will be accessible by this. | |
Wrapper to Rectilinear which allow to access to FEM-like elements.
It works like read-only, random access container of Element objects.
Definition at line 216 of file rectilinear3d.hpp.
| typedef IndexedIterator<const RectilinearMesh3D, Element, deref> plask::RectilinearMesh3D::Elements::const_iterator |
Definition at line 220 of file rectilinear3d.hpp.
Definition at line 221 of file rectilinear3d.hpp.
|
inline |
Create wrapper which allow to access to FEM-like elements of given mesh.
| mesh | mesh which elements will be accessible by this |
Definition at line 230 of file rectilinear3d.hpp.
|
inline |
Definition at line 253 of file rectilinear3d.hpp.
|
inlinestatic |
Definition at line 218 of file rectilinear3d.hpp.
|
inline |
Definition at line 256 of file rectilinear3d.hpp.
|
inline |
Get element with indices i0, i1, and i2.
| i0,i1,i2 | element index |
i0, i1, and i2 Definition at line 244 of file rectilinear3d.hpp.
|
inline |
Get i-th element.
| i | element index |
i-th element Definition at line 237 of file rectilinear3d.hpp.
|
inline |
| const RectilinearMesh3D* plask::RectilinearMesh3D::Elements::mesh |
Mesh which elements will be accessible by this.
Definition at line 224 of file rectilinear3d.hpp.