Peano
Loading...
Searching...
No Matches
ccz4 Namespace Reference

Data Structures

class  CCZ4Solver
 

Variables

dict modes
 
dict floatparams
 
dict intparams = {"BBHType":2, "LapseType":1, "tp_grid_setup":0, "swi":99, "ReSwi":0, "SO":0}
 
 parser = argparse.ArgumentParser(description='ExaHyPE 2 - CCZ4 script')
 
 dest
 
 type
 
 float
 
 required
 
 help
 
 default
 
 int
 
 False
 
 action
 
 choices
 
 True
 
 str
 
 v
 
 args = parser.parse_args()
 
 SuperClass = None
 
 userinfo
 
str exe = "peano4"
 
 project = exahype2.Project( ["applications", "exahype2", "ccz4"], "ccz4", executable=exe)
 
bool is_aderdg = False
 Pick solver.
 
bool is_rkdg = False
 
str solver_name = "CCZ4"
 
 min_h = args.min_h
 
 my_solver = CCZ4Solver(solver_name, args.patch_size, min_h, args.max_h, args.cfl, args.CCZ4domain_r,args.CCZ4KOSigma)
 
list interp_strategies = ["TP_constant","TP_linear_with_linear_extrap_normal_interp"]
 Pick interpolation scheme.
 
list restrict_strategies = ["TP_inject_normal_extrap","TP_average_normal_extrap"]
 
str msg = "Periodic BC deactivated because you pick Puncture scenario\nInitialize binary black holes"
 
list periodic_boundary_conditions = [False,False,False]
 
 TemplateHandleBoundary_KernelCalls
 
str solverconstants = ""
 
dict build_mode = modes[args.mode]
 
int dimensions = 3
 
dict dr = floatparams["domain_r"]
 Domain settings.
 
list offset = [2*dr, 2*dr, 2*dr]
 
 first_checkpoint_time_stamp
 
 time_in_between_checkpoints
 
 cpath = args.checkpoint_path
 
 expected_restart_timestamp
 
 restart_timestamp
 
 checkpoint_path
 
str path = "./"
 output dir and proble
 
list probe_point = [-100, -100, 0.0]
 
 tracer_particles = project.add_tracer( name="Tracer",attribute_count=59 )
 
 init_action_set
 
list particle_set = [[-0.1,0,0],[0.1,0,0],[0,0.1,0],[0,-0.1,0]])
 
 descend_invocation_order
 
 tracer_action_set
 
 dump_action_set
 
list puncture_position = [[2.0,0,0],[-2.0,0,0]]
 
 peano4_project = project.generate_Peano4_project(verbose=True)
 linking stuff
 
 throw_away_data_after_generation
 
 make_clean_first
 

Variable Documentation

◆ action

ccz4.action

Definition at line 44 of file ccz4.py.

◆ args

ccz4.args = parser.parse_args()

Definition at line 71 of file ccz4.py.

◆ build_mode

dict ccz4.build_mode = modes[args.mode]

Definition at line 407 of file ccz4.py.

◆ checkpoint_path

ccz4.checkpoint_path

Definition at line 439 of file ccz4.py.

◆ choices

ccz4.choices

Definition at line 45 of file ccz4.py.

◆ cpath

str ccz4.cpath = args.checkpoint_path

Definition at line 434 of file ccz4.py.

◆ default

ccz4.default

Definition at line 40 of file ccz4.py.

◆ descend_invocation_order

ccz4.descend_invocation_order

Definition at line 478 of file ccz4.py.

◆ dest

ccz4.dest

Definition at line 39 of file ccz4.py.

◆ dimensions

int ccz4.dimensions = 3

Definition at line 409 of file ccz4.py.

◆ dr

dict ccz4.dr = floatparams["domain_r"]

Domain settings.

Definition at line 415 of file ccz4.py.

◆ dump_action_set

ccz4.dump_action_set
Initial value:
1= exahype2.tracer.DumpTracerIntoDatabase(
2 particle_set=tracer_particles,
3 solver=my_solver,
4 filename=args.path+"Tracer-test",
5 number_of_entries_between_two_db_flushes=1000,
6 output_precision=8,
7 data_delta_between_two_snapsots=1e16,
8 position_delta_between_two_snapsots=1e16,
9 time_delta_between_two_snapsots=0.02,
10 clear_database_after_flush = True
11 )

Definition at line 489 of file ccz4.py.

◆ exe

str ccz4.exe = "peano4"

Definition at line 269 of file ccz4.py.

◆ expected_restart_timestamp

ccz4.expected_restart_timestamp

Definition at line 439 of file ccz4.py.

◆ False

ccz4.False

Definition at line 44 of file ccz4.py.

◆ first_checkpoint_time_stamp

ccz4.first_checkpoint_time_stamp

Definition at line 428 of file ccz4.py.

◆ float

ccz4.float

Definition at line 39 of file ccz4.py.

◆ floatparams

dict ccz4.floatparams
Initial value:
1= {
2 "GLMc0":1.5, "GLMc":1.2, "GLMd":2.0, "GLMepsA":1.0, "GLMepsP":1.0,
3 "GLMepsD":1.0,
4 "itau":1.0, "k1":0.1, "k2":0.0, "k3":0.5, "eta":1.0,
5 "f":0.75, "g":0.0, "xi":1.0, "e":1.0, "c":1.0, "mu":0.2, "ds":1.0,
6 "sk":1.0, "bs":1.0,
7 "domain_r":0.5, "smoothing":0.0, "KOSigma":8.0 #, \
8}

