Peano
Loading...
Searching...
No Matches
single-black-hole Namespace Reference

Functions

 parse_arguments ()
 
 create_numerical_scheme (solver, arguments)
 Assign numerical scheme, grid construction and checkpoint plotter to solver.
 
 actual_volume_size (arguments)
 Size of a volume/grid cell the regular 3-adic mesh yields.
 
 min_volume_size (arguments)
 Volumes of this size or bigger may still be refined.
 
 regular_mesh_levels (arguments)
 Number of refinement levels of the regular 3-adic mesh (see actual_volume_size())
 
 create_load_balancing (arguments)
 Name and constructor arguments of the load balancing strategy.
 
 main ()
 

Variables

dict Compilers
 
dict EnforceModes
 
dict Variants
 What a build variant fixes: the compile mode and the default setup size.
 
dict SplitModes
 
dict Verbosities
 

Function Documentation

◆ actual_volume_size()

single-black-hole.actual_volume_size (   arguments)

Size of a volume/grid cell the regular 3-adic mesh yields.

Definition at line 391 of file single-black-hole.py.

◆ create_load_balancing()

single-black-hole.create_load_balancing (   arguments)

Name and constructor arguments of the load balancing strategy.

The hardcoded strategy splits the regular mesh into arguments.trees trees of the same number of cells, i.e. the outcome SpreadOutOnceGridStagnates aims for. The splits are computed offline on a synthetic regular tree along the space-filling curve, and all trees live on rank 0. AMR levels do not enter, as the splits fire once the mesh has reached the regular mesh and are bottom-up.

Definition at line 426 of file single-black-hole.py.

◆ create_numerical_scheme()

single-black-hole.create_numerical_scheme (   solver,
  arguments 
)

Assign numerical scheme, grid construction and checkpoint plotter to solver.

Definition at line 317 of file single-black-hole.py.

◆ main()

single-black-hole.main ( )

Definition at line 465 of file single-black-hole.py.

◆ min_volume_size()

single-black-hole.min_volume_size (   arguments)

Volumes of this size or bigger may still be refined.

The regular mesh of –volume-size is the coarsest mesh the benchmark allows (README.dox), so the AMR levels sit on top of its actual volume size. Refining a cell yields volumes strictly smaller than the bound, so the bound is the volume size of the second-finest level, slightly reduced to be robust against rounding. Without AMR levels, the bound would exceed the –volume-size. It is capped there, which is still above the volume size of the regular mesh, i.e. the mesh stays regular.

Definition at line 399 of file single-black-hole.py.

◆ parse_arguments()

single-black-hole.parse_arguments ( )

Definition at line 120 of file single-black-hole.py.

◆ regular_mesh_levels()

single-black-hole.regular_mesh_levels (   arguments)

Number of refinement levels of the regular 3-adic mesh (see actual_volume_size())

Definition at line 416 of file single-black-hole.py.

Variable Documentation

◆ Compilers

dict single-black-hole.Compilers
Initial value:
1= {
2 "sequential": peano4.api.taskgraph.compiler.Sequential.translate,
3 "fusion-only": peano4.api.taskgraph.compiler.FuseSteps.translate,
4 "producer-consumer-sequential": peano4.api.taskgraph.compiler.CellTaskProducerConsumer.translate_with_sequential,
5 "producer-consumer-fusion": peano4.api.taskgraph.compiler.CellTaskProducerConsumer.translate_with_fusion,
6}

Definition at line 75 of file single-black-hole.py.

◆ EnforceModes

dict single-black-hole.EnforceModes
Initial value:
1= {
2 mode.name.lower(): mode
3 for mode in exagrype.api.CCZ4Solver.EnforceCCZ4Constraint
4}

Definition at line 82 of file single-black-hole.py.

◆ SplitModes

dict single-black-hole.SplitModes
Initial value:
1= {
2 "bottom-up": Hardcoded.BottomUp,
3 "top-down": Hardcoded.TopDown,
4 "inferred": None,
5}

Definition at line 109 of file single-black-hole.py.

◆ Variants

dict single-black-hole.Variants
Initial value:
1= {
2 "debug": dict(
3 mode=peano4.api.output.CompileMode.DEBUG,
4 domain_size=18.0,
5 volume_size=1.2,
6 end_time=0.5,
7 ),
8 "profile": dict(
9 mode=peano4.api.output.CompileMode.STATS,
10 domain_size=172.0,
11 volume_size=1.2,
12 end_time=1.0,
13 ),
14 "production": dict(
15 mode=peano4.api.output.CompileMode.RELEASE,
16 domain_size=486.0,
17 volume_size=0.4,
18 end_time=100.0,
19 ),
20}

What a build variant fixes: the compile mode and the default setup size.

Definition at line 88 of file single-black-hole.py.

◆ Verbosities

dict single-black-hole.Verbosities
Initial value:
1= {
2 mode.name.lower(): mode for mode in peano4.api.LoggerVerbosity
3}
Controls how much detail Logger.log()/new_section() print to the console.
Definition Logger.py:20

Definition at line 115 of file single-black-hole.py.