Added support for "pFinal".

This commit is contained in:
henry
2009-01-08 20:05:46 +00:00
parent eb2e37b296
commit fcdcf55610
7 changed files with 24 additions and 13 deletions

View File

@ -100,7 +100,19 @@ int main(int argc, char *argv[])
);
pEqn.setReference(pRefCell, pRefValue);
pEqn.solve();
if
(
corr == nCorr-1
&& nonOrth == nNonOrthCorr
)
{
pEqn.solve(mesh.solver("pFinal"));
}
else
{
pEqn.solve();
}
if (nonOrth == nNonOrthCorr)
{