Peano
Loading...
Searching...
No Matches
522_single-black-hole.py File Reference

Go to the source code of this file.

Namespaces

namespace  522_single-black-hole
 
namespace  _single
 -black-hole
 

Functions

 522_single-black-hole.psi (r)
 Conformal factor of the Schwarzschild black hole in isotropic coordinates.
 
 522_single-black-hole.build_and_run (directory, peano_installation, end_time, scheme, enforce, patch_size=PatchSize, load_balancing=False, threads=None)
 Generate, compile and run the tutorial setup within directory.
 
 522_single-black-hole.probe (directory, point, output_file)
 Probe all snapshots at one point.
 
 522_single-black-hole.profile (directory, volumes_per_axis=VolumesPerAxis)
 Probe lapse and phi in the centre of each volume along the line through the centres of the volumes next to the puncture, i.e.
 
 522_single-black-hole.radius (x, line_offset=LineOffset)
 
 522_single-black-hole.time_steps (directory)
 Number of time steps and average wall clock time per time step.
 
 522_single-black-hole.plot_speeding_up (coarse, fine)
 Lapse next to the puncture over time, and along the x-axis at the end, for both meshes.
 
 522_single-black-hole.plot_initial_data (x, lapse, phi)
 Initial lapse and conformal factor along the x-axis against the closed form.
 
 522_single-black-hole.plot_lapse_profile (x, t, lapse)
 Lapse along the x-axis for several snapshots.
 
 522_single-black-hole.plot_lapse_over_time (x, t, lapse)
 Lapse over time at a few distances from the puncture.
 
 522_single-black-hole.plot_constraints (unconstrained, constrained)
 Lapse and phi next to the puncture over time with and without constraint enforcement.
 

Variables

 522_single-black-hole.Here = os.path.dirname(os.path.abspath(__file__))
 
 522_single-black-hole.PeanoRoot = os.path.abspath(os.path.join(Here, "..", "..", "..", ".."))
 
str 522_single-black-hole.PatchFile = "solution-CCZ4.peano-patch-file"
 
float 522_single-black-hole.Mass = 1.0
 
float 522_single-black-hole.DomainOffset = -9.0
 
float 522_single-black-hole.DomainSize = 18.0
 
int 522_single-black-hole.CellsPerAxis = 9
 
int 522_single-black-hole.PatchSize = 6
 
int 522_single-black-hole.VolumesPerAxis = CellsPerAxis * PatchSize
 
float 522_single-black-hole.TimeInBetweenPlots = 0.5
 
float 522_single-black-hole.LineOffset = DomainSize / VolumesPerAxis / 2.0
 y and z coordinate of the line along which we probe: the centre of the first volume next to the origin
 
int 522_single-black-hole.DecomposedPatchSize = 10
 The run of the section "Speeding up": the plain Finite Volumes with 10x10x10 patches over the same 9x9x9 mesh cells, the domain decomposed by a load balancing strategy, and four OpenMP threads.
 
int 522_single-black-hole.DecomposedThreads = 4
 
list 522_single-black-hole.Runs
 The runs: name, patch size, load balancing, threads, constraint enforcement.
 
 522_single-black-hole.parser
 
 522_single-black-hole.default
 
 522_single-black-hole.help
 
 522_single-black-hole.type
 
 522_single-black-hole.float
 
 522_single-black-hole.args = parser.parse_args()
 
 522_single-black-hole.work_directory
 
dict 522_single-black-hole.runs = {}
 
 522_single-black-hole.directory = os.path.join(os.path.abspath(work_directory), name)
 
 522_single-black-hole.runtime
 
int 522_single-black-hole.volumes_per_axis = CellsPerAxis * patch_size
 
 522_single-black-hole.x
 
 522_single-black-hole.t
 
 522_single-black-hole.lapse
 
 522_single-black-hole.phi
 
 522_single-black-hole.count
 
 522_single-black-hole.average
 
float 522_single-black-hole.h = DomainSize / volumes_per_axis
 
int 522_single-black-hole.centre = volumes_per_axis // 2