amg_mkb/lad_petsc/GhostBlockAssemblingUtil.hpp File Reference
#include <stdio.h>
#include <algorithm>
#include <math.h>
#include <petscmat.h>
Go to the source code of this file.
Functions |
void | get_ghost_block_first_index_and_cnt (int *first_ghost_block_index, int *ghost_block_cnt, int Nrblocks, int *Nroffbl) |
void | get_inefficient_preallocation_data (int *max_nonzeros_in_row_diagonal, int *max_nonzeros_in_row_off_diagonal, int Nrblocks, int *Nrdofbl, int first_ghost_block_index, int *Nroffbl, int **L_offbl) |
void | get_efficient_preallocation_data_for_ns_supg_block_size_4 (int **nonzeros_in_row_diagonal, int **nonzeros_in_row_off_diagonal, int Nrblocks, int *Nrdofbl, int first_ghost_block_index, int *Nroffbl, int **L_offbl) |
int | shift_posglobs (int *posglobs, Mat matrix, int Nrblocks, int *Nroffbl) |
Function Documentation
void get_efficient_preallocation_data_for_ns_supg_block_size_4 |
( |
int ** |
nonzeros_in_row_diagonal, |
|
|
int ** |
nonzeros_in_row_off_diagonal, |
|
|
int |
Nrblocks, |
|
|
int * |
Nrdofbl, |
|
|
int |
first_ghost_block_index, |
|
|
int * |
Nroffbl, |
|
|
int ** |
L_offbl | |
|
) |
| | |
void get_ghost_block_first_index_and_cnt |
( |
int * |
first_ghost_block_index, |
|
|
int * |
ghost_block_cnt, |
|
|
int |
Nrblocks, |
|
|
int * |
Nroffbl | |
|
) |
| | |
void get_inefficient_preallocation_data |
( |
int * |
max_nonzeros_in_row_diagonal, |
|
|
int * |
max_nonzeros_in_row_off_diagonal, |
|
|
int |
Nrblocks, |
|
|
int * |
Nrdofbl, |
|
|
int |
first_ghost_block_index, |
|
|
int * |
Nroffbl, |
|
|
int ** |
L_offbl | |
|
) |
| | |
int shift_posglobs |
( |
int * |
posglobs, |
|
|
Mat |
matrix, |
|
|
int |
Nrblocks, |
|
|
int * |
Nroffbl | |
|
) |
| | |