Commit e61c2b87 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'fix/1d3d-coupl-average-empty-circle-stencil' into 'master'

[1d3d][avg] Skip point source if the circle stencil is empty (zero coupling term)

See merge request !2923
parents 41345cde ffe49eda
......@@ -253,6 +253,11 @@ public:
}
}
// if the circle stencil is empty (that is the circle is entirely outside the domain)
// we do not add a (zero) point source
if (circleStencil.empty())
continue;
// export low dim circle stencil
if constexpr (isBox<bulkIdx>())
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment