You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
430 B
Python
22 lines
430 B
Python
import numpy as np
|
|
import matplotlib.pyplot as plt
|
|
|
|
|
|
rdir = "./data/"
|
|
nps = 5
|
|
ps = np.linspace(0.1, 0.5, nps)
|
|
|
|
clabels = ["Intermediate", "high", "low"]
|
|
|
|
for con in range(3):
|
|
keff = np.zeros(nps)
|
|
for ip in range(nps):
|
|
folder = con * nps + ip
|
|
keff[ip] = np.loadtxt(rdir + str(folder) + "/SolverRes.txt")[2]
|
|
|
|
plt.plot(ps, keff, label=clabels[con])
|
|
|
|
plt.legend()
|
|
plt.grid()
|
|
plt.savefig("rTimeSolver.png")
|