Skip to content

[API] Use ParserUBB in ExtendedBoundaryHandlingFactory

Michael Kuron requested to merge parserubb into master

This is a follow-up to !93 (merged). If somebody uses the ExtendedBoundaryHandlingFactory to read boundaries from a config file, they will now automatically use ParserUBB instead of UBB. This makes the new functionality more accessible.

For feature parity with lbm::UBB, I implemented the buffer packing/unpacking methods. I also fixed an incorrect signature of my constructor (ParserUBB::ParserUBB::ParserUBB instead of the correct ParserUBB::ParserUBB), which no compiler bothered to complain about. Also, I implemented the unregisterCell method so we don't unnecessarily keep around shared_ptr<Parser>s.

Edited by Michael Kuron

Merge request reports