Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
solverstack
ScalFMM
Commits
32840c58
Commit
32840c58
authored
Jun 21, 2016
by
Martin Khannouz
Committed by
Berenger Bramas
Mar 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -cube option and specify it was the default value
parent
a5d338ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
Tests/GroupTree/testBlockedChebyshev.cpp
Tests/GroupTree/testBlockedChebyshev.cpp
+2
-1
Tests/GroupTree/testBlockedImplicitChebyshev.cpp
Tests/GroupTree/testBlockedImplicitChebyshev.cpp
+2
-1
Tests/GroupTree/testBlockedMpiChebyshev.cpp
Tests/GroupTree/testBlockedMpiChebyshev.cpp
+2
-1
Tests/noDist/testFmmAlgorithmThreadProc.cpp
Tests/noDist/testFmmAlgorithmThreadProc.cpp
+2
-1
No files found.
Tests/GroupTree/testBlockedChebyshev.cpp
View file @
32840c58
...
...
@@ -49,6 +49,7 @@ int main(int argc, char* argv[]){
const
FParameterNames
LocalOptionNoValidate
{
{
"-no-validation"
},
"To avoid comparing with direct computation"
};
const
FParameterNames
LocalOptionEllipsoid
=
{{
"-ellipsoid"
}
,
" non uniform distribution on an ellipsoid of aspect ratio given by a=0.5 b=0.25 c=0.125"
};
const
FParameterNames
LocalOptionPlummer
=
{{
"-plummer"
}
,
" (Highly non uniform) plummer distribution (astrophysics)"
};
const
FParameterNames
LocalOptionCube
=
{{
"-cube"
}
,
" uniform distribution on cube (default)"
};
FHelpDescribeAndExit
(
argc
,
argv
,
"Test the blocked tree by counting the particles."
,
FParameterDefinitions
::
OctreeHeight
,
#ifdef RANDOM_PARTICLES
...
...
@@ -56,7 +57,7 @@ int main(int argc, char* argv[]){
#else
FParameterDefinitions
::
InputFile
,
#endif
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
);
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
,
LocalOptionCube
);
// Initialize the types
typedef
double
FReal
;
...
...
Tests/GroupTree/testBlockedImplicitChebyshev.cpp
View file @
32840c58
...
...
@@ -80,10 +80,11 @@ int main(int argc, char* argv[]){
const
FParameterNames
LocalOptionNoValidate
{
{
"-no-validation"
},
"To avoid comparing with direct computation"
};
const
FParameterNames
LocalOptionEllipsoid
=
{{
"-ellipsoid"
}
,
" non uniform distribution on an ellipsoid of aspect ratio given by a=0.5 b=0.25 c=0.125"
};
const
FParameterNames
LocalOptionPlummer
=
{{
"-plummer"
}
,
" (Highly non uniform) plummer distribution (astrophysics)"
};
const
FParameterNames
LocalOptionCube
=
{{
"-cube"
}
,
" uniform distribution on cube (default)"
};
FHelpDescribeAndExit
(
argc
,
argv
,
"Loutre"
,
FParameterDefinitions
::
OctreeHeight
,
FParameterDefinitions
::
NbParticles
,
FParameterDefinitions
::
OctreeSubHeight
,
FParameterDefinitions
::
InputFile
,
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
);
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
,
LocalOptionCube
);
// Get params
const
int
NbLevels
=
FParameters
::
getValue
(
argc
,
argv
,
FParameterDefinitions
::
OctreeHeight
.
options
,
5
);
...
...
Tests/GroupTree/testBlockedMpiChebyshev.cpp
View file @
32840c58
...
...
@@ -58,10 +58,11 @@ int main(int argc, char* argv[]){
const
FParameterNames
LocalOptionNoValidate
{
{
"-no-validation"
},
"To avoid comparing with direct computation"
};
const
FParameterNames
LocalOptionEllipsoid
=
{{
"-ellipsoid"
}
,
" non uniform distribution on an ellipsoid of aspect ratio given by a=0.5 b=0.25 c=0.125"
};
const
FParameterNames
LocalOptionPlummer
=
{{
"-plummer"
}
,
" (Highly non uniform) plummer distribution (astrophysics)"
};
const
FParameterNames
LocalOptionCube
=
{{
"-cube"
}
,
" uniform distribution on cube"
};
FHelpDescribeAndExit
(
argc
,
argv
,
"Test the blocked tree by counting the particles."
,
FParameterDefinitions
::
OctreeHeight
,
FParameterDefinitions
::
InputFile
,
FParameterDefinitions
::
OctreeSubHeight
,
FParameterDefinitions
::
NbParticles
,
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
);
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
,
LocalOptionCube
);
typedef
double
FReal
;
// Initialize the types
...
...
Tests/noDist/testFmmAlgorithmThreadProc.cpp
View file @
32840c58
...
...
@@ -48,10 +48,11 @@ int main(int argc, char* argv[]){
const
FParameterNames
LocalOptionNoValidate
{
{
"-no-validation"
},
"To avoid comparing with direct computation"
};
const
FParameterNames
LocalOptionEllipsoid
=
{{
"-ellipsoid"
}
,
" non uniform distribution on an ellipsoid of aspect ratio given by a=0.5 b=0.25 c=0.125"
};
const
FParameterNames
LocalOptionPlummer
=
{{
"-plummer"
}
,
" (Highly non uniform) plummer distribution (astrophysics)"
};
const
FParameterNames
LocalOptionCube
=
{{
"-cube"
}
,
" uniform distribution on cube (default)"
};
FHelpDescribeAndExit
(
argc
,
argv
,
"Test the blocked tree by counting the particles."
,
FParameterDefinitions
::
OctreeHeight
,
FParameterDefinitions
::
InputFile
,
FParameterDefinitions
::
OctreeSubHeight
,
FParameterDefinitions
::
NbParticles
,
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
);
LocalOptionBlocSize
,
LocalOptionNoValidate
,
LocalOptionEllipsoid
,
LocalOptionPlummer
,
LocalOptionCube
);
typedef
double
FReal
;
// Initialize the types
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment