ENH: MeshWave: allow 1 cells cases.

This commit is contained in:
mattijs
2010-10-19 17:40:36 +01:00
parent a5ee1669b4
commit 51b8a7367c
9 changed files with 11 additions and 10 deletions

View File

@ -186,7 +186,7 @@ void Foam::patchWave::correct()
mesh(),
changedFaces,
faceDist,
mesh().globalData().nTotalCells() // max iterations
mesh().globalData().nTotalCells()+1 // max iterations
);