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

Data Structures

class  SSInfallSolver
 

Variables

dict modes
 
dict floatparams
 
dict intparams = {"swi":0, "ReSwi":0, "sample_number":10, "iseed":0, "ReSwi":0, "MassCal":0, "extrapolate_bc":0}
 
 parser = argparse.ArgumentParser(description='ExaHyPE 2 - SSInfall script')
 
 dest
 
 type
 
 float
 
 required
 
 help
 
 default
 
 int
 
 choices
 
 str
 
 action
 
 False
 
 v
 
 args = parser.parse_args()
 
 SuperClass = None
 
 userinfo
 
str exe = "peano4"
 
 project = exahype2.Project( ["applications", "exahype2", "euler", "sphericalaccretion"], "SSInfall", executable=exe)
 
bool is_aderdg = False
 Pick solver.
 
str solver_name = "SSInfall"
 
 min_h = args.min_h
 
 my_solver
 
 interpolation
 
 restriction
 
dict dr = floatparams["domain_r"]
 Domain settings.
 
list offset = [2*dr, 2*dr, 2*dr]
 
str msg = "domain set as "+str(offset)+" and "+str(domain_size)
 
list periodic_boundary_conditions = [True,True,True]
 
str solverconstants = ""
 
 r_list = np.linspace(0,(domain_size[0]+offset[0]),(args.sample_number+1))[1:]
 
 scale_factor_table = read_scale_factor_table("a_LCDM_a_i=1e-3.dat")
 
 point_number = len(scale_factor_table[0])
 
dict build_mode = modes[args.mode]
 
int dimensions = 3
 
str path = "./"
 output dir and proble
 
list probe_point = [-0,-0,-1e-6]
 
dict tracer_name = {1:"line", 2:"slide", 3:"volume", 6:"Gauss_Legendre_quadrature", 7:"t-design"}
 
 tracer_particles = project.add_tracer( name="MyTracer",attribute_count=5, plot=False)
 
 Type
 
 add_tracer
 
 a
 
 b
 
 N_x
 
 N_y
 
 N_z
 
 path1
 
 peano4_project = project.generate_Peano4_project(verbose=True)
 compile for the real executable
 
 throw_away_data_after_generation
 
 make_clean_first
 

Variable Documentation

◆ a

SSInfall.a

Definition at line 503 of file SSInfall.py.

◆ action

SSInfall.action

Definition at line 49 of file SSInfall.py.

◆ add_tracer

SSInfall.add_tracer

Definition at line 503 of file SSInfall.py.

◆ args

SSInfall.args = parser.parse_args()

Definition at line 57 of file SSInfall.py.

◆ b

SSInfall.b

Definition at line 503 of file SSInfall.py.

◆ build_mode

dict SSInfall.build_mode = modes[args.mode]

Definition at line 456 of file SSInfall.py.

◆ choices

SSInfall.choices

Definition at line 35 of file SSInfall.py.

◆ default

SSInfall.default

Definition at line 31 of file SSInfall.py.

◆ dest

SSInfall.dest

Definition at line 30 of file SSInfall.py.

◆ dimensions

int SSInfall.dimensions = 3

Definition at line 458 of file SSInfall.py.

◆ dr

dict SSInfall.dr = floatparams["domain_r"]

Domain settings.

Definition at line 354 of file SSInfall.py.

◆ exe

str SSInfall.exe = "peano4"

Definition at line 265 of file SSInfall.py.

◆ False

SSInfall.False

Definition at line 49 of file SSInfall.py.

◆ float

SSInfall.float

Definition at line 30 of file SSInfall.py.

◆ floatparams

dict SSInfall.floatparams
Initial value:
1= {
2 "G":1, "tilde_rho_ini":1, "r_ini":0.2, "delta_rho":0.05, "tilde_P_ini":1e-6, "gamma":5.0/3.0, "Omega_m":1, "delta_m":0.15, "r_point":0.05, "a_i":0.001, "v_scale":1.0, "domain_r":0.5, "DGP_beta":100, "DGP_zeta":100}

Definition at line 23 of file SSInfall.py.

◆ help

SSInfall.help

Definition at line 30 of file SSInfall.py.

◆ int

SSInfall.int

Definition at line 32 of file SSInfall.py.

◆ interpolation

SSInfall.interpolation

Definition at line 324 of file SSInfall.py.

◆ intparams

dict SSInfall.intparams = {"swi":0, "ReSwi":0, "sample_number":10, "iseed":0, "ReSwi":0, "MassCal":0, "extrapolate_bc":0}

