23 name, patch_size, unknowns, auxiliary_variables, min_volume_h, max_volume_h, normalised_time_step_size,
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
36 This is the normalised time step size w.r.t. the coarsest admissible h value. If
37 the code employs AMR on top of it and refines further, it will automatically
38 downscale the time step size accordingly. So hand in a valid time step size w.r.t.
41 super(GlobalFixedTimeStepWithEnclaveTasking,self).
__init__(name,
49 pde_terms_without_state,
50 kernel_namespace=
"rusanov")
60 eigenvalues=eigenvalues,
61 boundary_conditions=boundary_conditions,
62 refinement_criterion=refinement_criterion,
63 initial_conditions=initial_conditions,
64 source_term=source_term)
70 boundary_conditions=None,refinement_criterion=None,initial_conditions=None,source_term=None,
71 memory_location = None,
72 use_split_loop = False,
73 additional_action_set_includes = "",
74 additional_user_includes = ""
77 If you pass in User_Defined, then the generator will create C++ stubs
78 that you have to befill manually. If you pass in None_Implementation, it
79 will create nop, i.e., no implementation or defaults. Any other string
80 is copied 1:1 into the implementation. If you pass in None, then the
81 set value so far won't be overwritten.
83 Please note that not all options are supported by all solvers.
85 This routine should be the very last invoked by the constructor.
98 compute_max_eigenvalue_of_next_time_step =
True
105 compute_max_eigenvalue_of_next_time_step =
False,
106 solver_variant = SolverVariant.WithVirtualFunctions,
107 kernel_variant = KernelVariant.PatchWiseAoS
114 compute_max_eigenvalue_of_next_time_step =
False,
115 solver_variant = SolverVariant.Stateless,
116 kernel_variant = KernelVariant.PatchWiseAoS
123 compute_max_eigenvalue_of_next_time_step =
True,
124 solver_variant = SolverVariant.Stateless,
125 kernel_variant = KernelVariant.PatchWiseAoS
132 compute_max_eigenvalue_of_next_time_step =
True,
133 solver_variant = SolverVariant.Accelerator,
134 kernel_variant = KernelVariant.PatchWiseAoS
154 super(GlobalFixedTimeStepWithEnclaveTasking,self).
set_implementation(boundary_conditions, refinement_criterion, initial_conditions, memory_location, use_split_loop, additional_action_set_includes, additional_user_includes)