Represent FEM-like element in Rectilinear.
More...
#include <plask/mesh/rectilinear3d.hpp>
|
| Element (const RectilinearMesh3D &mesh, std::size_t index0, std::size_t index1, std::size_t index2) |
| Construct element using mesh and element indexes.
|
|
| Element (const RectilinearMesh3D &mesh, std::size_t elementIndex) |
| Construct element using mesh and element index.
|
|
std::size_t | getIndex0 () const |
|
std::size_t | getIndex1 () const |
|
std::size_t | getIndex2 () const |
|
std::size_t | getLowerIndex0 () const |
|
std::size_t | getLowerIndex1 () const |
|
std::size_t | getLowerIndex2 () const |
|
double | getLower0 () const |
|
double | getLower1 () const |
|
double | getLower2 () const |
|
std::size_t | getUpperIndex0 () const |
|
std::size_t | getUpperIndex1 () const |
|
std::size_t | getUpperIndex2 () const |
|
double | getUpper0 () const |
|
double | getUpper1 () const |
|
double | getUpper2 () const |
|
double | getSize0 () const |
|
double | getSize1 () const |
|
double | getSize2 () const |
|
Vec< 3, double > | getSize () const |
|
Vec< 3, double > | getMidpoint () const |
|
std::size_t | getIndex () const |
|
std::size_t | getLoLoLoIndex () const |
|
std::size_t | getUpLoLoIndex () const |
|
std::size_t | getLoUpLoIndex () const |
|
std::size_t | getUpUpLoIndex () const |
|
std::size_t | getLoLoUpIndex () const |
|
std::size_t | getUpLoUpIndex () const |
|
std::size_t | getLoUpUpIndex () const |
|
std::size_t | getUpUpUpIndex () const |
|
Vec< 3, double > | getLoLoLo () const |
|
Vec< 3, double > | getUpLoLo () const |
|
Vec< 3, double > | getLoUpLo () const |
|
Vec< 3, double > | getUpUpLo () const |
|
Vec< 3, double > | getLoLoUp () const |
|
Vec< 3, double > | getUpLoUp () const |
|
Vec< 3, double > | getLoUpUp () const |
|
Vec< 3, double > | getUpUpUp () const |
|
Box3D | toBox () const |
|
bool | contains (Vec< 3, double > p) const |
| Check if point p is included in rectangle represented by this element.
|
|
Represent FEM-like element in Rectilinear.
Definition at line 63 of file rectilinear3d.hpp.
◆ Element() [1/2]
plask::RectilinearMesh3D::Element::Element |
( |
const RectilinearMesh3D & |
mesh, |
|
|
std::size_t |
index0, |
|
|
std::size_t |
index1, |
|
|
std::size_t |
index2 |
|
) |
| |
|
inline |
Construct element using mesh and element indexes.
- Parameters
-
mesh | mesh, this element is valid up to time of this mesh life |
index0,index1,index2 | axis 0, 1 and 2 indexes of element (equal to low corrner mesh indexes of element) |
Definition at line 74 of file rectilinear3d.hpp.
◆ Element() [2/2]
Construct element using mesh and element index.
- Parameters
-
mesh | mesh, this element is valid up to time of this mesh life |
elementIndex | index of element |
Definition at line 81 of file rectilinear3d.hpp.
◆ contains()
bool plask::RectilinearMesh3D::Element::contains |
( |
Vec< 3, double > |
p | ) |
const |
|
inline |
Check if point p
is included in rectangle represented by this
element.
- Parameters
-
- Returns
true
only if p
is included in this
Definition at line 207 of file rectilinear3d.hpp.
◆ getIndex()
std::size_t plask::RectilinearMesh3D::Element::getIndex |
( |
| ) |
const |
|
inline |
◆ getIndex0()
std::size_t plask::RectilinearMesh3D::Element::getIndex0 |
( |
| ) |
const |
|
inline |
◆ getIndex1()
std::size_t plask::RectilinearMesh3D::Element::getIndex1 |
( |
| ) |
const |
|
inline |
◆ getIndex2()
std::size_t plask::RectilinearMesh3D::Element::getIndex2 |
( |
| ) |
const |
|
inline |
◆ getLoLoLo()
Vec< 3, double > plask::RectilinearMesh3D::Element::getLoLoLo |
( |
| ) |
const |
|
inline |
- Returns
- position of the lower left back corner of this element
Definition at line 176 of file rectilinear3d.hpp.
◆ getLoLoLoIndex()
std::size_t plask::RectilinearMesh3D::Element::getLoLoLoIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the lower left back corner of this element
Definition at line 152 of file rectilinear3d.hpp.
◆ getLoLoUp()
Vec< 3, double > plask::RectilinearMesh3D::Element::getLoLoUp |
( |
| ) |
const |
|
inline |
- Returns
- position of the upper left back corner of this element
Definition at line 188 of file rectilinear3d.hpp.
◆ getLoLoUpIndex()
std::size_t plask::RectilinearMesh3D::Element::getLoLoUpIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the upper left back corner of this element
Definition at line 164 of file rectilinear3d.hpp.
◆ getLoUpLo()
Vec< 3, double > plask::RectilinearMesh3D::Element::getLoUpLo |
( |
| ) |
const |
|
inline |
- Returns
- position of the lower right back corner of this element
Definition at line 182 of file rectilinear3d.hpp.
◆ getLoUpLoIndex()
std::size_t plask::RectilinearMesh3D::Element::getLoUpLoIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the lower right back corner of this element
Definition at line 158 of file rectilinear3d.hpp.
◆ getLoUpUp()
Vec< 3, double > plask::RectilinearMesh3D::Element::getLoUpUp |
( |
| ) |
const |
|
inline |
- Returns
- position of the upper right back corner of this element
Definition at line 194 of file rectilinear3d.hpp.
◆ getLoUpUpIndex()
std::size_t plask::RectilinearMesh3D::Element::getLoUpUpIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the upper right back corner of this element
Definition at line 170 of file rectilinear3d.hpp.
◆ getLower0()
double plask::RectilinearMesh3D::Element::getLower0 |
( |
| ) |
const |
|
inline |
- Returns
- long coordinate of the back edge of the element
Definition at line 107 of file rectilinear3d.hpp.
◆ getLower1()
double plask::RectilinearMesh3D::Element::getLower1 |
( |
| ) |
const |
|
inline |
- Returns
- tran coordinate of the left edge of the element
Definition at line 110 of file rectilinear3d.hpp.
◆ getLower2()
double plask::RectilinearMesh3D::Element::getLower2 |
( |
| ) |
const |
|
inline |
- Returns
- vert coordinate of the bottom edge of the element
Definition at line 113 of file rectilinear3d.hpp.
◆ getLowerIndex0()
std::size_t plask::RectilinearMesh3D::Element::getLowerIndex0 |
( |
| ) |
const |
|
inline |
- Returns
- long index of the back edge of the element
Definition at line 98 of file rectilinear3d.hpp.
◆ getLowerIndex1()
std::size_t plask::RectilinearMesh3D::Element::getLowerIndex1 |
( |
| ) |
const |
|
inline |
◆ getLowerIndex2()
std::size_t plask::RectilinearMesh3D::Element::getLowerIndex2 |
( |
| ) |
const |
|
inline |
- Returns
- vert index of the bottom edge of the element
Definition at line 104 of file rectilinear3d.hpp.
◆ getMidpoint()
Vec< 3, double > plask::RectilinearMesh3D::Element::getMidpoint |
( |
| ) |
const |
|
inline |
◆ getSize()
Vec< 3, double > plask::RectilinearMesh3D::Element::getSize |
( |
| ) |
const |
|
inline |
◆ getSize0()
double plask::RectilinearMesh3D::Element::getSize0 |
( |
| ) |
const |
|
inline |
◆ getSize1()
double plask::RectilinearMesh3D::Element::getSize1 |
( |
| ) |
const |
|
inline |
◆ getSize2()
double plask::RectilinearMesh3D::Element::getSize2 |
( |
| ) |
const |
|
inline |
◆ getUpLoLo()
Vec< 3, double > plask::RectilinearMesh3D::Element::getUpLoLo |
( |
| ) |
const |
|
inline |
- Returns
- position of the lower left front corner of this element
Definition at line 179 of file rectilinear3d.hpp.
◆ getUpLoLoIndex()
std::size_t plask::RectilinearMesh3D::Element::getUpLoLoIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the lower left front corner of this element
Definition at line 155 of file rectilinear3d.hpp.
◆ getUpLoUp()
Vec< 3, double > plask::RectilinearMesh3D::Element::getUpLoUp |
( |
| ) |
const |
|
inline |
- Returns
- position of the upper left front corner of this element
Definition at line 191 of file rectilinear3d.hpp.
◆ getUpLoUpIndex()
std::size_t plask::RectilinearMesh3D::Element::getUpLoUpIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the upper left front corner of this element
Definition at line 167 of file rectilinear3d.hpp.
◆ getUpper0()
double plask::RectilinearMesh3D::Element::getUpper0 |
( |
| ) |
const |
|
inline |
- Returns
- long coordinate of the front edge of the element
Definition at line 125 of file rectilinear3d.hpp.
◆ getUpper1()
double plask::RectilinearMesh3D::Element::getUpper1 |
( |
| ) |
const |
|
inline |
- Returns
- tran coordinate of the right edge of the element
Definition at line 128 of file rectilinear3d.hpp.
◆ getUpper2()
double plask::RectilinearMesh3D::Element::getUpper2 |
( |
| ) |
const |
|
inline |
- Returns
- vert coordinate of the top edge of the element
Definition at line 131 of file rectilinear3d.hpp.
◆ getUpperIndex0()
std::size_t plask::RectilinearMesh3D::Element::getUpperIndex0 |
( |
| ) |
const |
|
inline |
- Returns
- long index of the front edge of the element
Definition at line 116 of file rectilinear3d.hpp.
◆ getUpperIndex1()
std::size_t plask::RectilinearMesh3D::Element::getUpperIndex1 |
( |
| ) |
const |
|
inline |
- Returns
- tran index of the right edge of the element
Definition at line 119 of file rectilinear3d.hpp.
◆ getUpperIndex2()
std::size_t plask::RectilinearMesh3D::Element::getUpperIndex2 |
( |
| ) |
const |
|
inline |
◆ getUpUpLo()
Vec< 3, double > plask::RectilinearMesh3D::Element::getUpUpLo |
( |
| ) |
const |
|
inline |
- Returns
- position of the lower right front corner of this element
Definition at line 185 of file rectilinear3d.hpp.
◆ getUpUpLoIndex()
std::size_t plask::RectilinearMesh3D::Element::getUpUpLoIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the lower right front corner of this element
Definition at line 161 of file rectilinear3d.hpp.
◆ getUpUpUp()
Vec< 3, double > plask::RectilinearMesh3D::Element::getUpUpUp |
( |
| ) |
const |
|
inline |
- Returns
- position of the upper right front corner of this element
Definition at line 197 of file rectilinear3d.hpp.
◆ getUpUpUpIndex()
std::size_t plask::RectilinearMesh3D::Element::getUpUpUpIndex |
( |
| ) |
const |
|
inline |
- Returns
- index of the upper right front corner of this element
Definition at line 173 of file rectilinear3d.hpp.
◆ toBox()
Box3D plask::RectilinearMesh3D::Element::toBox |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: