assert max_sol_num<1.1
error_tab[i]=log10(error_tab[i])
time_tab[i]=log10(time_tab[i])
- with open('./FiniteElementsOnCubeSkinPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+ with open('./FiniteElementsOnCubeSkinPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
lines = f.readlines()
y = [float(line.split(",")[0]) for line in lines[1:]]
x = [float(line.split(",")[1]) for line in lines[1:]]
import FiniteElements3DPoissonSphere
+import matplotlib
+matplotlib.use("Agg")
import matplotlib.pyplot as plt
import numpy as np
from math import log10, sqrt
assert max_sol_num<1.1
error_tab[i]=log10(error_tab[i])
time_tab[i]=log10(time_tab[i])
- with open('./FiniteElementsOnSpherePoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+ with open('./FiniteElementsOnSpherePoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
lines = f.readlines()
y = [float(line.split(",")[0]) for line in lines[1:]]
x = [float(line.split(",")[1]) for line in lines[1:]]
assert max_sol_num<1.15
error_tab[i]=log10(error_tab[i])
time_tab[i]=log10(time_tab[i])
- with open('./FiniteElementsOnTorusPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'0.csv') as f:
+ with open('./FiniteElementsOnTorusPoisson_PlotOnSortedLines'+meshType+str(mesh_size_tab[i])+'.csv') as f:
lines = f.readlines()
y = [float(line.split(",")[0]) for line in lines[1:]]
x = [float(line.split(",")[1]) for line in lines[1:]]