diff --git a/src/surface_PML.c b/src/surface_PML.c index a358d905a5b365d6b70943d2f39090a6217a9fa5..b6a411cc309040d6aef594a49ea5944e974e20ae 100644 --- a/src/surface_PML.c +++ b/src/surface_PML.c @@ -36,18 +36,17 @@ void surface_PML(int ndepth, float ** vx, float ** vy, float ** sxx, float ** sy float vxx, vyy, sump=0.0; float dh24, dthalbe; float *pts, ws, sumu, sumpi, mu, pi; - extern float DT, DH, *FL, WAVETYPE; + extern float DT, DH, *FL; extern int NX, INVMAT1, L; extern int FW, BOUNDARY; extern int NPROCX, NPROCY, POS[3], MYID; - extern int FDORDER; + extern int FDORDER,WAVETYPE; extern float F_REF; fdoh = FDORDER/2; dthalbe=DT/2.0; dh24=1.0/DH; - if (WAVETYPE==1||WAVETYPE==3){ /* vector for maxwellbodies */ pts=vector(1,L);