abarret / multiphase-stokes

Solver a mixture of fluids based on IBAMR
1 stars 0 forks source link

smooth error stops after 672 iterations #4

Closed bindi-nagda closed 2 years ago

bindi-nagda commented 2 years ago

https://github.com/abarret/multiphase-stokes/blob/dd02256c18891737294364af90dcaf6161bd28fd/smooth.cpp#L281

bindi-nagda commented 2 years ago

Issue resolved upon eliminating the cloning of a vector. The issue was that repeated cloning during sweeping was creating new patch data entries for which there was not enough allocated space.