フィルターのクリア

Parfor/SPMD and Backwards Euler method for ODEs

2 ビュー (過去 30 日間)
Angelo Giuseppe Spinosa
Angelo Giuseppe Spinosa 2018 年 9 月 13 日
回答済み: Jan 2018 年 9 月 13 日
As far as I know, a crucial assumption for using the aforementioned models is the independence between instructions so that the result at time t mustn't depend on the result at time t-1. That's why I'd ask if it is possible to adapt either the parfor or the SPMD model to solve ODEs with backwards Euler.
Thank you in advance for you answers.

回答 (1 件)

Jan
Jan 2018 年 9 月 13 日
Solving ODEs cannot be parallelized in general. This is not a limitation of Matlab's PARFOR/SPMD, but the dependency between the steps prohibits the parallel evaluation.
You could use parfor to compute different integrations, e.g. for different parameters or initial values.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by