Skip to content

Commit 8ba65d6

Browse files
committed
benchmark
1 parent 25538a0 commit 8ba65d6

File tree

2 files changed

+23725
-23725
lines changed

2 files changed

+23725
-23725
lines changed

benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def v_f_left(t_):
935935
outfile.write("t val" + "\n")
936936
if True:
937937
Vplot = FunctionSpace(mesh_f, "P", degree)
938-
vfplot = Function(Vplot, name="mesh_f")
938+
vfplot = Function(Vplot, name="mesh_f").assign(Constant(1))
939939
#vf = solution.subfunctions[0]
940940
#solve(J_f_ * inner(TrialFunction(Vplot), TestFunction(Vplot)) * dx_f == J_f_ * inner(sqrt(dot(vf, vf)), TestFunction(Vplot)) * dx_f, vfplot)
941941
coords = mesh_f.coordinates.dat.data_with_halos

0 commit comments

Comments
 (0)