22 double *vals_off_diag;
25 int nnz_diag, nnz_off_diag, nnz_diag_old, nnz_off_diag_old;
40 int local_range_old[2];
52void slin_sys_init_ghosts(
SLIN_SYS *lin_sys,
SGRID *grid,
int *fmap);
53void slin_sys_init_ptrs(
SLIN_SYS *lin_sys,
int *my_ndof_ptr,
int *ndof_ptr,
int *macro_ndof_ptr,
54 int *my_ndof_ptr_old,
int *ndof_ptr_old,
int *macro_ndof_ptr_old,
55 int start,
int end,
int nghost);
56void slin_sys_init_sparsity_mono(
SLIN_SYS *lin_sys,
int *elem3d_physics_mat_id,
57 int *elem2d_physics_mat_id,
int *elem1d_physics_mat_id,
SMAT_PHYSICS *elem_physics_mat,
58 SGRID *grid,
int **ivars);
60void slin_sys_allocate_petsc_objects(
SLIN_SYS *lin_sys);
61void slin_sys_free_array(
SLIN_SYS *lin_sys,
int nlin_sys);
62void slin_sys_free(
SLIN_SYS *lin_sys);
63void lin_sys_free(
SLIN_SYS *lin_sys,
int nlin_sys);
void slin_sys_init_array(SLIN_SYS *lin_sys, int nlin_sys)
Allocates and intializes an AdH Linear System.
Definition: slin_sys.c:48
void slin_sys_alloc_array(SLIN_SYS **lin_sys, int nlin_sys)
Allocates and intializes an AdH Linear System.
Definition: slin_sys.c:23
void slin_sys_CSR_printScreen(SLIN_SYS *lin_sys)
Prints CSR format matrix to screen.
Definition: slin_sys.c:83
Definition: smat_physics.h:6