I aim to solve ODEs by parallel processing because the iterative methods consume a lot of CPU time.
What I want to know is that can I access a thread from another ?
i.e Can I do a[idx+1]=a[idx]+something;
Say for example a fibonacci series, each element depends on the previous (2).
If all the threads are executed in parallel then this won’t be possible because to assign a value to a particular thread I need access to the previous one; and till this thread is updated the next thread should not execute . .
Is there a way to do this ?