I'm trying to reproduce an example from a tutorial and I get stuck with meshes not being defined:
using DiffEqBase
using DiffEqPDEBase
f(t,x,u) = ones(size(x,1)) - .5u
u0_func(x) = zeros(size(x,1))
tspan = (0.0,1.0)
dx = 1//2^(3)
dt = 1//2^(7)
# THE FOLLOWING LINE IS FAILING
mesh = parabolic_squaremesh([0 1 0 1],dx,dt,tspan,:neumann)
u0 = u0_func(mesh.node)
prob = HeatProblem(u0,f,mesh)
sol = solve(prob,FEMDiffEqHeatImplicitEuler())
The code fails at the line where I try to create the mesh with the error message: *UndefVarError: parabolic_squaremesh not defined top-level scope at test.jl:22 All packages are installed without errors. However, I was not able to install the using FiniteElementDiffEq which seems to be depreciated.