Skip to content
Snippets Groups Projects
Commit 009faad9 authored by mattijs's avatar mattijs
Browse files

ENH: Test-GAMG: not normalise agglomeration unless specified

parent 462fd687
No related branches found
No related tags found
1 merge request!722RELEASE: develop branch to master
...@@ -92,7 +92,10 @@ int main(int argc, char *argv[]) ...@@ -92,7 +92,10 @@ int main(int argc, char *argv[])
{ {
fld[celli] = cellToCoarse[celli]; fld[celli] = cellToCoarse[celli];
} }
fld /= max(fld); if (normalise)
{
fld /= max(fld);
}
scalarAgglomeration.correctBoundaryConditions(); scalarAgglomeration.correctBoundaryConditions();
scalarAgglomeration.write(); scalarAgglomeration.write();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment