MeshKit
1.0
|
#include <SmartLaplaceWrapper.hpp>
Public Member Functions | |
MESQUITE_EXPORT | SmartLaplaceWrapper () |
void | set_cpu_time_limit (double seconds) |
Specify timeout after which untangler will exit. | |
double | get_cpu_time_limit () const |
void | set_vertex_movement_limit_factor (double f) |
Specify factor by which to minimum distance a vertex must move in an iteration to avoid termination of the untangler. | |
double | get_vertex_movement_limit_factor () const |
void | set_iteration_limit (int limit) |
Specify maximum number of iterations. | |
int | get_iteration_limit () const |
void | enable_culling (bool yesno) |
Cull vertices based on movement limit. | |
bool | is_culling_enabled () const |
MESQUITE_EXPORT | ~SmartLaplaceWrapper () |
Protected Member Functions | |
MESQUITE_EXPORT void | run_wrapper (Mesh *mesh, ParallelMesh *pmesh, MeshDomain *geom, Settings *settings, QualityAssessor *qa, MsqError &err) |
Private Attributes | |
double | maxTime |
double | movementFactor |
int | iterationLimit |
bool | doCulling |
Definition at line 41 of file SmartLaplaceWrapper.hpp.
Definition at line 47 of file SmartLaplaceWrapper.cpp.
~SmartLaplaceWrapper | ( | ) |
Definition at line 54 of file SmartLaplaceWrapper.cpp.
void enable_culling | ( | bool | yesno | ) | [inline] |
Cull vertices based on movement limit.
Definition at line 78 of file SmartLaplaceWrapper.hpp.
double get_cpu_time_limit | ( | ) | const [inline] |
Definition at line 54 of file SmartLaplaceWrapper.hpp.
int get_iteration_limit | ( | ) | const [inline] |
Definition at line 74 of file SmartLaplaceWrapper.hpp.
double get_vertex_movement_limit_factor | ( | ) | const [inline] |
Definition at line 65 of file SmartLaplaceWrapper.hpp.
bool is_culling_enabled | ( | ) | const [inline] |
Definition at line 80 of file SmartLaplaceWrapper.hpp.
void run_wrapper | ( | Mesh * | mesh, |
ParallelMesh * | pmesh, | ||
MeshDomain * | geom, | ||
Settings * | settings, | ||
QualityAssessor * | qa, | ||
MsqError & | err | ||
) | [protected] |
Definition at line 57 of file SmartLaplaceWrapper.cpp.
void set_cpu_time_limit | ( | double | seconds | ) | [inline] |
Specify timeout after which untangler will exit.
Specify a value less than or equal to zero for no limit
Definition at line 52 of file SmartLaplaceWrapper.hpp.
void set_iteration_limit | ( | int | limit | ) | [inline] |
Specify maximum number of iterations.
Specify a value less than or equal to zero for no limit
Definition at line 72 of file SmartLaplaceWrapper.hpp.
void set_vertex_movement_limit_factor | ( | double | f | ) | [inline] |
Specify factor by which to minimum distance a vertex must move in an iteration to avoid termination of the untangler.
Specify a value less than or equal to zero for no limit. Culling cannot be done w/out a limit on vertex movement
Definition at line 63 of file SmartLaplaceWrapper.hpp.
bool doCulling [private] |
Definition at line 101 of file SmartLaplaceWrapper.hpp.
int iterationLimit [private] |
Definition at line 100 of file SmartLaplaceWrapper.hpp.
double maxTime [private] |
Definition at line 99 of file SmartLaplaceWrapper.hpp.
double movementFactor [private] |
Definition at line 99 of file SmartLaplaceWrapper.hpp.