multiWorld not working with AMI
Summary
multiWorld not working with AMI. On e.g. tutorials/basic/laplacianFoam/multiWorld1
you'll get errors:
[right/0]
[right/0]
[right/0] --> FOAM FATAL ERROR: (openfoam-2309)
[right/0] attempt to access element 0 from zero sized list
[right/0]
[right/0] From void Foam::UList<Foam::List<int> >::checkIndex(const Foam::label) const [T = Foam::List<int>]
[right/0] in file /home/mattijs/OpenFOAM/OpenFOAM-plus/work/develop/openfoam/src/OpenFOAM/lnInclude/UListI.H at line 207.
[right/0]
Steps to reproduce
See above
Example case
See above
What is the current bug behaviour?
See above
Relevant logs and/or images
See above
Environment information
- OpenFOAM version : v2308
Possible fixes
The AMIInterpolation now stores its own communicator (to be able to handle processor-agglomeration). This get set to worldComm at construction time. Instead it needs to be reset to the inter-world communicator.