ENH: Delayed evaluation of checkApplied() for field sources

This commit is contained in:
andy
2011-11-02 14:20:40 +00:00
parent 9cf75a6569
commit 638f39f1cb

View File

@ -31,7 +31,7 @@ License
template<class Type> template<class Type>
void Foam::basicSourceList::apply(fvMatrix<Type>& eqn) void Foam::basicSourceList::apply(fvMatrix<Type>& eqn)
{ {
if (mesh_.time().timeIndex() == mesh_.time().startTimeIndex() + 1) if (mesh_.time().timeIndex() == mesh_.time().startTimeIndex() + 2)
{ {
checkApplied(); checkApplied();
} }