Skip to content

applyBoundaryLayer : fails when cell is disconnected

Summary

For disconnected cells wallDistance can have -1e15 (i.e. -GREAT) value, which can cause issue with ::pow

cross ref : EP#1158

What is the current bug behaviour?

Fails with error (discriminator 1)

Possible fixes

Warn user for non-visited cells. And protection in ::pow function?

@Mattijs