ViennaLS
|
Removes all level set points, which do not have at least one oppositely signed neighbour (Meaning they do not lie directly at the interface). Afterwards the level set will occupy the least memory possible. More...
#include <lsPrune.hpp>
Public Member Functions | |
Prune () | |
Prune (SmartPointer< Domain< T, D > > passedlsDomain) | |
void | setLevelSet (SmartPointer< Domain< T, D > > passedlsDomain) |
void | setUpdatePointData (bool update) |
Set whether to update the point data stored in the LS during this algorithm. Defaults to true. | |
void | setRemoveStrayZeros (bool rsz) |
Set whether to remove exact zero values between grid points with the same sign. | |
void | apply () |
removes all grid points, which do not have at least one opposite signed neighbour returns the number of removed points | |
Removes all level set points, which do not have at least one oppositely signed neighbour (Meaning they do not lie directly at the interface). Afterwards the level set will occupy the least memory possible.
|
inline |
|
inline |
|
inline |
removes all grid points, which do not have at least one opposite signed neighbour returns the number of removed points
|
inline |
|
inline |
Set whether to remove exact zero values between grid points with the same sign.
|
inline |
Set whether to update the point data stored in the LS during this algorithm. Defaults to true.