PLaSK library
|
Wrapper to TriangularMesh2D which allows for accessing FEM-like elements. More...
#include <plask/mesh/triangular2d.hpp>
Public Types | |
typedef IndexedIterator< const Elements, Element > | const_iterator |
typedef const_iterator | iterator |
Public Member Functions | |
Elements (const TriangularMesh2D &mesh) | |
Element | at (std::size_t index) const |
Element | operator[] (std::size_t index) const |
std::size_t | size () const |
Get number of elements (triangles) in the mesh. | |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
Public Attributes | |
const TriangularMesh2D & | 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 137 of file triangular2d.hpp.
Definition at line 160 of file triangular2d.hpp.
Definition at line 161 of file triangular2d.hpp.
|
inlineexplicit |
Definition at line 140 of file triangular2d.hpp.
|
inline |
Definition at line 142 of file triangular2d.hpp.
|
inline |
Definition at line 164 of file triangular2d.hpp.
|
inline |
Definition at line 158 of file triangular2d.hpp.
|
inline |
Definition at line 167 of file triangular2d.hpp.
|
inline |
Definition at line 148 of file triangular2d.hpp.
|
inline |
Get number of elements (triangles) in the mesh.
Definition at line 156 of file triangular2d.hpp.
const TriangularMesh2D& plask::TriangularMesh2D::Elements::mesh |
Definition at line 138 of file triangular2d.hpp.