Skip to content
Snippets Groups Projects
Commit 2d3c8dab authored by Jean Braun's avatar Jean Braun
Browse files

Tweaked sine/cosine wave surface geometries

parent 2d02e155
No related branches found
No related tags found
No related merge requests found
......@@ -560,7 +560,7 @@ select case(surface_type)
! sp03 is the amplitude
! sp04 is the phase
do i=1,ns
z(i)=sp01+sp03*sin(x(i)*2.d0*pi/sp02+sp04)
z(i)=sp01+sp03*sin(2.d0*pi*(x(i)/sp02+sp04))
end do
case (7)
! a noisy surface,
......@@ -587,7 +587,7 @@ select case(surface_type)
! sp03 is the amplitude
! sp04 is the phase
do i=1,ns
z(i)=sp01+sp03*cos(x(i)*2.d0*pi/sp02+sp04)
z(i)=sp01+sp03*cos(2.d0*pi*(x(i)/sp02+sp04))
end do
case (10)
! a 2D embankment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment