castellatedBufferLayer fail if buffer zone is false in other patch
Summary
In the case where two patch and castellatedBufferLayer is in use in the other patch causes fatal error --> FOAM FATAL ERROR: (openfoam-2412) Inconsistent sizes. samples:6490 search-radius:6316
Steps to reproduce
Issue can be reproduce with the attached case.
Environment information
- OpenFOAM version : v2412
- Operating system : RedHat
- Hardware info : Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
- Compiler : gcc 8.5.0