PLaSK library
|
#include <plask/mesh/rectilinear3d.hpp>
Public Member Functions | |
template<typename... Args> | |
ElementMesh (const BaseMeshT *originalMesh, Args... args) | |
template<typename RandomAccessContainer > | |
auto | interpolateNearestNeighbor (const RandomAccessContainer &data, const Vec< 3 > &point, const InterpolationFlags &flags) const -> typename std::remove_reference< decltype(data[0])>::type |
Calculate (using nearest neighbor interpolation) value of data in point using data in points described by this mesh. | |
Public Attributes | |
const BaseMeshT * | originalMesh |
Original mesh. | |
Protected Member Functions | |
bool | hasSameNodes (const MeshD< 3 > &to_compare) const override |
Element mesh class.
This class has changed nearest neighnour interpolation, to consider original mesh boundaries
Definition at line 266 of file rectilinear3d.hpp.
|
inline |
Definition at line 272 of file rectilinear3d.hpp.
|
inlineoverrideprotected |
Definition at line 302 of file rectilinear3d.hpp.
|
inline |
Calculate (using nearest neighbor interpolation) value of data in point using data in points described by this mesh.
Consider original mesh boundaries for point selection
data | values of data in points describe by this mesh |
point | point in which value should be calculate |
point
Definition at line 282 of file rectilinear3d.hpp.
const BaseMeshT* plask::RectilinearMesh3D::ElementMesh< BaseMeshT >::originalMesh |
Original mesh.
Definition at line 269 of file rectilinear3d.hpp.