amg_mkb/test/util/util.cpp File Reference

#include "petscmat.h"
Include dependency graph for util.cpp:
This graph shows which files directly or indirectly include this file:

Functions

void prepare_simple_matrix (Mat *matrix, double *values)
void prepare_simple_rhs (Vec *vec, double *values)
void prepare_testcase_1_matrix (Mat *matrix, int size)
void prepare_testcase_1_rhs (Vec *vec, int size)
void prepare_testcase_1_solution (Vec *vec, int size)
void prepare_matrix_general_crs (Mat *matrix, double *values, int *rows, int *columns, int matrix_height, int matrix_width, int entries_size)
void prepare_matrix_general_crs (Mat *matrix, double *values, int *rows, int *columns, int matrix_size, int entries_size)
void prepare_matrix_inverse_example_1 (Mat *matrix)
void prepare_matrix_inverse_example_2 (Mat *matrix)
void prepare_matrix_inverse_example_3 (Mat *matrix)
void prepare_matrix_inverse_example_4 (Mat *matrix)
void prepare_matrix_inverse_example_5 (Mat *matrix)
void prepare_matrix_inverse_full_pattern (Mat *matrix)
double pow (double a, int b)
void prepare_difficult_matrix (Mat *matrix, int size)

Variables

int rows [] = {0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6}
int columns [] = {0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6}
int size = 7

Function Documentation

double pow ( double  a,
int  b 
)

Here is the caller graph for this function:

void prepare_difficult_matrix ( Mat *  matrix,
int  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_matrix_general_crs ( Mat *  matrix,
double *  values,
int *  rows,
int *  columns,
int  matrix_size,
int  entries_size 
)

Here is the call graph for this function:

void prepare_matrix_general_crs ( Mat *  matrix,
double *  values,
int *  rows,
int *  columns,
int  matrix_height,
int  matrix_width,
int  entries_size 
)

Here is the caller graph for this function:

void prepare_matrix_inverse_example_1 ( Mat *  matrix  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_matrix_inverse_example_2 ( Mat *  matrix  ) 

Here is the call graph for this function:

void prepare_matrix_inverse_example_3 ( Mat *  matrix  ) 

Here is the call graph for this function:

void prepare_matrix_inverse_example_4 ( Mat *  matrix  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_matrix_inverse_example_5 ( Mat *  matrix  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_matrix_inverse_full_pattern ( Mat *  matrix  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_simple_matrix ( Mat *  matrix,
double *  values 
)
void prepare_simple_rhs ( Vec *  vec,
double *  values 
)
void prepare_testcase_1_matrix ( Mat *  matrix,
int  size 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void prepare_testcase_1_rhs ( Vec *  vec,
int  size 
)

Here is the caller graph for this function:

void prepare_testcase_1_solution ( Vec *  vec,
int  size 
)

Here is the call graph for this function:


Variable Documentation

int columns[] = {0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6}
int rows[] = {0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6}
int size = 7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1