Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
8c752919
Commit
8c752919
authored
May 02, 2014
by
COULAUD Olivier
Browse files
Rename -h (-sh) in -depth (-subdepth); remove FFma(Bin)Loader
parent
802a75e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/Kernels/testRotationAlgorithm.cpp
View file @
8c752919
// ===================================================================================
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, B
é
renger Bramas, Matthias Messner
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, B
e
renger Bramas, Matthias Messner
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
...
...
@@ -38,7 +38,7 @@
#include
"../../Src/Core/FFmmAlgorithmThread.hpp"
#include
"../../Src/Core/FFmmAlgorithmTask.hpp"
#include
"../../Src/Files/FFmaLoader.hpp"
#include
"../../Src/Files/FFma
Generic
Loader.hpp"
int
main
(
int
argc
,
char
**
argv
){
...
...
@@ -58,14 +58,14 @@ int main(int argc, char** argv){
std
::
cout
<<
">> This executable has to be used to test Spherical algorithm.
\n
"
;
std
::
cout
<<
">> You can pass -sequential or -task (thread by default).
\n
"
;
//////////////////////////////////////////////////////////////
const
int
NbLevels
=
FParameters
::
getValue
(
argc
,
argv
,
"-h"
,
5
);
const
int
SizeSubLevels
=
FParameters
::
getValue
(
argc
,
argv
,
"-sh"
,
3
);
const
int
NbLevels
=
FParameters
::
getValue
(
argc
,
argv
,
"-
dept
h"
,
5
);
const
int
SizeSubLevels
=
FParameters
::
getValue
(
argc
,
argv
,
"-s
ubdept
h"
,
3
);
FTic
counter
;
const
char
*
const
filename
=
FParameters
::
getStr
(
argc
,
argv
,
"-f"
,
"../Data/test20k.fma"
);
std
::
cout
<<
"Opening : "
<<
filename
<<
"
\n
"
;
FFmaLoader
loader
(
filename
);
FFma
Generic
Loader
loader
(
filename
);
if
(
!
loader
.
isOpen
()){
std
::
cout
<<
"Loader Error, "
<<
filename
<<
" is missing
\n
"
;
return
1
;
...
...
Write
Preview
Supports
Markdown
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