Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Tomin authored and Pavel Tomin committed Dec 23, 2024
1 parent 47ea23c commit c20745b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit c20745b

Please sign in to comment.