A pointer class which can be transferred by Vertex::eat.
More...
#include <Vertex.hpp>
Public Member Functions | |
| Transferable_ptr (Mat< 3 > pos, bool mobile=false) | |
Create a vertex and construct a Transferable_ptr to it. | |
| Transferable_ptr (const Transferable_ptr &) | |
| copy semantics creates another pointer to the same vertex | |
| Transferable_ptr & | operator= (const Transferable_ptr &) |
| Vertex * | operator-> () |
| const Vertex * | operator-> () const |
| Vertex & | operator* () |
| const Vertex & | operator* () const |
Public Attributes | |
| double | shareable_value |
| use this member to store a value that should be synchronized among all elements sharing this vertex | |
| const bool | mobile |
whether this Transferable_ptr wants its vertex to be mobile | |
| bool | needs_smooth = true |
| whether this element needs this vertex to be smoothed | |
| double | fix_admis_coef = 0 |
A pointer class which can be transferred by Vertex::eat.
This is used by Deformed_element to track its vertices, which are initially separate and then eat those of neighboring elements as the grid connectivity is established. All Transferable_ptrs to a vertex collectively own it—it will be destroyed with the last of its Transferable_ptrs.
| bool hexed::Vertex::Transferable_ptr::needs_smooth = true |
whether this element needs this vertex to be smoothed
(Accessible_mesh::update will set this to false for elements that have already been sufficiently smoothed)