Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
03707989
Commit
03707989
authored
Sep 21, 2017
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indentation + Initialization
parent
8a8357e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
Src/Core/FFmmAlgorithmThread.hpp
Src/Core/FFmmAlgorithmThread.hpp
+3
-0
Src/Kernels/Interpolation/FInterpSymmetries.hpp
Src/Kernels/Interpolation/FInterpSymmetries.hpp
+3
-2
Src/Kernels/Uniform/FUnifM2LHandler.hpp
Src/Kernels/Uniform/FUnifM2LHandler.hpp
+1
-1
No files found.
Src/Core/FFmmAlgorithmThread.hpp
View file @
03707989
...
@@ -90,6 +90,9 @@ public:
...
@@ -90,6 +90,9 @@ public:
FAbstractAlgorithm
::
setNbLevelsInTree
(
tree
->
getHeight
());
FAbstractAlgorithm
::
setNbLevelsInTree
(
tree
->
getHeight
());
for
(
int
idxShape
=
0
;
idxShape
<
SizeShape
;
++
idxShape
){
this
->
shapeLeaf
[
idxShape
]
=
0
;
}
FLOG
(
FLog
::
Controller
<<
"FFmmAlgorithmThread (Max Thread "
<<
omp_get_max_threads
()
<<
")
\n
"
);
FLOG
(
FLog
::
Controller
<<
"FFmmAlgorithmThread (Max Thread "
<<
omp_get_max_threads
()
<<
")
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t
static schedule "
<<
(
userChunkSize
==
-
1
?
"static"
:
(
userChunkSize
==
0
?
"N/p^2"
:
std
::
to_string
(
userChunkSize
)))
<<
")
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t
static schedule "
<<
(
userChunkSize
==
-
1
?
"static"
:
(
userChunkSize
==
0
?
"N/p^2"
:
std
::
to_string
(
userChunkSize
)))
<<
")
\n
"
);
}
}
...
...
Src/Kernels/Interpolation/FInterpSymmetries.hpp
View file @
03707989
...
@@ -47,8 +47,9 @@ class FInterpSymmetries
...
@@ -47,8 +47,9 @@ class FInterpSymmetries
unsigned
int
cones
[
8
][
nnodes
];
unsigned
int
cones
[
8
][
nnodes
];
// set quads and cones permutations
// set quads and cones permutations
unsigned
int
evn
[
ORDER
];
unsigned
int
odd
[
ORDER
];
unsigned
int
evn
[
ORDER
],
odd
[
ORDER
];
for
(
unsigned
int
o
=
0
;
o
<
ORDER
;
++
o
)
{
evn
[
o
]
=
o
;
odd
[
o
]
=
ORDER
-
1
-
o
;}
for
(
unsigned
int
o
=
0
;
o
<
ORDER
;
++
o
)
{
evn
[
o
]
=
o
;
odd
[
o
]
=
ORDER
-
1
-
o
;}
for
(
unsigned
int
i
=
0
;
i
<
ORDER
;
++
i
)
{
for
(
unsigned
int
i
=
0
;
i
<
ORDER
;
++
i
)
{
for
(
unsigned
int
j
=
0
;
j
<
ORDER
;
++
j
)
{
for
(
unsigned
int
j
=
0
;
j
<
ORDER
;
++
j
)
{
...
...
Src/Kernels/Uniform/FUnifM2LHandler.hpp
View file @
03707989
...
@@ -40,7 +40,7 @@ static void Compute(const MatrixKernelClass *const MatrixKernel, const FReal Cel
...
@@ -40,7 +40,7 @@ static void Compute(const MatrixKernelClass *const MatrixKernel, const FReal Cel
TensorType
::
setRoots
(
FPoint
<
FReal
>
(
0.
,
0.
,
0.
),
CellWidth
,
X
);
TensorType
::
setRoots
(
FPoint
<
FReal
>
(
0.
,
0.
,
0.
),
CellWidth
,
X
);
// allocate memory and compute 316 m2l operators (342 if separation equals 0, 343 if separation equals -1)
// allocate memory and compute 316 m2l operators (342 if separation equals 0, 343 if separation equals -1)
FReal
*
_C
;
FReal
*
_C
;
FComplex
<
FReal
>
*
_FC
;
FComplex
<
FReal
>
*
_FC
;
// reduce storage from nnodes^2=order^6 to (2order-1)^3
// reduce storage from nnodes^2=order^6 to (2order-1)^3
...
...
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