This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/applications/solvers/surfaceTracking/include/setReference.H

10 lines
203 B
C
Raw Normal View History

// if (pNeedRef && Pstream::master())
if (pNeedRef && procHasRef)
{
pEqn.source()[pRefCell] +=
pEqn.diag()[pRefCell]*pRefValue;
pEqn.diag()[pRefCell] +=
pEqn.diag()[pRefCell];
}