PolyFEM
|
#include <WildRemesher.hpp>
Public Types | |
using | VectorNd = WildRemesher< WMTKMesh >::VectorNd |
Public Member Functions | |
VectorNd | displacement () const |
Current displacement from rest position to current position. | |
VectorNd | prev_position (const int i) const |
Previous position of the vertex. | |
VectorNd | position_i (const int i) const |
Get the position of the vertex at different times. | |
Static Public Member Functions | |
static VertexAttributes | edge_collapse (const VertexAttributes &v0, const VertexAttributes &v1, const CollapseEdgeTo collapse_to) |
Public Attributes | |
VectorNd | rest_position |
VectorNd | position |
Eigen::MatrixXd | projection_quantities |
Quantities to be projected (dim × n_quantities) | |
bool | fixed = false |
size_t | partition_id = 0 |
Definition at line 327 of file WildRemesher.hpp.
using polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::VectorNd = WildRemesher<WMTKMesh>::VectorNd |
Definition at line 329 of file WildRemesher.hpp.
|
inline |
Current displacement from rest position to current position.
Definition at line 343 of file WildRemesher.hpp.
References polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position, and polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::rest_position.
|
static |
Definition at line 267 of file Collapse.cpp.
References polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::fixed, polyfem::mesh::MIDPOINT, polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::partition_id, polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position, polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::projection_quantities, polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::rest_position, polyfem::mesh::V0, and polyfem::mesh::V1.
|
inline |
Get the position of the vertex at different times.
i | 0: rest position, 1–(n_quantities()//3): previous position, otherwise: current position |
Definition at line 357 of file WildRemesher.hpp.
References polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position, polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::prev_position(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::projection_quantities, and polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::rest_position.
|
inline |
Previous position of the vertex.
i | in [0, n_quantities()//3) the i-th previous position |
Definition at line 348 of file WildRemesher.hpp.
References polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::projection_quantities, and polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::rest_position.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position_i().
bool polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::fixed = false |
Definition at line 338 of file WildRemesher.hpp.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::edge_collapse(), and polyfem::mesh::WildRemesher< WMTKMesh >::split_edge_after().
size_t polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::partition_id = 0 |
Definition at line 339 of file WildRemesher.hpp.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::edge_collapse(), and polyfem::mesh::WildRemesher< WMTKMesh >::split_edge_after().
VectorNd polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position |
Definition at line 332 of file WildRemesher.hpp.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::displacement(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::edge_collapse(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position_i(), and polyfem::mesh::WildRemesher< WMTKMesh >::split_edge_after().
Eigen::MatrixXd polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::projection_quantities |
Quantities to be projected (dim × n_quantities)
Definition at line 335 of file WildRemesher.hpp.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::edge_collapse(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position_i(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::prev_position(), and polyfem::mesh::WildRemesher< WMTKMesh >::split_edge_after().
VectorNd polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::rest_position |
Definition at line 331 of file WildRemesher.hpp.
Referenced by polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::displacement(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::edge_collapse(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::position_i(), polyfem::mesh::WildRemesher< WMTKMesh >::VertexAttributes::prev_position(), and polyfem::mesh::WildRemesher< WMTKMesh >::split_edge_after().