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"
int order = 3
int unknowns = 59
float time_step_size = 0.001
str msg = "Warning: ADER-DG no supported on this machine"
 min_h = args.min_h
 my_solver
list tem_interp = ["TP_constant","TP_linear_with_linear_extrap_normal_interp"]
 Pick interpolation scheme.
list tem_restrict = ["TP_inject_normal_extrap","TP_average_normal_extrap"]
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
 peano4_project = project.generate_Peano4_project(verbose=True)
 linking stuff
 additional_mesh_traversal
 project_patch_onto_faces = exahype2.solvers.rkfd.actionsets.ProjectPatchOntoFaces(my_solver)
 guards
 roll_over_projected_faces
 dynamic_AMR
 throw_away_data_after_generation
 make_clean_first

Variable Documentation

◆ action

ccz4.action

Definition at line 45 of file ccz4.py.

◆ additional_mesh_traversal

ccz4.additional_mesh_traversal
Initial value:
1= peano4.solversteps.Step( name = "AdditionalMeshTraversal",
2 add_user_defined_actions=False,
3 )

Definition at line 623 of file ccz4.py.

◆ args

ccz4.args = parser.parse_args()

Definition at line 72 of file ccz4.py.

◆ build_mode

dict ccz4.build_mode = modes[args.mode]

Definition at line 456 of file ccz4.py.

◆ checkpoint_path

ccz4.checkpoint_path

Definition at line 488 of file ccz4.py.

◆ choices

ccz4.choices

Definition at line 46 of file ccz4.py.

◆ cpath

str ccz4.cpath = args.checkpoint_path

Definition at line 483 of file ccz4.py.

◆ default

ccz4.default

Definition at line 41 of file ccz4.py.

◆ descend_invocation_order

ccz4.descend_invocation_order

Definition at line 527 of file ccz4.py.

◆ dest

ccz4.dest

Definition at line 40 of file ccz4.py.

◆ dimensions

int ccz4.dimensions = 3

Definition at line 458 of file ccz4.py.

◆ dr

dict ccz4.dr = floatparams["domain_r"]

Domain settings.

Definition at line 464 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 538 of file ccz4.py.

◆ dynamic_AMR

ccz4.dynamic_AMR
Initial value:
1= exahype2.solvers.rkfd.actionsets.DynamicAMR(
2 solver=my_solver,
3 interpolation=my_solver.interpolation,
4 restriction=my_solver.restriction,
5 )

Definition at line 634 of file ccz4.py.

◆ exe

str ccz4.exe = "peano4"

Definition at line 277 of file ccz4.py.

◆ expected_restart_timestamp

ccz4.expected_restart_timestamp

Definition at line 488 of file ccz4.py.

◆ False

ccz4.False

Definition at line 45 of file ccz4.py.

◆ first_checkpoint_time_stamp

ccz4.first_checkpoint_time_stamp

Definition at line 477 of file ccz4.py.

◆ float

ccz4.float

Definition at line 40 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 27 of file ccz4.py.

◆ guards

ccz4.guards

Definition at line 627 of file ccz4.py.

◆ help

ccz4.help

Definition at line 40 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 521 of file ccz4.py.

◆ int

ccz4.int

Definition at line 42 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 36 of file ccz4.py.

◆ is_aderdg

bool ccz4.is_aderdg = False

Pick solver.

Definition at line 289 of file ccz4.py.

◆ is_rkdg

bool ccz4.is_rkdg = False

Definition at line 290 of file ccz4.py.

◆ make_clean_first

ccz4.make_clean_first

Definition at line 653 of file ccz4.py.

◆ min_h

ccz4.min_h = args.min_h

Definition at line 323 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 "stats": peano4.output.CompileMode.Stats,
6 "debug": peano4.output.CompileMode.Debug,
7}

Definition at line 19 of file ccz4.py.

◆ msg

str ccz4.msg = "Warning: ADER-DG no supported on this machine"

Definition at line 300 of file ccz4.py.

◆ my_solver

ccz4.my_solver
Initial value:
1= exahype2.solvers.aderdg.NonFusedGenericRusanovFixedTimeStepSize(
2 solver_name, order, unknowns, 0, #auxiliary_variables
3 exahype2.solvers.aderdg.Polynomials.Gauss_Legendre,
4 min_h, args.max_h, time_step_size,
5 flux = None,
6 ncp = exahype2.solvers.PDETerms.User_Defined_Implementation,
7 sources = exahype2.solvers.PDETerms.User_Defined_Implementation
8 )

Definition at line 329 of file ccz4.py.

◆ offset

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

Definition at line 465 of file ccz4.py.

◆ order

int ccz4.order = 3

Definition at line 295 of file ccz4.py.

◆ parser

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

Definition at line 39 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 523 of file ccz4.py.

◆ path

str ccz4.path = "./"

output dir and proble

Definition at line 498 of file ccz4.py.

◆ peano4_project

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

linking stuff

Definition at line 593 of file ccz4.py.

◆ periodic_boundary_conditions

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

Definition at line 393 of file ccz4.py.

◆ probe_point

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

Definition at line 507 of file ccz4.py.

◆ project

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

Definition at line 284 of file ccz4.py.

◆ project_patch_onto_faces

ccz4.project_patch_onto_faces = exahype2.solvers.rkfd.actionsets.ProjectPatchOntoFaces(my_solver)

Definition at line 626 of file ccz4.py.

◆ required

ccz4.required

Definition at line 40 of file ccz4.py.

◆ restart_timestamp

ccz4.restart_timestamp

Definition at line 488 of file ccz4.py.

◆ roll_over_projected_faces

ccz4.roll_over_projected_faces
Initial value:
1= exahype2.solvers.rkfd.actionsets.RollOverUpdatedFace(my_solver,
2 my_solver._store_face_data_default_guard(),
3 )

Definition at line 630 of file ccz4.py.

◆ solver_name

str ccz4.solver_name = "CCZ4"

Definition at line 291 of file ccz4.py.

◆ solverconstants

str ccz4.solverconstants = ""

Definition at line 424 of file ccz4.py.

◆ str

ccz4.str

Definition at line 55 of file ccz4.py.

◆ SuperClass

ccz4.SuperClass = None

Definition at line 74 of file ccz4.py.

◆ tem_interp

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

Pick interpolation scheme.

Definition at line 352 of file ccz4.py.

◆ tem_restrict

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

Definition at line 353 of file ccz4.py.

◆ TemplateHandleBoundary_KernelCalls

ccz4.TemplateHandleBoundary_KernelCalls

Definition at line 418 of file ccz4.py.

◆ throw_away_data_after_generation

ccz4.throw_away_data_after_generation

Definition at line 652 of file ccz4.py.

◆ time_in_between_checkpoints

ccz4.time_in_between_checkpoints

Definition at line 478 of file ccz4.py.

◆ time_step_size

float ccz4.time_step_size = 0.001

Definition at line 297 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 530 of file ccz4.py.

◆ tracer_particles

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

Definition at line 520 of file ccz4.py.

◆ True

ccz4.True

Definition at line 48 of file ccz4.py.

◆ type

ccz4.type

Definition at line 40 of file ccz4.py.

◆ unknowns

int ccz4.unknowns = 59

Definition at line 296 of file ccz4.py.

◆ userinfo

ccz4.userinfo

Definition at line 276 of file ccz4.py.

◆ v

ccz4.v

Definition at line 66 of file ccz4.py.