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
2a3555a0
Commit
2a3555a0
authored
Jun 19, 2014
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD ScalFMM_BUILD_ONLY_LIB to compile scalfmm lib without examples
remove warnings
parent
347c192f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
CMakeLists.txt
CMakeLists.txt
+3
-1
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
+4
-4
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
+3
-3
No files found.
CMakeLists.txt
View file @
2a3555a0
...
...
@@ -57,6 +57,7 @@ OPTION( ScalFMM_USE_SSE "Set to ON to compile with SSE support"
OPTION
(
ScalFMM_USE_AVX
"Set to ON to compile with AVX support"
OFF
)
OPTION
(
ScalFMM_USE_ASSERT
"Set to ON to enable safe tests during execution"
ON
)
OPTION
(
ScalFMM_USE_MIC_NATIVE
"Set to ON to compile in native mode for MIC"
OFF
)
OPTION
(
ScalFMM_BUILD_ONLY_LIB
"Set to ON to compile ionly the lib (examples are not compiled) "
OFF
)
# Set scalfmm to default libraries
SET
(
SCALFMM_LIBRARIES
""
)
SET
(
ScaLFMM_CXX_FLAGS
""
)
...
...
@@ -301,9 +302,10 @@ add_subdirectory(Src)
# Link with scalfmm lib
set
(
scalfmm_lib scalfmm
)
if
(
ScalFMM_BUILD_ONLY_LIB
)
# Build - Examples and drivers
add_subdirectory
(
Examples
)
endif
# Build - Tests
MESSAGE
(
STATUS
"ScalFMM_BUILD_TESTS =
${
ScalFMM_BUILD_TESTS
}
"
)
...
...
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
View file @
2a3555a0
// ===================================================================================
// Copyright ScalFmm 2011 INRIA
, Olivier Coulaud, Bérenger Bramas, Matthias Messner
// Copyright ScalFmm 2011 INRIA
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
...
...
@@ -18,8 +18,8 @@
#include "FAbstractSphericalKernel.hpp"
#include "
../../
Utils/FMemUtils.hpp"
#include "
../../
Utils/FBlas.hpp"
#include "Utils/FMemUtils.hpp"
#include "Utils/FBlas.hpp"
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
...
...
@@ -123,7 +123,7 @@ public:
FF_MATRIX_ROW_DIM
(
Parent
::
harmonic
.
getExpSize
()),
FF_MATRIX_COLUMN_DIM
(
Parent
::
harmonic
.
getNExpSize
()),
FF_MATRIX_SIZE
(
FF_MATRIX_ROW_DIM
*
FF_MATRIX_COLUMN_DIM
),
temporaryMultiSource
(
new
FComplexe
[
FF_MATRIX_COLUMN_DIM
]),
preM2LTransitions
(
0
){
preM2LTransitions
(
nullptr
){
allocAndInit
();
}
...
...
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
View file @
2a3555a0
// ===================================================================================
// Copyright ScalFmm 2011 INRIA,
Olivier Coulaud, Bérenger Bramas, Matthias Messner
// Copyright ScalFmm 2011 INRIA,
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
...
...
@@ -17,7 +17,7 @@
#define FSPHERICALROTATIONKERNEL_HPP
#include "FAbstractSphericalKernel.hpp"
#include "
../../
Utils/FMemUtils.hpp"
#include "Utils/FMemUtils.hpp"
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
...
...
@@ -393,7 +393,7 @@ public:
FSphericalRotationKernel
(
const
int
inDevP
,
const
int
inTreeHeight
,
const
FReal
inBoxWidth
,
const
FPoint
&
inBoxCenter
)
:
Parent
(
inDevP
,
inTreeHeight
,
inBoxWidth
,
inBoxCenter
),
devM2lP
(
int
(((
inDevP
*
2
)
+
1
)
*
((
inDevP
*
2
)
+
2
)
*
0.5
)),
preM2LTransitions
(
0
),
preM2LTransitions
(
nullptr
),
rotation_Info
(
inDevP
)
{
allocAndInit
();
}
...
...
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