14 #ifndef POST_PROCESS_H
15 #define POST_PROCESS_H
47 #define TriangleSmoother_struct StressMajorizationSmoother_struct
78 #define SparseStressMajorizationSmoother_struct StressMajorizationSmoother_struct
84 int weighting_scheme,
int scale_initial_coord);
struct StressMajorizationSmoother_struct * StressMajorizationSmoother
void StressMajorizationSmoother_delete(StressMajorizationSmoother sm)
SpringSmoother SpringSmoother_new(SparseMatrix A, int dim, spring_electrical_control ctrl, real *x)
void(* data_deallocator)(void *)
void SpringSmoother_smooth(SpringSmoother sm, SparseMatrix A, real *node_weights, int dim, real *x)
struct SpringSmoother_struct * SpringSmoother
StressMajorizationSmoother SparseStressMajorizationSmoother_new(SparseMatrix A, int dim, real lambda0, real *x, int weighting_scheme, int scale_initial_coord)
StressMajorizationSmoother SparseStressMajorizationSmoother
void SpringSmoother_delete(SpringSmoother sm)
real get_stress(int m, int dim, int *iw, int *jw, real *w, real *d, real *x, real scaling, void *data, int weighted)
void SparseStressMajorizationSmoother_delete(SparseStressMajorizationSmoother sm)
StressMajorizationSmoother StressMajorizationSmoother2_new(SparseMatrix A, int dim, real lambda0, real *x, int ideal_dist_scheme)
real StressMajorizationSmoother_smooth(StressMajorizationSmoother sm, int dim, real *x, int maxit_sm, real tol)
TriangleSmoother TriangleSmoother_new(SparseMatrix A, int dim, real lambda0, real *x, int use_triangularization)
spring_electrical_control ctrl
real SparseStressMajorizationSmoother_smooth(SparseStressMajorizationSmoother sm, int dim, real *x, int maxit_sm, real tol)
void post_process_smoothing(int dim, SparseMatrix A, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
void TriangleSmoother_delete(TriangleSmoother sm)
real get_full_stress(SparseMatrix A, int dim, real *x, int weighting_scheme)
void TriangleSmoother_smooth(TriangleSmoother sm, int dim, real *x)
StressMajorizationSmoother TriangleSmoother
void dump_distance_edge_length(char *outfile, SparseMatrix A, int dim, real *x)