6void load_global_mat_split_CSR(
double *vals,
int *indptr,
int *indices,
double *off_diag_vals,
int *off_diag_indptr,
int *off_diag_indices,
double **elem_mat,
int ndofs_ele,
int *dofs,
int *global_dofs,
int *local_range);
7void load_global_mat_CSR(
double *vals,
int *indptr,
int *indices,
double **elem_mat,
int ndofs_ele,
int *global_dofs,
int *local_range);
9 int ie,
int nodes_on_element,
int nvar_ele,
int *elem_vars ,
int perturb_var_code,
int nsubModels,
int ele_var_no,
int *NodeIDs,
int DEBUG);
10void elem_matrix_deriv(
double **mat,
int node_no,
int var_no,
int nnodes,
int elem_nvars,
double *local1,
double *local2,
double diff_ep);
void assemble_jacobian(SMODEL_SUPER *sm)
This function assembles the global FE Jacobian matrix elementwise, using F-D approximation to Jacobia...
Definition: assemble_jacobian.c:20
void load_global_mat_split_CSR(double *vals, int *indptr, int *indices, double *off_diag_vals, int *off_diag_indptr, int *off_diag_indices, double **elem_mat, int ndofs_ele, int *dofs, int *global_dofs, int *local_range)
This function takes an elemental stiffness matrix and loads it to the full sparse matrix in split CSR...
Definition: assemble_jacobian.c:181
void load_global_mat_CSR(double *vals, int *indptr, int *indices, double **elem_mat, int ndofs_ele, int *global_dofs, int *local_range)
This function takes an elemental stiffness matrix and loads it to the full sparse matrix in standard ...
Definition: assemble_jacobian.c:254
void perturb_var(double **elem_mat, SMODEL_SUPER *sm, SMODEL *model, int ie, int nodes_on_element, int nvar_ele, int *elem_vars, int perturb_var_code, int nsubModels, int ele_var_no, int *NodeIDs, int DEBUG)
Computes elemental Jacobian based on central F-D technique w.r.t one variable (thus filling out one c...
Definition: assemble_jacobian.c:321
void elem_matrix_deriv(double **mat, int node_no, int var_no, int nnodes, int elem_nvars, double *local1, double *local2, double diff_ep)
Calculates a scond order finite difference of a column within the Jacobian matrix elemental block.
Definition: assemble_jacobian.c:416
Definition: smodel_super.h:7