Graphviz  2.41.20171026.1811
Macros | Functions
post_process.c File Reference
#include "config.h"
#include <time.h>
#include <string.h>
#include <math.h>
#include "types.h"
#include "memory.h"
#include "globals.h"
#include "sparse_solve.h"
#include "post_process.h"
#include "overlap.h"
#include "spring_electrical.h"
#include "call_tri.h"
#include "sfdpinternal.h"
Include dependency graph for post_process.c:

Go to the source code of this file.

Macros

#define node_degree(i)   (ia[(i)+1] - ia[(i)])
 

Functions

SparseMatrix ideal_distance_matrix (SparseMatrix A, int dim, real *x)
 
StressMajorizationSmoother StressMajorizationSmoother2_new (SparseMatrix A, int dim, real lambda0, real *x, int ideal_dist_scheme)
 
StressMajorizationSmoother SparseStressMajorizationSmoother_new (SparseMatrix A, int dim, real lambda0, real *x, int weighting_scheme, int scale_initial_coord)
 
void SparseStressMajorizationSmoother_delete (SparseStressMajorizationSmoother sm)
 
real SparseStressMajorizationSmoother_smooth (SparseStressMajorizationSmoother sm, int dim, real *x, int maxit_sm, real tol)
 
real get_stress (int m, int dim, int *iw, int *jw, real *w, real *d, real *x, real scaling, void *data, int weighted)
 
real StressMajorizationSmoother_smooth (StressMajorizationSmoother sm, int dim, real *x, int maxit_sm, real tol)
 
void StressMajorizationSmoother_delete (StressMajorizationSmoother sm)
 
TriangleSmoother TriangleSmoother_new (SparseMatrix A, int dim, real lambda0, real *x, int use_triangularization)
 
void TriangleSmoother_delete (TriangleSmoother sm)
 
void TriangleSmoother_smooth (TriangleSmoother sm, int dim, real *x)
 
SpringSmoother SpringSmoother_new (SparseMatrix A, int dim, spring_electrical_control ctrl, real *x)
 
void SpringSmoother_delete (SpringSmoother sm)
 
void SpringSmoother_smooth (SpringSmoother sm, SparseMatrix A, real *node_weights, int dim, real *x)
 
void post_process_smoothing (int dim, SparseMatrix A, spring_electrical_control ctrl, real *node_weights, real *x, int *flag)
 

Macro Definition Documentation

#define node_degree (   i)    (ia[(i)+1] - ia[(i)])

Definition at line 31 of file post_process.c.

Referenced by ideal_distance_matrix().

Function Documentation

real get_stress ( int  m,
int  dim,
int iw,
int jw,
real w,
real d,
real x,
real  scaling,
void *  data,
int  weighted 
)

Definition at line 765 of file post_process.c.

References dist(), distance(), and real.

Referenced by StressMajorizationSmoother_smooth().

SparseMatrix ideal_distance_matrix ( SparseMatrix  A,
int  dim,
real x 
)
void post_process_smoothing ( int  dim,
SparseMatrix  A,
spring_electrical_control  ctrl,
real node_weights,
real x,
int flag 
)
void SparseStressMajorizationSmoother_delete ( SparseStressMajorizationSmoother  sm)

Definition at line 652 of file post_process.c.

References StressMajorizationSmoother_delete().

Referenced by stress_model_core().

StressMajorizationSmoother SparseStressMajorizationSmoother_new ( SparseMatrix  A,
int  dim,
real  lambda0,
real x,
int  weighting_scheme,
int  scale_initial_coord 
)
real SparseStressMajorizationSmoother_smooth ( SparseStressMajorizationSmoother  sm,
int  dim,
real x,
int  maxit_sm,
real  tol 
)

Definition at line 657 of file post_process.c.

References StressMajorizationSmoother_smooth().

Referenced by stress_model_core().

void SpringSmoother_delete ( SpringSmoother  sm)
SpringSmoother SpringSmoother_new ( SparseMatrix  A,
int  dim,
spring_electrical_control  ctrl,
real x 
)
void SpringSmoother_smooth ( SpringSmoother  sm,
SparseMatrix  A,
real node_weights,
int  dim,
real x 
)
StressMajorizationSmoother StressMajorizationSmoother2_new ( SparseMatrix  A,
int  dim,
real  lambda0,
real x,
int  ideal_dist_scheme 
)
void StressMajorizationSmoother_delete ( StressMajorizationSmoother  sm)
real StressMajorizationSmoother_smooth ( StressMajorizationSmoother  sm,
int  dim,
real x,
int  maxit_sm,
real  tol 
)
void TriangleSmoother_delete ( TriangleSmoother  sm)

Definition at line 1126 of file post_process.c.

References StressMajorizationSmoother_delete().

Referenced by post_process_smoothing(), and TriangleSmoother_new().

TriangleSmoother TriangleSmoother_new ( SparseMatrix  A,
int  dim,
real  lambda0,
real x,
int  use_triangularization 
)
void TriangleSmoother_smooth ( TriangleSmoother  sm,
int  dim,
real x 
)

Definition at line 1132 of file post_process.c.

References StressMajorizationSmoother_smooth().

Referenced by post_process_smoothing().