Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
minisolver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Org mode and Guix tutorial - Guix HPC Workshop
Software
minisolver
Commits
e9bd258f
Commit
e9bd258f
authored
1 year ago
by
FELŠÖCI Marek
Browse files
Options
Downloads
Patches
Plain Diff
Force an HMAT divider of 2
parent
be1a49e1
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
include/main.h
+0
-6
0 additions, 6 deletions
include/main.h
src/help.c
+0
-1
0 additions, 1 deletion
src/help.c
src/hmat.c
+1
-7
1 addition, 7 deletions
src/hmat.c
src/main.c
+0
-1
0 additions, 1 deletion
src/main.c
with
1 addition
and
15 deletions
include/main.h
+
0
−
6
View file @
e9bd258f
...
...
@@ -45,12 +45,6 @@ extern ScalarType stype;
/*! \brief Wavelength (for oscillatory kernels). */
extern
double
lambda
;
/*! \brief Value of the Hmat clustering divider (number of children per box, default is 2)
It can be changed with "--hmat_divider" (read in readFlagsTestHMAT() in hmat.c)
*/
extern
int
divider
;
/*! \brief Flag to compute the residual norm after the Hmat solve (default is 0).
It can be changed with --hmat_residual (read in readFlagsTestHMAT() in hmat.c)
...
...
This diff is collapsed.
Click to expand it.
src/help.c
+
0
−
1
View file @
e9bd258f
...
...
@@ -25,7 +25,6 @@ int printHelp() {
" For FEM/BEM, the BEM is done on the outer surface of the cylinder (without the upper and lower disks).
\n
"
"
\n
"
" Options for HMAT tests
\n
"
" --hmat_divider: Value of the Hmat clustering divider (number of children per box). Default: 2.
\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
"
...
...
This diff is collapsed.
Click to expand it.
src/hmat.c
+
1
−
7
View file @
e9bd258f
...
...
@@ -20,12 +20,6 @@ int init_hmat_interface() {
}
int
readFlagsTestHMAT
(
int
*
argc
,
char
***
argv
)
{
/* Value of the Hmat clustering divider (number of children per box) */
if
(
MpfArgGetInt
(
argc
,
*
argv
,
1
,
"--hmat_divider"
,
&
divider
))
{
printf
(
"Reading Hmat clustering divider = %d
\n
"
,
divider
)
;
ASSERTQ
(
divider
>
1
);
}
/* Flag to compute the residual norm after the Hmat solve */
if
(
MpfArgHasName
(
argc
,
*
argv
,
1
,
"--hmat_residual"
))
{
hmat_residual
=
1
;
...
...
@@ -378,7 +372,7 @@ HMAT_desc_t *HMAT_generate_matrix( hmat_interface_t *hi ) {
printf
(
"HMat maximum leaf size: %d
\n
"
,
mpf_hmat_settings
.
max_leaf_size
);
clustering
=
hmat_create_clustering_max_dof
(
clustering
,
mpf_hmat_settings
.
max_leaf_size
);
}
hmat_set_clustering_divider
(
clustering
,
divider
);
hmat_set_clustering_divider
(
clustering
,
2
);
ct_builder
=
hmat_create_cluster_tree_builder
(
clustering
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
0
−
1
View file @
e9bd258f
...
...
@@ -19,7 +19,6 @@ int simplePrec = 0;
int
complexALGO
=
1
;
ScalarType
stype
=
DOUBLE_COMPLEX
;
double
lambda
;
int
divider
=
2
;
int
hmat_residual
=
0
;
int
hmat_refine
=
0
;
int
use_hmat_shuffle
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment