Commit aefe2e07 by Jigyasa Watwani

commented out mesh move, mesh plot

parent 721c2145
Showing with 5 additions and 5 deletions
......@@ -24,8 +24,8 @@ class Growth(object):
self.fminus1 = df.Function(self.function_space) # f at t = -1
self.f0 = df.Function(self.function_space) # f at t =0
df.plot(self.mesh)
plt.show()
# df.plot(self.mesh)
# plt.show()
def advection(self,c,v,tc):
return (df.inner((v*c).dx(0),tc))
......@@ -123,9 +123,9 @@ class Growth(object):
c_array[i] = c.compute_vertex_values(self.mesh)
self.f0.assign(self.f)
self.fminus1.assign(self.f0)
df.ALE.move(self.mesh,u)
df.plot(self.mesh)
plt.show()
# df.ALE.move(self.mesh,u)
# df.plot(self.mesh)
# plt.show()
return (u_array, v_array, rho_array, c_array)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment