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
59797bbb
Commit
59797bbb
authored
Aug 19, 2014
by
aetcheve
Browse files
fix some warnings
parent
3205c613
Changes
5
Hide whitespace changes
Inline
Side-by-side
Src/Containers/FSubOctree.hpp
View file @
59797bbb
...
...
@@ -135,6 +135,7 @@ protected:
// Manage border limits
if
(
arrayIndex
==
this
->
leftLeafIndex
&&
arrayIndex
==
this
->
rightLeafIndex
){
this
->
rightLeafIndex
=
-
1
;
// only one cells, return true
return
true
;
}
...
...
Src/Kernels/Chebyshev/FChebTensorialM2LHandler.hpp
View file @
59797bbb
...
...
@@ -357,7 +357,7 @@ template <int ORDER, class MatrixKernelClass>
unsigned
int
ComputeAndCompress
(
const
MatrixKernelClass
*
const
MatrixKernel
,
const
FReal
CellWidth
,
const
FReal
CellWidthExtension
,
const
FReal
epsilon
,
const
FReal
/*
epsilon
*/
,
FReal
*
&
U
,
FReal
**
&
C
,
FReal
*
&
B
)
...
...
Src/Kernels/Interpolation/FInterpMatrixKernel.hpp
View file @
59797bbb
...
...
@@ -83,7 +83,7 @@ struct FInterpMatrixKernelR : FInterpAbstractMatrixKernel
FInterpMatrixKernelR
()
{}
// copy ctor
FInterpMatrixKernelR
(
const
FInterpMatrixKernelR
&
other
)
FInterpMatrixKernelR
(
const
FInterpMatrixKernelR
&
/*
other
*/
)
{}
// returns position in reduced storage
...
...
@@ -151,7 +151,7 @@ struct FInterpMatrixKernelRH :FInterpMatrixKernelR{
// copy ctor
FInterpMatrixKernelRH
(
const
FInterpMatrixKernelRH
&
other
)
:
LX
(
other
.
LX
),
LY
(
other
.
LY
),
LZ
(
other
.
LZ
)
:
FInterpMatrixKernelR
(
other
),
LX
(
other
.
LX
),
LY
(
other
.
LY
),
LZ
(
other
.
LZ
)
{}
// evaluate interaction
...
...
@@ -219,7 +219,7 @@ struct FInterpMatrixKernelRR : FInterpAbstractMatrixKernel
FInterpMatrixKernelRR
()
{}
// copy ctor
FInterpMatrixKernelRR
(
const
FInterpMatrixKernelRR
&
other
)
FInterpMatrixKernelRR
(
const
FInterpMatrixKernelRR
&
/*
other
*/
)
{}
// returns position in reduced storage
...
...
@@ -288,7 +288,7 @@ struct FInterpMatrixKernelLJ : FInterpAbstractMatrixKernel
FInterpMatrixKernelLJ
()
{}
// copy ctor
FInterpMatrixKernelLJ
(
const
FInterpMatrixKernelLJ
&
other
)
FInterpMatrixKernelLJ
(
const
FInterpMatrixKernelLJ
&
/*
other
*/
)
{}
// returns position in reduced storage
...
...
Src/Utils/FMath.hpp
View file @
59797bbb
...
...
@@ -262,7 +262,7 @@ struct FMath{
FReal
getmax
()
const
{
return
max
;
}
FReal
getNbElements
()
const
{
int
getNbElements
()
const
{
return
nbElements
;
}
void
setNbElements
(
const
int
&
n
)
{
...
...
Src/Utils/FMpi.hpp
View file @
59797bbb
...
...
@@ -263,31 +263,31 @@ public:
// Mpi Types meta function
////////////////////////////////////////////////////////////
static
const
MPI_Datatype
GetType
(
const
long
long
&
){
static
MPI_Datatype
GetType
(
const
long
long
&
){
return
MPI_LONG_LONG
;
}
static
const
MPI_Datatype
GetType
(
const
long
int
&
){
static
MPI_Datatype
GetType
(
const
long
int
&
){
return
MPI_LONG
;
}
static
const
MPI_Datatype
GetType
(
const
double
&
){
static
MPI_Datatype
GetType
(
const
double
&
){
return
MPI_DOUBLE
;
}
static
const
MPI_Datatype
GetType
(
const
float
&
){
static
MPI_Datatype
GetType
(
const
float
&
){
return
MPI_FLOAT
;
}
static
const
MPI_Datatype
GetType
(
const
int
&
){
static
MPI_Datatype
GetType
(
const
int
&
){
return
MPI_INT
;
}
static
const
MPI_Datatype
GetType
(
const
char
&
){
static
MPI_Datatype
GetType
(
const
char
&
){
return
MPI_CHAR
;
}
static
const
MPI_Datatype
GetType
(
const
FComplexe
&
a
){
static
MPI_Datatype
GetType
(
const
FComplexe
&
a
){
MPI_Datatype
FMpiComplexe
;
MPI_Type_contiguous
(
2
,
GetType
(
a
.
getReal
())
,
&
FMpiComplexe
);
return
FMpiComplexe
;
...
...
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