Skip to content
Snippets Groups Projects
Commit ad02e67a authored by Dave Whipp's avatar Dave Whipp
Browse files

Fixed typos

parent cdf4b77a
No related branches found
No related tags found
No related merge requests found
...@@ -630,22 +630,23 @@ select case(surface_type) ...@@ -630,22 +630,23 @@ select case(surface_type)
if (x(i).le.x1a) then if (x(i).le.x1a) then
zx=sp01 zx=sp01
elseif (x(i).le.x1b) then elseif (x(i).le.x1b) then
zx=sp01-((x(i)-x1a)/(sp06/m)*sp06) zx=sp01-((x(i)-x1a)/(-sp06/m))*sp06))
elseif (x(i).le.x2a) then elseif (x(i).le.x2a) then
zx=sp01-sp06 zx=sp01-sp06
elseif (x(i).le.x2b) then elseif (x(i).le.x2b) then
zx=sp01-((1.d0-((x(i)-x2a)/(sp06/m)))*sp06) zx=sp01-(1.d0+((x(i)-x2a)/(-sp06/m))*sp06)))
!zx=sp01-((1.d0-((x(i)-x2a)/(sp06/m)))*sp06)
else else
zx=sp01 zx=sp01
endif endif
if (y(i).le.y1a) then if (y(i).le.y1a) then
z(i)=sp01 z(i)=sp01
elseif (y(i).le.y1b) then elseif (y(i).le.y1b) then
z(i)=min(sp01-((y(i)-y1a)/(sp06/m)*sp06),zx) z(i)=min(sp01-((y(i)-y1a)/(-sp06/m))*sp06)),zx)
elseif (y(i).le.y2a) then elseif (y(i).le.y2a) then
z(i)=min(sp01-sp06,zx) z(i)=min(sp01-sp06,zx)
elseif (y(i).le.y2b) then elseif (y(i).le.y2b) then
z(i)=min(sp01-((1.d0-((y(i)-y2a)/(sp06/m)))*sp06),zx) z(i)=min(sp01-(1.d0+((y(i)-y2a)/(-sp06/m))*sp06))),zx)
else else
z(i)=sp01 z(i)=sp01
endif endif
......
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