Inconsequential use of timingDeltas
The timingDeltas instances are created in two places:
- in Engine.hpp:
#ifdef USE_TIMING_DELTAS
timingDeltas=shared_ptr<TimingDeltas>(new TimingDeltas);
#endif
- in Functor.hpp:
#ifdef USE_TIMING_DELTAS
timingDeltas=shared_ptr<TimingDeltas>(new TimingDeltas);
#endif
However they also have duplicate constructor:
- in HydrodynamicsLawLBM.hpp
- in InsertionSortCollider.hpp
- duplicate not guarded by #ifdef in NewtonIntegrator.hpp
- duplicate not guarded by #ifdef in FlowEngine.hpp.in
@vsangelidakis started cleaning it up. But it turned to be more work than a single commit. So I open an issue for that.