Commit 59797bbb authored by aetcheve's avatar aetcheve

fix some warnings

parent 3205c613
......@@ -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;
}
......
......@@ -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)
......
......@@ -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
......
......@@ -262,7 +262,7 @@ struct FMath{
FReal getmax() const{
return max;
}
FReal getNbElements() const{
int getNbElements() const{
return nbElements;
}
void setNbElements(const int & n) {
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment