TVD and NVD scheme clean-up, based on work by Oliver Borm

This commit is contained in:
Hrvoje Jasak 2011-02-08 20:42:35 +00:00
parent 43dc3add2e
commit 4a271dbf06
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ public:
}
// Stabilise for division
gradcf = stabilise(gradcf, VSMALL);
gradcf = stabilise(gradcf, SMALL);
return 1 - 0.5*gradf/gradcf;
}

View file

@ -83,7 +83,7 @@ public:
}
// Stabilise for division
gradcf = stabilise(gradcf, VSMALL);
gradcf = stabilise(gradcf, SMALL);
return 1 - 0.5*gradf/gradcf;
}