Commit ac1734bc authored by sumpfralle's avatar sumpfralle

fixed long-standing issue with using ODE (it was ignored)

removed obsolete parameter from task initialization


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@776 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 256ed6fb
...@@ -366,7 +366,7 @@ def _get_physics(models, cutter, calculation_backend): ...@@ -366,7 +366,7 @@ def _get_physics(models, cutter, calculation_backend):
return None return None
elif calculation_backend == "ODE": elif calculation_backend == "ODE":
import pycam.Physics.ode_physics as ode_physics import pycam.Physics.ode_physics as ode_physics
physics = ode_physics.generate_physics(models, cutter) return ode_physics.generate_physics(models, cutter)
else: else:
return "Invalid calculation backend (%s): not one of %s" \ return "Invalid calculation backend (%s): not one of %s" \
% (calculation_backend, CALCULATION_BACKENDS) % (calculation_backend, CALCULATION_BACKENDS)
......
...@@ -283,7 +283,7 @@ def _handle_tasks(tasks, results, stats, cache, closing): ...@@ -283,7 +283,7 @@ def _handle_tasks(tasks, results, stats, cache, closing):
% (timeout_counter, name)) % (timeout_counter, name))
def run_in_parallel_remote(func, args_list, unordered=False, def run_in_parallel_remote(func, args_list, unordered=False,
disable_multiprocessing=False, host=None): disable_multiprocessing=False):
global __multiprocessing, __num_of_processes, __manager, __task_source_uuid, __finished_jobs global __multiprocessing, __num_of_processes, __manager, __task_source_uuid, __finished_jobs
if __multiprocessing is None: if __multiprocessing is None:
# threading was not configured before # threading was not configured before
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment