lsd_mkb/lad_crs/lah_crs.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  itt_crs_matrices

Defines

#define ITC_MAX_MATRICES   20

Functions

int lar_allocate_SM_and_LV_crs (int Nrdof_glob, int Max_SM_size, int *Nroffbl, int **L_offbl)
int lar_initialize_SM_and_LV_crs (int Matrix_id, int Scope)
double lar_get_storage_crs (int Matrix_id)
int lar_fill_assembly_table_int_ent_crs (int Matrix_id, int Nr_dof_bl, int *L_bl_id, int *L_bl_nrdof, int *Assembly_table_int_ent)
int lar_assemble_SM_and_LV_with_table_crs (int Matrix_id, int Scope, int Nr_dof_bl, int *Assembly_table_int_ent, int *Local_to_global_int_ent, double *Stiff_mat, double *Rhs_vect, char *Rewr_dofs)
int lar_assemble_SM_and_LV_crs (int Matrix_id, int Scope, int Nr_dof_bl, int *L_bl_id, int *L_bl_nrdof, double *Stiff_mat, double *Rhs_vect, char *Rewr_dofs)
int lar_allocate_preconditioner_crs (int Matrix_id, int Precon, int ILU_k)
int lar_fill_preconditioner_crs (int Matrix_id)
int lar_free_preconditioner_crs (int Matrix_id)
int lar_create_solver_structures_accel_crs (int Matrix_id)
int lar_get_crs_data_crs (int Matrix_id, int *Nrdof_glob_p, int *Nnz_p, int **Crs_col_ind_p, int **Crs_row_ptr_p, double **Crs_val_p, double **Rhs_p)
int lar_free_SM_and_LV_crs (int Matrix_id)
void lar_compute_residual_crs (int Matrix_id, int Use_rhs, int Ini_zero, int Ndof, double *X, double *B, double *V)
void lar_compute_preconditioned_residual_crs (int Matrix_id, int Use_rhs, int Ini_zero, int Ndof, double *X, double *B, double *V)
void lar_perform_BJ_or_GS_iterations_crs (int Matrix_id, int Use_rhs, int Ini_zero, int Nr_prec, int Ndof, double *V, double *B)
void lar_perform_rhsub_crs (int Matrix_id, int Ndof, double *V, double *B)
int lar_get_SM_and_LV_crs_from_crs (int Matrix_id, int offset, int **crs_row, int **crs_col, double **crs_val, double **rhs)
int lar_crs_clear_matrix (int Matrix_id)

Variables

int itv_nr_crs_matrices
int itv_cur_crs_matrix_id
itt_crs_matrices itv_crs_matrices [ITC_MAX_MATRICES]

Define Documentation

#define ITC_MAX_MATRICES   20

Function Documentation

int lar_allocate_preconditioner_crs ( int  Matrix_id,
int  Precon,
int  ILU_k 
)

-------------------------------------------------------- lar_allocate_preconditioner_crs - to allocate space for preconditioner ---------------------------------------------------------

Here is the caller graph for this function:

