Description
The solver type "multiangle" doesn't work when running WindSE in parallel.
Steps to reproduce issue
Start with WindSE/tests/9-Regression/Yaw_Optimization.yaml, change the solver type to multiangle and add the specification num_wind_angles: 4. Run this modified case with mpirun -n 4 windse run Yaw_Optimization.yaml
Current behavior
Currently this produces a solver error for any wind angles not equal to the initial wind angle. This is directly related to the way boundaries are updated for new inflow angles in serial (using a mesh function and adapting it to the refined grid) which cannot be extended to parallel.
Expected behavior
This code should produce the same result as running in serial.
Description
The solver type "multiangle" doesn't work when running WindSE in parallel.
Steps to reproduce issue
Start with
WindSE/tests/9-Regression/Yaw_Optimization.yaml, change the solver type tomultiangleand add the specificationnum_wind_angles: 4. Run this modified case withmpirun -n 4 windse run Yaw_Optimization.yamlCurrent behavior
Currently this produces a solver error for any wind angles not equal to the initial wind angle. This is directly related to the way boundaries are updated for new inflow angles in serial (using a mesh function and adapting it to the refined grid) which cannot be extended to parallel.
Expected behavior
This code should produce the same result as running in serial.