23 name, patch_size, unknowns, auxiliary_variables, min_volume_h, max_volume_h, time_step_relaxation,
24 flux=PDETerms.User_Defined_Implementation,
25 ncp=PDETerms.None_Implementation,
26 eigenvalues=PDETerms.User_Defined_Implementation,
27 boundary_conditions=PDETerms.User_Defined_Implementation,
28 refinement_criterion=PDETerms.Empty_Implementation,
29 initial_conditions=PDETerms.User_Defined_Implementation,
30 source_term=PDETerms.None_Implementation,
31 plot_grid_properties=False,
32 pde_terms_without_state=False, overlap=1
34 super(GlobalAdaptiveTimeStep,self).
__init__(name,
42 pde_terms_without_state,
43 kernel_namespace=
"rusanov")
55 eigenvalues=eigenvalues,
56 boundary_conditions=boundary_conditions,
57 refinement_criterion=refinement_criterion,
58 initial_conditions=initial_conditions,
59 source_term=source_term)
65 boundary_conditions=None,refinement_criterion=None,initial_conditions=None,source_term=None,
66 memory_location = None,
67 use_split_loop = False,
68 additional_action_set_includes = "",
69 additional_user_includes = ""
72 If you pass in User_Defined, then the generator will create C++ stubs
73 that you have to befill manually. If you pass in None_Implementation, it
74 will create nop, i.e., no implementation or defaults. Any other string
75 is copied 1:1 into the implementation. If you pass in None, then the
76 set value so far won't be overwritten.
78 Please note that not all options are supported by all solvers.
80 This routine should be the very last invoked by the constructor.
93 compute_max_eigenvalue_of_next_time_step =
True
100 compute_max_eigenvalue_of_next_time_step =
True,
101 solver_variant = SolverVariant.WithVirtualFunctions,
102 kernel_variant = KernelVariant.PatchWiseAoS
109 compute_max_eigenvalue_of_next_time_step =
True,
110 solver_variant = SolverVariant.Stateless,
111 kernel_variant = KernelVariant.PatchWiseAoS
131 super(GlobalAdaptiveTimeStep,self).
set_implementation(boundary_conditions, refinement_criterion, initial_conditions, memory_location, use_split_loop, additional_action_set_includes, additional_user_includes)