Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
494d4642
Commit
494d4642
authored
Jun 25, 2015
by
Quentin Khan
Browse files
ChebyshevInterpolationMPIFMM: corrected compilation bug introduced by
7a2d6614
parent
6c850025
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/ChebyshevInterpolationMPIFMM.cpp
View file @
494d4642
...
...
@@ -77,10 +77,10 @@ int main(int argc, char* argv[])
//
std
::
cout
<<
"Parameters"
<<
std
::
endl
<<
" Octree Depth "
<<
TreeHeight
<<
std
::
endl
<<
" SubOctree depth "
<<
SubTreeHeight
<<
std
::
endl
<<
" Input file name: "
<<
filename
<<
std
::
endl
<<
" Thread count : "
<<
NbThreads
<<
std
::
endl
<<
" Octree Depth "
<<
TreeHeight
<<
std
::
endl
<<
" SubOctree depth "
<<
SubTreeHeight
<<
std
::
endl
<<
" Input file name: "
<<
filename
<<
std
::
endl
<<
" Thread count : "
<<
NbThreads
<<
std
::
endl
<<
std
::
endl
;
...
...
@@ -108,7 +108,7 @@ int main(int argc, char* argv[])
using
CellClass
=
FChebCell
<
FReal
,
ORDER
>
;
using
OctreeClass
=
FOctree
<
FReal
,
CellClass
,
ContainerClass
,
LeafClass
>
;
using
MatrixKernel
=
FInterpMatrixKernelR
<
FReal
>
;
using
MatrixKernel
Class
=
FInterpMatrixKernelR
<
FReal
>
;
const
MatrixKernelClass
MatrixKernel
;
using
KernelClass
=
FChebSymKernel
<
FReal
,
CellClass
,
ContainerClass
,
MatrixKernelClass
,
ORDER
>
;
...
...
@@ -192,7 +192,7 @@ int main(int argc, char* argv[])
MPI_Reduce
(
&
timeUsed
,
&
maxTime
,
1
,
MPI_DOUBLE
,
MPI_MAX
,
0
,
app
.
global
().
getComm
());
if
(
app
.
global
().
processId
()
==
0
){
std
::
cout
<<
"readinsert-time-min:"
<<
minTime
<<
"readinsert-time-max:"
<<
maxTime
<<
"
readinsert-time-max:"
<<
maxTime
<<
std
::
endl
;
}
}
// -----------------------------------------------------
...
...
@@ -217,7 +217,7 @@ int main(int argc, char* argv[])
MPI_Reduce
(
&
timeUsed
,
&
maxTime
,
1
,
MPI_DOUBLE
,
MPI_MAX
,
0
,
app
.
global
().
getComm
());
if
(
app
.
global
().
processId
()
==
0
){
std
::
cout
<<
"exec-time-min:"
<<
minTime
<<
"exec-time-max:"
<<
maxTime
<<
"
exec-time-max:"
<<
maxTime
<<
std
::
endl
;
}
...
...
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