Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
stress_model.c File Reference
#include <sparse/general.h>
#include <sparse/SparseMatrix.h>
#include <sfdpgen/spring_electrical.h>
#include <sfdpgen/post_process.h>
#include <sfdpgen/stress_model.h>
#include <stdbool.h>
#include <util/alloc.h>
Include dependency graph for stress_model.c:

Go to the source code of this file.

Functions

void stress_model (int dim, SparseMatrix B, double **x, int maxit_sm, int *flag)
 

Function Documentation

◆ stress_model()

void stress_model ( int  dim,
SparseMatrix  B,
double **  x,
int  maxit_sm,
int *  flag 
)

Definition at line 9 of file stress_model.c.

References A, B, dim, drand(), gv_calloc(), MATRIX_TYPE_REAL, RETURN, StressMajorizationSmoother_struct::scaling, StressMajorizationSmoother_struct::scheme, SM_SCHEME_STRESS, SparseMatrix_delete(), SparseMatrix_get_real_adjacency_matrix_symmetrized(), SparseMatrix_is_symmetric(), SparseMatrix_remove_diagonal(), SparseMatrix_symmetrize(), SparseStressMajorizationSmoother_delete(), SparseStressMajorizationSmoother_new(), SparseStressMajorizationSmoother_smooth(), and StressMajorizationSmoother_struct::tol_cg.

Referenced by improve_contiguity().

Here is the call graph for this function:
Here is the caller graph for this function: