Skip to content

Commit

Permalink
Remove output path in aparams and symmetry factors in conservation plots
Browse files Browse the repository at this point in the history
  • Loading branch information
dinatraykova committed Nov 1, 2024
1 parent 259e5df commit 6a94235
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Examples/BoostedBHComplexScalar/params.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
verbosity = 0

# location / naming of output files
output_path = "/nfs/st01/hpc-gr-epss/eaf49/PR-dump" # Main path for all files. Must exist!
output_path = "" # Main path for all files. Must exist!
chk_prefix = BoostedBH_
plot_prefix = BoostedBHp_
# restart_file = BoostedBH_000000.3d.hdf5
Expand Down
8 changes: 3 additions & 5 deletions Examples/BoostedBHComplexScalar/plot_conservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@
plt.rcParams.update({'figure.figsize' : '6, 4.2'})
plt.rcParams.update({'figure.autolayout': True})

symmetry = 4.0

EMS = np.loadtxt('data/EnergyIntegrals.dat')
F = np.loadtxt('data/FluxIntegrals.dat')
timedata = EMS[:,0][1:]
dt = timedata[1] - timedata[0]
E = EMS[:,1][1:]*symmetry
M = EMS[:,2][1:]*symmetry
S = EMS[:,3][1:]*symmetry
E = EMS[:,1][1:]
M = EMS[:,2][1:]
S = EMS[:,3][1:]
E0 = E-E[0]
M0 = M-M[0]
FEi = F[:,1]
Expand Down
6 changes: 2 additions & 4 deletions Examples/KerrBHScalarField/plot_conservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@
plt.rcParams.update({'figure.figsize' : '6, 4.2'})
plt.rcParams.update({'figure.autolayout': True})

symmetry = 2.0

EMS = np.loadtxt('data/EnergyIntegrals.dat')
F = np.loadtxt('data/FluxIntegrals.dat')
timedata = EMS[:,0][1:]
dt = timedata[1] - timedata[0]
E = EMS[:,1][1:]*symmetry
M = EMS[:,2][1:]*symmetry
E = EMS[:,1][1:]
M = EMS[:,2][1:]
E0 = E-E[0]
M0 = M-M[0]
FEi = F[:,1]
Expand Down

0 comments on commit 6a94235

Please sign in to comment.