int lar_allocate_SM_and_LV_crs ( int  Nrdof_glob,
int  Max_SM_size,
int *  Nroffbl,
int **  L_offbl 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int lar_assemble_SM_and_LV_crs ( int  Matrix_id,
int  Scope,
int  Nr_dof_bl,
int *  L_bl_id,
int *  L_bl_nrdof,
double *  Stiff_mat,
double *  Rhs_vect,
char *  Rewr_dofs 
)

Here is the caller graph for this function:

int lar_assemble_SM_and_LV_with_table_crs ( int  Matrix_id,
int  Scope,
int  Nr_dof_bl,
int *  Assembly_table_int_ent,
int *  Local_to_global_int_ent,
double *  Stiff_mat,
double *  Rhs_vect,
char *  Rewr_dofs 
)

Here is the caller graph for this function:

void lar_compute_preconditioned_residual_crs ( int  Matrix_id,
int  Use_rhs,
int  Ini_zero,
int  Ndof,
double *  X,
double *  B,
double *  V 
)

-------------------------------------------------------- lar_compute_preconditioned_residual_crs - to compute the residual of the preconditioned system of equations, v = M^-1 * ( b - Ax ) where M^-1 corresponds directly to the stored preconditioner matrix ---------------------------------------------------------

void lar_compute_residual_crs ( int  Matrix_id,
int  Use_rhs,
int  Ini_zero,
int  Ndof,
double *  X,
double *  B,
double *  V 
)

Here is the caller graph for this function:

int lar_create_solver_structures_accel_crs ( int  Matrix_id  ) 

--------------------------------------------------------- lar_create_solver_structures_accel_crs - utility to create data structures on GPU ---------------------------------------------------------

Here is the call graph for this function:

Here is the caller graph for this function:

int lar_crs_clear_matrix ( int  Matrix_id  ) 
int lar_fill_assembly_table_int_ent_crs ( int  Matrix_id,
int  Nr_dof_bl,
int *  L_bl_id,
int *  L_bl_nrdof,
int *  Assembly_table_int_ent 
)

----------------------------------------------------------- lar_fill_assembly_table_int_ent_crs - to fill a part of the global assembly table related to one integration entity, for which lists of DOF blocks (their global positions) are provided ------------------------------------------------------------

Here is the caller graph for this function:

int lar_fill_preconditioner_crs ( int  Matrix_id  ) 

-------------------------------------------------------- lar_fill_preconditioner_crs - to fill preconditioner ---------------------------------------------------------

Here is the caller graph for this function:

int lar_free_preconditioner_crs ( int  Matrix_id  ) 

-------------------------------------------------------- lar_free_preconditioner_crs - to free space for a block structure ---------------------------------------------------------

Here is the caller graph for this function:

int lar_free_SM_and_LV_crs ( int  Matrix_id  ) 

Here is the caller graph for this function:

int lar_get_crs_data_crs ( int  Matrix_id,
int *  Nrdof_glob_p,
int *  Nnz_p,
int **  Crs_col_ind_p,
int **  Crs_row_ptr_p,
double **  Crs_val_p,
double **  Rhs_p 
)

--------------------------------------------------------- lar_get_crs_data_crs - utility to get CRS parameters and pointers ---------------------------------------------------------

Here is the caller graph for this function:

int lar_get_SM_and_LV_crs_from_crs ( int  Matrix_id,
int  offset,
int **  crs_row,
int **  crs_col,
double **  crs_val,
double **  rhs 
)

Here is the caller graph for this function:

double lar_get_storage_crs ( int  Matrix_id  ) 

-------------------------------------------------------- lar_get_storage_crs - to compute storage of SM, LV and preconditioner ---------------------------------------------------------

Here is the caller graph for this function:

int lar_initialize_SM_and_LV_crs ( int  Matrix_id,
int  Scope 
)

-------------------------------------------------------- lar_initialize_SM_and_LV_crs - to initialize stiffness matrix and/or load vector ---------------------------------------------------------

Here is the caller graph for this function:

void lar_perform_BJ_or_GS_iterations_crs ( int  Matrix_id,
int  Use_rhs,
int  Ini_zero,
int  Nr_prec,
int  Ndof,
double *  V,
double *  B 
)

-------------------------------------------------------- lar_perform_BJ_or_GS_iterations_crs - to perform one iteration of block Gauss-Seidel or block Jacobi algorithm: v_out = v_in + M^-1 * ( b - A * v_in ) where M^-1 results from stored preconditioner matrix and the algorithm ---------------------------------------------------------

Here is the caller graph for this function:

void lar_perform_rhsub_crs ( int  Matrix_id,
int  Ndof,
double *  V,
double *  B 
)

-------------------------------------------------------- lar_perform_rhsub_crs - to perform forward reduction and back-substitution for ILU preconditioning ---------------------------------------------------------

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1