Skip to content

Commit

Permalink
added a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
komatits committed Nov 12, 2015
1 parent 0f2454e commit c4bc039
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/specfem2D/compute_forces_viscoelastic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ subroutine compute_forces_viscoelastic(accel_elastic,veloc_elastic,displ_elastic
if( stage_time_scheme == 1 ) then

! update the memory variables using a convolution or using a differential equation
! From Zhinan Xie and Dimitri Komatitsch:
! For cases in which a value of tau_sigma is small, then its inverse is large,
! which may result in a in stiff ordinary differential equation to solve;
! in such a case, resorting to the convolution formulation may be better (?)
if(CONVOLUTION_MEMORY_VARIABLES) then
call compute_coef_convolution(tauinvnu1,deltat,coef0,coef1,coef2)

Expand Down

0 comments on commit c4bc039

Please sign in to comment.