Hello Jean-Michel,
I tried to use your updated version of wave_equation.f but it fails. The reason seems to be that in your new file you call t3d_stress.f with a few extra arguments than those of t3d_stress.f in v6p3r2.
Here is your call in updated wave_equation.f:
! EXPLICIT STRESS TERMS
!
CALL T3D_STRESS(T3_01,'X=X-Y ',T2_02,T3_04,
& BUBORL,BUBORF,BUBORS,NPOIN2,NPOIN3,MESH2D,
& MESH3D,IELM3,IELM2H,IELM2V,SVIDE,
& MSK,MASKBR,MASKEL,IPBOT%I,SIGMAG,
& OPTBAN,NPLAN)
CALL T3D_STRESS(T3_02,'X=X-Y ',T2_02,T3_04,
& BVBORL,BVBORF,BVBORS,NPOIN2,NPOIN3,MESH2D,
& MESH3D,IELM3,IELM2H,IELM2V,SVIDE,
& MSK,MASKBR,MASKEL,IPBOT%I,SIGMAG,
& OPTBAN,NPLAN)
The last four variables are not defined as arguments in t3d_stress.f from v6p3r2.
Is there a new working version of this subroutine that I could use and test? Or is it a compiler related problem (I use gfortran)?
Thank you in advance for your help!
Regards,
PL