Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScalFMM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
ScalFMM
Commits
2a3555a0
Commit
2a3555a0
authored
11 years ago
by
Olivier COULAUD
Browse files
Options
Downloads
Patches
Plain Diff
ADD ScalFMM_BUILD_ONLY_LIB to compile scalfmm lib without examples
remove warnings
parent
347c192f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+3
-1
3 additions, 1 deletion
CMakeLists.txt
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
+4
-4
4 additions, 4 deletions
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
+3
-3
3 additions, 3 deletions
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
with
10 additions
and
8 deletions
CMakeLists.txt
+
3
−
1
View file @
2a3555a0
...
@@ -57,6 +57,7 @@ OPTION( ScalFMM_USE_SSE "Set to ON to compile with SSE support"
...
@@ -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_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_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_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 to default libraries
SET
(
SCALFMM_LIBRARIES
""
)
SET
(
SCALFMM_LIBRARIES
""
)
SET
(
ScaLFMM_CXX_FLAGS
""
)
SET
(
ScaLFMM_CXX_FLAGS
""
)
...
@@ -301,9 +302,10 @@ add_subdirectory(Src)
...
@@ -301,9 +302,10 @@ add_subdirectory(Src)
# Link with scalfmm lib
# Link with scalfmm lib
set
(
scalfmm_lib scalfmm
)
set
(
scalfmm_lib scalfmm
)
if
(
ScalFMM_BUILD_ONLY_LIB
)
# Build - Examples and drivers
# Build - Examples and drivers
add_subdirectory
(
Examples
)
add_subdirectory
(
Examples
)
endif
# Build - Tests
# Build - Tests
MESSAGE
(
STATUS
"ScalFMM_BUILD_TESTS =
${
ScalFMM_BUILD_TESTS
}
"
)
MESSAGE
(
STATUS
"ScalFMM_BUILD_TESTS =
${
ScalFMM_BUILD_TESTS
}
"
)
...
...
This diff is collapsed.
Click to expand it.
Src/Kernels/Spherical/FSphericalBlasKernel.hpp
+
4
−
4
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
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
// This software is a computer program whose purpose is to compute the FMM.
//
//
...
@@ -18,8 +18,8 @@
...
@@ -18,8 +18,8 @@
#include
"FAbstractSphericalKernel.hpp"
#include
"FAbstractSphericalKernel.hpp"
#include
"
../../
Utils/FMemUtils.hpp"
#include
"Utils/FMemUtils.hpp"
#include
"
../../
Utils/FBlas.hpp"
#include
"Utils/FBlas.hpp"
/**
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
* @author Berenger Bramas (berenger.bramas@inria.fr)
...
@@ -123,7 +123,7 @@ public:
...
@@ -123,7 +123,7 @@ public:
FF_MATRIX_ROW_DIM
(
Parent
::
harmonic
.
getExpSize
()),
FF_MATRIX_COLUMN_DIM
(
Parent
::
harmonic
.
getNExpSize
()),
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
),
FF_MATRIX_SIZE
(
FF_MATRIX_ROW_DIM
*
FF_MATRIX_COLUMN_DIM
),
temporaryMultiSource
(
new
FComplexe
[
FF_MATRIX_COLUMN_DIM
]),
temporaryMultiSource
(
new
FComplexe
[
FF_MATRIX_COLUMN_DIM
]),
preM2LTransitions
(
0
){
preM2LTransitions
(
nullptr
){
allocAndInit
();
allocAndInit
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Src/Kernels/Spherical/FSphericalRotationKernel.hpp
+
3
−
3
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
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
// This software is a computer program whose purpose is to compute the FMM.
//
//
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
#define FSPHERICALROTATIONKERNEL_HPP
#define FSPHERICALROTATIONKERNEL_HPP
#include
"FAbstractSphericalKernel.hpp"
#include
"FAbstractSphericalKernel.hpp"
#include
"
../../
Utils/FMemUtils.hpp"
#include
"Utils/FMemUtils.hpp"
/**
/**
* @author Berenger Bramas (berenger.bramas@inria.fr)
* @author Berenger Bramas (berenger.bramas@inria.fr)
...
@@ -393,7 +393,7 @@ public:
...
@@ -393,7 +393,7 @@ public:
FSphericalRotationKernel
(
const
int
inDevP
,
const
int
inTreeHeight
,
const
FReal
inBoxWidth
,
const
FPoint
&
inBoxCenter
)
FSphericalRotationKernel
(
const
int
inDevP
,
const
int
inTreeHeight
,
const
FReal
inBoxWidth
,
const
FPoint
&
inBoxCenter
)
:
Parent
(
inDevP
,
inTreeHeight
,
inBoxWidth
,
inBoxCenter
),
:
Parent
(
inDevP
,
inTreeHeight
,
inBoxWidth
,
inBoxCenter
),
devM2lP
(
int
(((
inDevP
*
2
)
+
1
)
*
((
inDevP
*
2
)
+
2
)
*
0.5
)),
devM2lP
(
int
(((
inDevP
*
2
)
+
1
)
*
((
inDevP
*
2
)
+
2
)
*
0.5
)),
preM2LTransitions
(
0
),
preM2LTransitions
(
nullptr
),
rotation_Info
(
inDevP
)
{
rotation_Info
(
inDevP
)
{
allocAndInit
();
allocAndInit
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment