diff plotDerivative2d.jl @ 59:60d575e4a2d8

Merge with latest changes
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 16 Jan 2019 12:40:20 +0100
parents 4300a3fbd818
children 27a8d3021a1c 81d9510cb2d0
line wrap: on
line diff
--- a/plotDerivative2d.jl	Wed Jan 16 12:39:42 2019 +0100
+++ b/plotDerivative2d.jl	Wed Jan 16 12:40:20 2019 +0100
@@ -1,9 +1,9 @@
-g = sbp.grid.EquidistantGrid((100,75),((0, 0), (2pi, 3/2*pi)))
+g = sbp.Grid.EquidistantGrid((100,75),((0, 0), (2pi, 3/2*pi)))
 op = sbp.readOperator("d2_4th.txt","h_4th.txt")
 Laplace = sbp.Laplace2D(g,1,op)
 
 init(x,y) = sin(x) + cos(y)
-v = sbp.grid.evalOn(g,init)
+v = sbp.Grid.evalOn(g,init)
 
 u = zeros(length(v))
 
@@ -12,5 +12,5 @@
 @show u
 @show u'*u
 
-sbp.grid.plotgridfunction(g,u)
+sbp.Grid.plotgridfunction(g,u)