|
Peano
|
Variables | |
| dict | font = {'size':12} |
| family | |
| usetex | |
| str | snapshot_dir = '' |
| files = glob.glob(snapshot_dir + "particles-*.vtu") | |
| float | E_ini = 1.11362 |
| int | time_step_sim = 1e-3 |
| int | snapshot_rate = 10 |
| float | SUN_X = 0.5 |
| float | SUN_Y = 0.55 |
| E_dif_all = np.zeros( len(files) ) | |
| t_all = np.zeros( len(files) ) | |
| start | |
| int | time = N_snapshot * snapshot_rate * time_step_sim |
| reader = ParticleVTUReader(vtufile=file) | |
| partData = reader.load() | |
| pos = partData.x | |
| x = pos[:,0] | |
| y = pos[:,1] | |
| E_tot = partData.energyTot | |
| tuple | E_dif = (E_tot - E_ini) / E_ini |
| fig = plt.figure( figsize=(6, 4) ) | |
| c | |
| lw | |
| zorder | |
| direction | |
| top | |
| True | |
| right | |
| left | |
| bottom | |
| ls | |
| float | E_tolerance = 0.05 |
| E_min = E_dif_all.min() | |
| E_max = E_dif_all.max() | |
| E_mean = np.mean(E_dif_all) | |
| plots-time-integration-test.bottom |
Definition at line 82 of file plots-time-integration-test.py.
| plots-time-integration-test.c |
Definition at line 78 of file plots-time-integration-test.py.
| plots-time-integration-test.direction |
Definition at line 82 of file plots-time-integration-test.py.
Definition at line 64 of file plots-time-integration-test.py.
Definition at line 36 of file plots-time-integration-test.py.
| float plots-time-integration-test.E_ini = 1.11362 |
Definition at line 29 of file plots-time-integration-test.py.
| plots-time-integration-test.E_max = E_dif_all.max() |
Definition at line 99 of file plots-time-integration-test.py.
Definition at line 100 of file plots-time-integration-test.py.
| plots-time-integration-test.E_min = E_dif_all.min() |
Definition at line 98 of file plots-time-integration-test.py.
| float plots-time-integration-test.E_tolerance = 0.05 |
Definition at line 96 of file plots-time-integration-test.py.
| plots-time-integration-test.E_tot = partData.energyTot |
Definition at line 62 of file plots-time-integration-test.py.
| plots-time-integration-test.family |
Definition at line 17 of file plots-time-integration-test.py.
| plots-time-integration-test.fig = plt.figure( figsize=(6, 4) ) |
Definition at line 76 of file plots-time-integration-test.py.
| plots-time-integration-test.files = glob.glob(snapshot_dir + "particles-*.vtu") |
Definition at line 24 of file plots-time-integration-test.py.
| dict plots-time-integration-test.font = {'size':12} |
Definition at line 15 of file plots-time-integration-test.py.
| plots-time-integration-test.left |
Definition at line 82 of file plots-time-integration-test.py.
| plots-time-integration-test.ls |
Definition at line 83 of file plots-time-integration-test.py.
| plots-time-integration-test.lw |
Definition at line 78 of file plots-time-integration-test.py.
| plots-time-integration-test.partData = reader.load() |
Definition at line 51 of file plots-time-integration-test.py.
| plots-time-integration-test.pos = partData.x |
Definition at line 57 of file plots-time-integration-test.py.
| plots-time-integration-test.reader = ParticleVTUReader(vtufile=file) |
Definition at line 50 of file plots-time-integration-test.py.
| plots-time-integration-test.right |
Definition at line 82 of file plots-time-integration-test.py.
| str plots-time-integration-test.snapshot_dir = '' |
Definition at line 23 of file plots-time-integration-test.py.
| int plots-time-integration-test.snapshot_rate = 10 |
Definition at line 31 of file plots-time-integration-test.py.
| plots-time-integration-test.start |
Definition at line 40 of file plots-time-integration-test.py.
| float plots-time-integration-test.SUN_X = 0.5 |
Definition at line 32 of file plots-time-integration-test.py.
| float plots-time-integration-test.SUN_Y = 0.55 |
Definition at line 33 of file plots-time-integration-test.py.
Definition at line 37 of file plots-time-integration-test.py.
| int plots-time-integration-test.time = N_snapshot * snapshot_rate * time_step_sim |
Definition at line 43 of file plots-time-integration-test.py.
| int plots-time-integration-test.time_step_sim = 1e-3 |
Definition at line 30 of file plots-time-integration-test.py.
| plots-time-integration-test.top |
Definition at line 82 of file plots-time-integration-test.py.
| plots-time-integration-test.True |
Definition at line 82 of file plots-time-integration-test.py.
| plots-time-integration-test.usetex |
Definition at line 18 of file plots-time-integration-test.py.
Definition at line 58 of file plots-time-integration-test.py.
Definition at line 59 of file plots-time-integration-test.py.
| plots-time-integration-test.zorder |
Definition at line 78 of file plots-time-integration-test.py.