#include "ApproximateInverse.hpp"
Functions | |
void | getRows (int column, int range_begin, int range_end, int *columns, int band, int *result_band) |
void | getRows (Mat Avv, int column, int range_begin, int range_end, int *columns, int band, int *result_band) |
void | getSystem (double *matrix, int band, int size, double *system) |
double | getDifferentColumnsProductSymmetric (Mat Avv, int size, int i, int j) |
double | getDifferentColumnsProduct (Mat Avv, int size, int i, int j) |
double | getColumnsProduct (Mat Avv, int size, int i, int j, bool symmetric) |
void | getSystem (Mat Avv, int *columns, int band, int size, double *system) |
void | getCommutatorSystem (Mat Apv_vp, int *columns, int band, int size, double *system, Vec tmp1, Vec tmp2) |
void | luDecomposition (double *matrix, int size) |
void | bsfr (double *matrix, int size, double *rhs) |
void | fillApproximateInversePreallocation (int *nnz, int band, int size) |
Mat | getApproximateInverse2 (Mat Avv, int band, Mat restricted_matrix) |
void | fill_vec_to_interpolate_to (Vec vec, Vec tmp_vec, Mat Apv_vv, Mat Avp, int column) |
void | fill_rhs (Vec vec_to_interpolate_to, Vec tmp_vec, Mat Apv_vp, Mat Avp, int column, double *result) |
Mat | getApproximateInverseCommutator (Mat Avv, Mat Avp, int band) |
Variables | |
double | t4 |
double | t5 |
double | t6 |
double | x4 |
double | x5 |
double | x6 |
std::map< std::pair< int, int > , double > | pairMap |
int | xCount = 0 |
int | yCount = 0 |
int | columns_buffer [500] |
double | values_buffer [500] |
void bsfr | ( | double * | matrix, | |
int | size, | |||
double * | rhs | |||
) |
void fill_rhs | ( | Vec | vec_to_interpolate_to, | |
Vec | tmp_vec, | |||
Mat | Apv_vp, | |||
Mat | Avp, | |||
int | column, | |||
double * | result | |||
) |
void fill_vec_to_interpolate_to | ( | Vec | vec, | |
Vec | tmp_vec, | |||
Mat | Apv_vv, | |||
Mat | Avp, | |||
int | column | |||
) |
void fillApproximateInversePreallocation | ( | int * | nnz, | |
int | band, | |||
int | size | |||
) |
Mat getApproximateInverse2 | ( | Mat | Avv, | |
int | band, | |||
Mat | restricted_matrix | |||
) |
Mat getApproximateInverseCommutator | ( | Mat | Avv, | |
Mat | Avp, | |||
int | band | |||
) |
double getColumnsProduct | ( | Mat | Avv, | |
int | size, | |||
int | i, | |||
int | j, | |||
bool | symmetric | |||
) |
void getCommutatorSystem | ( | Mat | Apv_vp, | |
int * | columns, | |||
int | band, | |||
int | size, | |||
double * | system, | |||
Vec | tmp1, | |||
Vec | tmp2 | |||
) |
double getDifferentColumnsProduct | ( | Mat | Avv, | |
int | size, | |||
int | i, | |||
int | j | |||
) |
double getDifferentColumnsProductSymmetric | ( | Mat | Avv, | |
int | size, | |||
int | i, | |||
int | j | |||
) |
void getRows | ( | Mat | Avv, | |
int | column, | |||
int | range_begin, | |||
int | range_end, | |||
int * | columns, | |||
int | band, | |||
int * | result_band | |||
) |
void getRows | ( | int | column, | |
int | range_begin, | |||
int | range_end, | |||
int * | columns, | |||
int | band, | |||
int * | result_band | |||
) |
void getSystem | ( | Mat | Avv, | |
int * | columns, | |||
int | band, | |||
int | size, | |||
double * | system | |||
) |
void getSystem | ( | double * | matrix, | |
int | band, | |||
int | size, | |||
double * | system | |||
) |
void luDecomposition | ( | double * | matrix, | |
int | size | |||
) |
int columns_buffer[500] |
std::map<std::pair<int,int>, double> pairMap |
double t4 |
double t5 |
double t6 |
double values_buffer[500] |
double x4 |
double x5 |
double x6 |
int xCount = 0 |
int yCount = 0 |