Definition at line 26 of file SSInfall.py.

◆ is_aderdg

bool SSInfall.is_aderdg = False

Pick solver.

Definition at line 277 of file SSInfall.py.

◆ make_clean_first

SSInfall.make_clean_first

Definition at line 549 of file SSInfall.py.

◆ min_h

SSInfall.min_h = args.min_h

Definition at line 295 of file SSInfall.py.

◆ modes

dict SSInfall.modes
Initial value:
1= {
2 "release": peano4.api.output.CompileMode.RELEASE,
3 "trace": peano4.api.output.CompileMode.TRACE,
4 "assert": peano4.api.output.CompileMode.ASSERTS,
5 "stats": peano4.api.output.CompileMode.STATS,
6 "debug": peano4.api.output.CompileMode.DEBUG,
7}

Definition at line 15 of file SSInfall.py.

◆ msg

str SSInfall.msg = "domain set as "+str(offset)+" and "+str(domain_size)

Definition at line 356 of file SSInfall.py.

◆ my_solver

SSInfall.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 = exahype2.solvers.PDETerms.User_Defined_Implementation,
6 ncp = exahype2.solvers.PDETerms.User_Defined_Implementation,
7 sources = exahype2.solvers.PDETerms.User_Defined_Implementation
8 )

Definition at line 301 of file SSInfall.py.

◆ N_x

SSInfall.N_x

Definition at line 503 of file SSInfall.py.

◆ N_y

SSInfall.N_y

Definition at line 503 of file SSInfall.py.

◆ N_z

SSInfall.N_z

Definition at line 503 of file SSInfall.py.

◆ offset

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

Definition at line 355 of file SSInfall.py.

◆ parser

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

Definition at line 29 of file SSInfall.py.

◆ path

str SSInfall.path = "./"

output dir and proble

Definition at line 474 of file SSInfall.py.

◆ path1

SSInfall.path1

Definition at line 506 of file SSInfall.py.

◆ peano4_project

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

compile for the real executable

Definition at line 528 of file SSInfall.py.

◆ periodic_boundary_conditions

list SSInfall.periodic_boundary_conditions = [True,True,True]

Definition at line 371 of file SSInfall.py.

◆ point_number

SSInfall.point_number = len(scale_factor_table[0])

Definition at line 434 of file SSInfall.py.

◆ probe_point

list SSInfall.probe_point = [-0,-0,-1e-6]

Definition at line 480 of file SSInfall.py.

◆ project

SSInfall.project = exahype2.Project( ["applications", "exahype2", "euler", "sphericalaccretion"], "SSInfall", executable=exe)

Definition at line 272 of file SSInfall.py.

◆ r_list

SSInfall.r_list = np.linspace(0,(domain_size[0]+offset[0]),(args.sample_number+1))[1:]

Definition at line 422 of file SSInfall.py.

◆ required

SSInfall.required

Definition at line 30 of file SSInfall.py.

◆ restriction

SSInfall.restriction

Definition at line 334 of file SSInfall.py.

◆ scale_factor_table

SSInfall.scale_factor_table = read_scale_factor_table("a_LCDM_a_i=1e-3.dat")

Definition at line 433 of file SSInfall.py.

◆ solver_name

str SSInfall.solver_name = "SSInfall"

Definition at line 278 of file SSInfall.py.

◆ solverconstants

str SSInfall.solverconstants = ""

Definition at line 409 of file SSInfall.py.

◆ str

SSInfall.str

Definition at line 39 of file SSInfall.py.

◆ SuperClass

SSInfall.SuperClass = None

Definition at line 59 of file SSInfall.py.

◆ throw_away_data_after_generation

SSInfall.throw_away_data_after_generation

Definition at line 548 of file SSInfall.py.

◆ tracer_name

dict SSInfall.tracer_name = {1:"line", 2:"slide", 3:"volume", 6:"Gauss_Legendre_quadrature", 7:"t-design"}

Definition at line 489 of file SSInfall.py.

◆ tracer_particles

SSInfall.tracer_particles = project.add_tracer( name="MyTracer",attribute_count=5, plot=False)

Definition at line 491 of file SSInfall.py.

◆ type

SSInfall.type

Definition at line 30 of file SSInfall.py.

◆ Type

SSInfall.Type

Definition at line 503 of file SSInfall.py.

◆ userinfo

SSInfall.userinfo

Definition at line 264 of file SSInfall.py.

◆ v

SSInfall.v

Definition at line 51 of file SSInfall.py.