Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a29774c0 authored by FELŠÖCI Marek's avatar FELŠÖCI Marek
Browse files

Remove HMAT divider minimum and maximum options

parent 12cb1326
No related branches found
No related tags found
No related merge requests found
......@@ -45,18 +45,6 @@ extern ScalarType stype;
/*! \brief Wavelength (for oscillatory kernels). */
extern double lambda;
/*! \brief Value of the Hmat shuffle clustering minimum divider (minimum number of children per box, default is 2)
It can be changed with "--hmat_divider_min" (read in readFlagsTestHMAT() in hmat.c)
*/
extern int divider_min;
/*! \brief Value of the Hmat shuffle clustering maximum divider (maximum number of children per box, default is 4)
It can be changed with "--hmat_divider_max" (read in readFlagsTestHMAT() in hmat.c)
*/
extern int divider_max;
/*! \brief Flag to use HODLR storage and algorithms (default is 0).
It can be changed with "--hodlr" (read in readFlagsTestHMAT() in hmat.c)
......
......@@ -26,8 +26,6 @@ int printHelp() {
"\n"
" Options for HMAT tests\n"
" --use_hmat_shuffle: Using Hmat shuffle clustering. Default: NO.\n"
" --hmat_divider_min: Value of the Hmat shuffle clustering minimum divider (minimum number of children per box). Default: 2.\n"
" --hmat_divider_max: Value of the Hmat shuffle clustering maximum divider (maximum number of children per box). Default: 4.\n"
" --hodlr: Using HODLR. Default: NO.\n"
" --hmat-eps-assemb: Compression epsilon. Default: 1e-4.\n"
" --hmat-eps-recompr: Recompression epsilon. Default: 1e-4.\n"
......
......@@ -20,18 +20,6 @@ int init_hmat_interface() {
}
int readFlagsTestHMAT(int *argc, char ***argv) {
/* Value of the Hmat shuffle clustering minimum divider (minimum number of children per box) */
if (MpfArgGetInt(argc, *argv, 1, "--hmat_divider_min", &divider_min)) {
printf("Reading Hmat shuffle clustering minimum divider = %d\n", divider_min) ;
}
/* Value of the Hmat shuffle clustering maximum divider (maximum number of children per box) */
if (MpfArgGetInt(argc, *argv, 1, "--hmat_divider_max", &divider_max)) {
printf("Reading Hmat shuffle clustering maximum divider = %d\n", divider_max) ;
ASSERTQ(divider_max>1);
ASSERTQ(divider_max>=divider_min);
}
/* Flag to use HODLR storage and algorithms */
if (MpfArgHasName(argc, *argv, 1, "--hodlr")) {
use_hodlr=1;
......
......@@ -19,12 +19,7 @@ int simplePrec = 0;
int complexALGO = 1;
ScalarType stype = DOUBLE_COMPLEX;
double lambda;
int divider_min = 2;
int divider_max = 4;
int use_hodlr = 0;
size_t nnz_FEM = 0;
ZnonZero *z_matComp_FEM = NULL;
size_t *ptr_ordered_FEM = NULL;
/*! \brief Main routine
\return 0 for success
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment