diff --git a/include/main.h b/include/main.h index 8420c70ed9407e78c3537e10fa48c750ce7d4e18..85d12efa11ffeb6ca35c61a835e964a332bfea88 100644 --- a/include/main.h +++ b/include/main.h @@ -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) diff --git a/src/help.c b/src/help.c index d20e494c3f46e4fc08753877596cccdf8adf0c3d..67991ff9dc7b78f19d8e1b444bc3040f9c47213c 100644 --- a/src/help.c +++ b/src/help.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" diff --git a/src/hmat.c b/src/hmat.c index 339a6baaf23a1fef778344989d71f89d86cc1357..4a0e89bde384d4bd9d8ea50b5503e0f4222ddb1d 100644 --- a/src/hmat.c +++ b/src/hmat.c @@ -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", ÷r_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", ÷r_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; diff --git a/src/main.c b/src/main.c index 8f5fcba162cfc7abff09b00489c1fe80eeb7cd8a..a420a57e56e637a2e512f69f1907bc4f8420f612 100644 --- a/src/main.c +++ b/src/main.c @@ -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