25 name, patch_size, unknowns, auxiliary_variables, min_volume_h, max_volume_h, time_step_relaxation,
26 flux=PDETerms.User_Defined_Implementation,
27 ncp=PDETerms.None_Implementation,
28 eigenvalues=PDETerms.User_Defined_Implementation,
29 boundary_conditions=PDETerms.User_Defined_Implementation,
30 refinement_criterion=PDETerms.Empty_Implementation,
31 initial_conditions=PDETerms.User_Defined_Implementation,
32 source_term=PDETerms.None_Implementation,
33 plot_grid_properties=False,
34 pde_terms_without_state=False, overlap=1
36 super(GlobalAdaptiveTimeStepWithEnclaveTasking,self).
__init__(name,
44 pde_terms_without_state,
45 kernel_namespace=
"rusanov")
57 eigenvalues=eigenvalues,
58 boundary_conditions=boundary_conditions,
59 refinement_criterion=refinement_criterion,
60 initial_conditions=initial_conditions,
61 source_term=source_term)
67 boundary_conditions=None,refinement_criterion=None,initial_conditions=None,source_term=None,
68 memory_location = None,
69 use_split_loop = False,
70 additional_action_set_includes = "",
71 additional_user_includes = ""
74 If you pass in User_Defined, then the generator will create C++ stubs
75 that you have to befill manually. If you pass in None_Implementation, it
76 will create nop, i.e., no implementation or defaults. Any other string
77 is copied 1:1 into the implementation. If you pass in None, then the
78 set value so far won't be overwritten.
80 Please note that not all options are supported by all solvers.
82 This routine should be the very last invoked by the constructor.
95 compute_max_eigenvalue_of_next_time_step =
True
102 compute_max_eigenvalue_of_next_time_step =
True,
103 solver_variant = SolverVariant.WithVirtualFunctions,
104 kernel_variant = KernelVariant.PatchWiseAoS
111 compute_max_eigenvalue_of_next_time_step =
True,
112 solver_variant = SolverVariant.Stateless,
113 kernel_variant = KernelVariant.PatchWiseAoS
120 compute_max_eigenvalue_of_next_time_step =
True,
121 solver_variant = SolverVariant.Stateless,
122 kernel_variant = KernelVariant.PatchWiseAoS
129 compute_max_eigenvalue_of_next_time_step =
True,
130 solver_variant = SolverVariant.Accelerator,
131 kernel_variant = KernelVariant.PatchWiseAoS
151 super(GlobalAdaptiveTimeStepWithEnclaveTasking,self).
set_implementation(boundary_conditions, refinement_criterion, initial_conditions, memory_location, use_split_loop, additional_action_set_includes, additional_user_includes)