diff --git a/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.cpp b/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.cpp index 28ff8f5ff14..b5dee41e6d8 100644 --- a/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.cpp +++ b/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.cpp @@ -184,7 +184,7 @@ real64 QuasiDynamicEQRK32::solverStep( real64 const & time_n, stepRateStateODEAndComputeError( dtAdaptive, domain ); // Update timestep based on the time step error - real64 const dtNext = setNextDt( dtAdaptive, domain ); + real64 const dtNext = setNextDt( time_n, dtAdaptive, domain ); if( m_successfulStep ) // set in setNextDt { // Compute stresses, and slip velocity and save results at updated time, @@ -429,7 +429,9 @@ void QuasiDynamicEQRK32::saveState( DomainPartition & domain ) const } ); } -real64 QuasiDynamicEQRK32::setNextDt( real64 const & currentDt, DomainPartition & domain ) +real64 QuasiDynamicEQRK32::setNextDt( real64 const & GEOS_UNUSED_PARAM( currentTime ), + real64 const & currentDt, + DomainPartition & domain ) { // Spring-slider shear traction computation diff --git a/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.hpp b/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.hpp index bcb3dd8a72a..61d1d0f8c3f 100644 --- a/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.hpp +++ b/src/coreComponents/physicsSolvers/inducedSeismicity/QuasiDynamicEQRK32.hpp @@ -63,7 +63,8 @@ class QuasiDynamicEQRK32 : public PhysicsSolverBase DomainPartition & domain ) override final; - virtual real64 setNextDt( real64 const & currentDt, + virtual real64 setNextDt( real64 const & currentTime, + real64 const & currentDt, DomainPartition & domain ) override final; /**