mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Delayed evaluation of checkApplied() for field sources
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user