Commit c7c21e9b authored by Robert K's avatar Robert K

[cleanup][warning] remove warnings.

parent 7d35bd0f
Pipeline #19795 failed with stage
in 26 seconds
......@@ -421,7 +421,7 @@ namespace Fem
rp_.reset( new RestrictionProlongationType( *(std::get< i >( tuple_ )->adaptationSolution() )... ) );
}
const int finestLevel() const
int finestLevel() const
{
//int res = 0;
//Dune::Hybrid::forEach(tuple_,
......@@ -517,10 +517,10 @@ namespace Fem
void setAdaptation( Args&& ... ){}
template< class ... Args >
const double adaptationTime( Args&& ... ) const { return 0.0; }
double adaptationTime( Args&& ... ) const { return 0.0; }
template< class ... Args >
const double loadBalanceTime( Args&& ... ) const { return 0.0; }
double loadBalanceTime( Args&& ... ) const { return 0.0; }
};
}
......
......@@ -148,7 +148,7 @@ namespace Fem
ForLoopType< Finalize >::apply( tuple_, alg->gridWidth(), alg->gridSize() );
}
const double getData( const std::string name, CombinationType comb = CombinationType::max ) const
double getData( const std::string name, CombinationType comb = CombinationType::max ) const
{
double res = (comb == CombinationType::min) ? std::numeric_limits<double>::max() : 0.0;
ForLoopType< GetData >::apply( tuple_, res, name, comb );
......@@ -172,7 +172,7 @@ namespace Fem
{}
template <class ... Args>
const double getData( Args&& ... ) const
double getData( Args&& ... ) const
{ return 0.0; }
};
......
......@@ -65,7 +65,7 @@ namespace Fem
int maxNumberOfElements() const { return 0; }
const int finestLevel() const { return 0; }
int finestLevel() const { return 0; }
};
......@@ -224,7 +224,7 @@ namespace Fem
/**
* \brief Returns the maximum finest level of the grid.
*/
const int finestLevel() const
int finestLevel() const
{
return adaptParam_.finestLevel();
}
......
......@@ -75,7 +75,7 @@ namespace Fem
dataInt_.insert( std::make_pair(name, diagnosticsData ) );
}
const double getData( const std::string name )
double getData( const std::string name )
{
if( dataInt_.find(name) != dataInt_.end() )
{
......
......@@ -106,7 +106,7 @@ namespace Fem
dataDouble_.insert( std::make_pair(name, std::make_tuple( monitorData, externalMonitorData, internal ) ) );
}
const double getData( const std::string name )
double getData( const std::string name )
{
if( dataInt_.find(name) != dataInt_.end() )
{
......
......@@ -312,7 +312,7 @@ namespace Fem
// set polynomial order to 2 by default
PolOrderStructure() : val_( -1 ) {}
explicit PolOrderStructure(int init) : val_( init ) {}
const int value() const
int value() const
{
assert( val_ > 0 );
return val_;
......@@ -475,7 +475,7 @@ namespace Fem
int maxNumberOfElements() const { return 0; }
const int finestLevel() const { return 0; }
int finestLevel() const { return 0; }
// return some info
// const typename SigmaEstimatorType::SigmaDiscreteFunctionType& sigma()
......@@ -560,7 +560,7 @@ namespace Fem
int maxNumberOfElements() const { return 0; }
const int finestLevel() const { return 0; }
int finestLevel() const { return 0; }
// return some info
const typename SigmaEstimatorType::SigmaDiscreteFunctionType& sigma()
......
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