#include "uth_log.h"
#include "las_petsc_intf.hpp"
Functions | |
void | amg_project_solution_to_level (int level_id) |
void | amg_project_solution_from_level (int level_id) |
double | amg_get_global_diff (double diff) |
int | lar_petsc_allocate_SM_and_LV (int Max_SM_size, int Nrblocks, int Nrdof_glob, int *Nrdofbl, int *Posglob, int *Nroffbl, int **L_offbl) |
int | lar_petsc_initialize_SM_and_LV (int Matrix_id, int Comp_type) |
void | writeNodeCoordinates () |
int | lar_petsc_assemble_SM_and_LV (int Matrix_id, int Comp_type, int Nr_dof_bl, int *L_bl_id, int *L_bl_nrdof, double *Stiff_mat, double *Rhs_vect, char *Rewr_dofs) |
int | lar_petsc_fill_preconditioner (int Matrix_id) |
int | lar_petsc_free_SM_and_LV (int Matrix_id) |
void | lar_petsc_perform_BJ_or_GS_iterations (int Matrix_id, int Use_rhs, int Ini_zero, int Nr_prec, int Ndof, double *V, double *B) |
Variables | |
struct AMGSolverData | amg_solver_data |
int | first_ghost_block = -1 |
int | posglob_offset = 0 |
double amg_get_global_diff | ( | double | diff | ) |
void amg_project_solution_from_level | ( | int | level_id | ) |
void amg_project_solution_to_level | ( | int | level_id | ) |
int lar_petsc_allocate_SM_and_LV | ( | int | Max_SM_size, | |
int | Nrblocks, | |||
int | Nrdof_glob, | |||
int * | Nrdofbl, | |||
int * | Posglob, | |||
int * | Nroffbl, | |||
int ** | L_offbl | |||
) |
int lar_petsc_assemble_SM_and_LV | ( | int | Matrix_id, | |
int | Comp_type, | |||
int | Nr_dof_bl, | |||
int * | L_bl_id, | |||
int * | L_bl_nrdof, | |||
double * | Stiff_mat, | |||
double * | Rhs_vect, | |||
char * | Rewr_dofs | |||
) |
int lar_petsc_fill_preconditioner | ( | int | Matrix_id | ) |
int lar_petsc_free_SM_and_LV | ( | int | Matrix_id | ) |
int lar_petsc_initialize_SM_and_LV | ( | int | Matrix_id, | |
int | Comp_type | |||
) |
void lar_petsc_perform_BJ_or_GS_iterations | ( | int | Matrix_id, | |
int | Use_rhs, | |||
int | Ini_zero, | |||
int | Nr_prec, | |||
int | Ndof, | |||
double * | V, | |||
double * | B | |||
) |
void writeNodeCoordinates | ( | ) |
struct AMGSolverData amg_solver_data |
int first_ghost_block = -1 |
int posglob_offset = 0 |