Skip to content
Snippets Groups Projects
Commit 6a3e0ad3 authored by Laura Stengel's avatar Laura Stengel
Browse files

make scaling for penalty quadratic

parent 63a201f0
No related branches found
No related tags found
1 merge request!246Resolve "Add further scaled penalty variant"
......@@ -118,7 +118,7 @@ public:
void Scale (double s) const {
Material &cellMat = eProblem.GetMaterial();
cellMat.ScalePenalty(s);
cellMat.ScalePenalty(s*s);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment