Peano
|
Data Structures | |
class | CCZ4Solver |
Functions | |
CoordListFromFile (file, scale) | |
create_action_sets (self) | |
get_user_action_set_includes (self) | |
We take this routine to add a few additional include statements. | |
add_constraint_RefinementFlag_verification (self) | |
add_derivative_calculation (self) | |
add_PT_ConsW_Psi4W_AMRFlag (self) | |
add_Psi4W (self) | |
add psi4 writer | |
Variables | |
dict | modes |
dict | floatparams |
dict | intparams = {"BBHType":2, "LapseType":1, "tp_grid_setup":0, "swi":99, "ReSwi":0, "source":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 | |
list | userinfo = [] |
main starts here | |
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: RKDG not supported on this machine" |
min_h = args.min_h | |
my_solver | |
amr_label = exahype2.solvers.elliptic.AMRMarker( name="AMRMarker" ) | |
overlap | |
interpolation | |
list | tem_interp = ["TP_constant","TP_linear_with_linear_extrap_normal_interp"] |
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] |
str | path = "./" |
output dir and proble | |
list | probe_point = [-12,-12,0.0] |
select_dofs_to_print | |
tracer_particles = project.add_tracer( name="Tracer",attribute_count=61 ) | |
dict | tracer_name = {1:"line", 2:"slide", 3:"volume", 6:"Gauss_Legendre_quadrature", 7:"t-design"} |
Type | |
add_tracer | |
a | |
b | |
N_x | |
N_y | |
N_z | |
path1 | |
peano4_project = project.generate_Peano4_project(verbose=True) | |
linking stuff | |
throw_away_data_after_generation | |
make_clean_first | |
_auxiliary_variables | |
_preprocess_reconstructed_patch | |
ccz4_archived.add_constraint_RefinementFlag_verification | ( | self | ) |
Add the constraint verification code
We introduce new auxiliary variables. Prior to each time step, I compute the Laplacian and store it in the auxiliary variable. This is kind of a material parameter F(Q) which does not feed back into the solution.
Changing the number of unknowns a posteriori is a delicate update to the solver, so we invoke the constructor again to be on the safe side.
Definition at line 325 of file ccz4_archived.py.
ccz4_archived.add_derivative_calculation | ( | self | ) |
Add the constraint verification code
We introduce new auxiliary variables. Prior to each time step, I compute the Laplacian and store it in the auxiliary variable. This is kind of a material parameter F(Q) which does not feed back into the solution.
Changing the number of unknowns a posteriori is a delicate update to the solver, so we invoke the constructor again to be on the safe side.
Definition at line 445 of file ccz4_archived.py.
ccz4_archived.add_Psi4W | ( | self | ) |
add psi4 writer
Definition at line 636 of file ccz4_archived.py.
ccz4_archived.add_PT_ConsW_Psi4W_AMRFlag | ( | self | ) |
add puncutrestracker, constraints writer, psi4 writer, AMRflag(currently using gradient of phi)
Definition at line 495 of file ccz4_archived.py.
ccz4_archived.CoordListFromFile | ( | file, | |
scale ) |
Definition at line 20 of file ccz4_archived.py.
ccz4_archived.create_action_sets | ( | self | ) |
Definition at line 312 of file ccz4_archived.py.
ccz4_archived.get_user_action_set_includes | ( | self | ) |
We take this routine to add a few additional include statements.
Definition at line 318 of file ccz4_archived.py.
|
protected |
Definition at line 341 of file ccz4_archived.py.
|
protected |
Definition at line 348 of file ccz4_archived.py.
ccz4_archived.a |
Definition at line 1043 of file ccz4_archived.py.
ccz4_archived.action |
Definition at line 65 of file ccz4_archived.py.
ccz4_archived.add_tracer |
Definition at line 1043 of file ccz4_archived.py.
ccz4_archived.amr_label = exahype2.solvers.elliptic.AMRMarker( name="AMRMarker" ) |
Definition at line 762 of file ccz4_archived.py.
ccz4_archived.args = parser.parse_args() |
Definition at line 89 of file ccz4_archived.py.
ccz4_archived.b |
Definition at line 1043 of file ccz4_archived.py.
dict ccz4_archived.build_mode = modes[args.mode] |
Definition at line 940 of file ccz4_archived.py.
ccz4_archived.choices |
Definition at line 66 of file ccz4_archived.py.
ccz4_archived.default |
Definition at line 61 of file ccz4_archived.py.
ccz4_archived.dest |
Definition at line 60 of file ccz4_archived.py.
int ccz4_archived.dimensions = 3 |
Definition at line 942 of file ccz4_archived.py.
dict ccz4_archived.dr = floatparams["domain_r"] |
Domain settings.
Definition at line 948 of file ccz4_archived.py.
str ccz4_archived.exe = "peano4" |
Definition at line 693 of file ccz4_archived.py.
ccz4_archived.False |
Definition at line 65 of file ccz4_archived.py.
ccz4_archived.float |
Definition at line 60 of file ccz4_archived.py.
dict ccz4_archived.floatparams |
Definition at line 38 of file ccz4_archived.py.
ccz4_archived.help |
Definition at line 60 of file ccz4_archived.py.
ccz4_archived.int |
Definition at line 62 of file ccz4_archived.py.
ccz4_archived.interpolation |
Definition at line 776 of file ccz4_archived.py.
dict ccz4_archived.intparams = {"BBHType":2, "LapseType":1, "tp_grid_setup":0, "swi":99, "ReSwi":0, "source":0} |
Definition at line 56 of file ccz4_archived.py.
Pick solver.
Definition at line 705 of file ccz4_archived.py.
Definition at line 706 of file ccz4_archived.py.
ccz4_archived.make_clean_first |
Definition at line 1135 of file ccz4_archived.py.
ccz4_archived.min_h = args.min_h |
Definition at line 737 of file ccz4_archived.py.
dict ccz4_archived.modes |
Definition at line 31 of file ccz4_archived.py.
str ccz4_archived.msg = "Warning: RKDG not supported on this machine" |
Definition at line 725 of file ccz4_archived.py.
ccz4_archived.my_solver |
Definition at line 743 of file ccz4_archived.py.
ccz4_archived.N_x |
Definition at line 1043 of file ccz4_archived.py.
ccz4_archived.N_y |
Definition at line 1043 of file ccz4_archived.py.
ccz4_archived.N_z |
Definition at line 1043 of file ccz4_archived.py.
Definition at line 949 of file ccz4_archived.py.
int ccz4_archived.order = 3 |
Definition at line 711 of file ccz4_archived.py.
ccz4_archived.overlap |
Definition at line 773 of file ccz4_archived.py.
ccz4_archived.parser = argparse.ArgumentParser(description='ExaHyPE 2 - CCZ4 script') |
Definition at line 59 of file ccz4_archived.py.
str ccz4_archived.path = "./" |
output dir and proble
Definition at line 970 of file ccz4_archived.py.
ccz4_archived.path1 |
Definition at line 1052 of file ccz4_archived.py.
ccz4_archived.peano4_project = project.generate_Peano4_project(verbose=True) |
linking stuff
Definition at line 1074 of file ccz4_archived.py.
Definition at line 834 of file ccz4_archived.py.
list ccz4_archived.probe_point = [-12,-12,0.0] |
Definition at line 976 of file ccz4_archived.py.
ccz4_archived.project = exahype2.Project( ["applications", "exahype2", "ccz4"], "ccz4", executable=exe) |
Definition at line 700 of file ccz4_archived.py.
ccz4_archived.required |
Definition at line 60 of file ccz4_archived.py.
ccz4_archived.select_dofs_to_print |
Definition at line 979 of file ccz4_archived.py.
str ccz4_archived.solver_name = "CCZ4" |
Definition at line 707 of file ccz4_archived.py.
str ccz4_archived.solverconstants = "" |
Definition at line 908 of file ccz4_archived.py.
ccz4_archived.str |
Definition at line 76 of file ccz4_archived.py.
ccz4_archived.SuperClass = None |
Definition at line 91 of file ccz4_archived.py.
list ccz4_archived.tem_interp = ["TP_constant","TP_linear_with_linear_extrap_normal_interp"] |
Definition at line 796 of file ccz4_archived.py.
list ccz4_archived.tem_restrict = ["TP_inject_normal_extrap","TP_average_normal_extrap"] |
Definition at line 797 of file ccz4_archived.py.
ccz4_archived.TemplateHandleBoundary_KernelCalls |
Definition at line 859 of file ccz4_archived.py.
ccz4_archived.throw_away_data_after_generation |
Definition at line 1133 of file ccz4_archived.py.
float ccz4_archived.time_step_size = 0.001 |
Definition at line 713 of file ccz4_archived.py.
dict ccz4_archived.tracer_name = {1:"line", 2:"slide", 3:"volume", 6:"Gauss_Legendre_quadrature", 7:"t-design"} |
Definition at line 1025 of file ccz4_archived.py.
ccz4_archived.tracer_particles = project.add_tracer( name="Tracer",attribute_count=61 ) |
Definition at line 996 of file ccz4_archived.py.
ccz4_archived.True |
Definition at line 68 of file ccz4_archived.py.
ccz4_archived.type |
Definition at line 60 of file ccz4_archived.py.
ccz4_archived.Type |
Definition at line 1043 of file ccz4_archived.py.
int ccz4_archived.unknowns = 59 |
Definition at line 712 of file ccz4_archived.py.
list ccz4_archived.userinfo = [] |
main starts here
Definition at line 692 of file ccz4_archived.py.
ccz4_archived.v |
Definition at line 83 of file ccz4_archived.py.