Definition at line 26 of file ccz4.py.

◆ help

ccz4.help

Definition at line 39 of file ccz4.py.

◆ init_action_set

ccz4.init_action_set
Initial value:
1= exahype2.tracer.InsertParticlesByCoordinates(
2 # particle_set=tracer_particles, coordinates=[[0,0,8.0],[0,0,-8.0],[8.0,8.0,0],[-8.0,-8.0,0]])

Definition at line 472 of file ccz4.py.

◆ int

ccz4.int

Definition at line 41 of file ccz4.py.

◆ interp_strategies

list ccz4.interp_strategies = ["TP_constant","TP_linear_with_linear_extrap_normal_interp"]

Pick interpolation scheme.

Definition at line 303 of file ccz4.py.

◆ intparams

dict ccz4.intparams = {"BBHType":2, "LapseType":1, "tp_grid_setup":0, "swi":99, "ReSwi":0, "SO":0}

Definition at line 35 of file ccz4.py.

◆ is_aderdg

bool ccz4.is_aderdg = False

Pick solver.

Definition at line 281 of file ccz4.py.

◆ is_rkdg

bool ccz4.is_rkdg = False

Definition at line 282 of file ccz4.py.

◆ make_clean_first

ccz4.make_clean_first

Definition at line 577 of file ccz4.py.

◆ min_h

ccz4.min_h = args.min_h

Definition at line 285 of file ccz4.py.

◆ modes

dict ccz4.modes
Initial value:
1= {
2 "release": peano4.output.CompileMode.Release,
3 "trace": peano4.output.CompileMode.Trace,
4 "assert": peano4.output.CompileMode.Asserts,
5 "debug": peano4.output.CompileMode.Debug,
6}

Definition at line 19 of file ccz4.py.

◆ msg

str ccz4.msg = "Periodic BC deactivated because you pick Puncture scenario\nInitialize binary black holes"

Definition at line 342 of file ccz4.py.

◆ my_solver

ccz4.my_solver = CCZ4Solver(solver_name, args.patch_size, min_h, args.max_h, args.cfl, args.CCZ4domain_r,args.CCZ4KOSigma)

Definition at line 290 of file ccz4.py.

◆ offset

list ccz4.offset = [2*dr, 2*dr, 2*dr]

Definition at line 416 of file ccz4.py.

◆ parser

ccz4.parser = argparse.ArgumentParser(description='ExaHyPE 2 - CCZ4 script')

Definition at line 38 of file ccz4.py.

◆ particle_set

list ccz4.particle_set = [[-0.1,0,0],[0.1,0,0],[0,0.1,0],[0,-0.1,0]])

Definition at line 474 of file ccz4.py.

◆ path

str ccz4.path = "./"

output dir and proble

Definition at line 449 of file ccz4.py.

◆ peano4_project

ccz4.peano4_project = project.generate_Peano4_project(verbose=True)

linking stuff

Definition at line 548 of file ccz4.py.

◆ periodic_boundary_conditions

list ccz4.periodic_boundary_conditions = [False,False,False]

Definition at line 344 of file ccz4.py.

◆ probe_point

list ccz4.probe_point = [-100, -100, 0.0]

Definition at line 458 of file ccz4.py.

◆ project

ccz4.project = exahype2.Project( ["applications", "exahype2", "ccz4"], "ccz4", executable=exe)

Definition at line 276 of file ccz4.py.

◆ puncture_position

list ccz4.puncture_position = [[2.0,0,0],[-2.0,0,0]]

Definition at line 505 of file ccz4.py.

◆ required

ccz4.required

Definition at line 39 of file ccz4.py.

◆ restart_timestamp

ccz4.restart_timestamp

Definition at line 439 of file ccz4.py.

◆ restrict_strategies

list ccz4.restrict_strategies = ["TP_inject_normal_extrap","TP_average_normal_extrap"]

Definition at line 304 of file ccz4.py.

◆ solver_name

str ccz4.solver_name = "CCZ4"

Definition at line 283 of file ccz4.py.

◆ solverconstants

str ccz4.solverconstants = ""

Definition at line 375 of file ccz4.py.

◆ str

ccz4.str

Definition at line 54 of file ccz4.py.

◆ SuperClass

ccz4.SuperClass = None

Definition at line 73 of file ccz4.py.

◆ TemplateHandleBoundary_KernelCalls

ccz4.TemplateHandleBoundary_KernelCalls

Definition at line 369 of file ccz4.py.

◆ throw_away_data_after_generation

ccz4.throw_away_data_after_generation

Definition at line 576 of file ccz4.py.

◆ time_in_between_checkpoints

ccz4.time_in_between_checkpoints

Definition at line 429 of file ccz4.py.

◆ tracer_action_set

ccz4.tracer_action_set
Initial value:
1= exahype2.tracer.FiniteVolumesTracing(tracer_particles,
2 my_solver,
3 project_on_tracer_properties_kernel="::exahype2::fv::projectAllValuesOntoParticle_piecewiseLinear",
4 )

Definition at line 481 of file ccz4.py.

◆ tracer_particles

ccz4.tracer_particles = project.add_tracer( name="Tracer",attribute_count=59 )

Definition at line 471 of file ccz4.py.

◆ True

ccz4.True

Definition at line 47 of file ccz4.py.

◆ type

ccz4.type

Definition at line 39 of file ccz4.py.

◆ userinfo

ccz4.userinfo

Definition at line 268 of file ccz4.py.

◆ v

ccz4.v

Definition at line 65 of file ccz4.py.