Skip to content
Snippets Groups Projects
Commit 3c50491d authored by Robert K's avatar Robert K
Browse files

[cleanup][cartesian] restore factor 2 for cartesian grids.

parent 5c088d9b
No related branches found
No related tags found
1 merge request!4Latest features added to dune-fem-dg.
......@@ -407,8 +407,7 @@ namespace Fem
point -= entityCenter;
const double length = (point * lambda);
//const double factorLength = (cartesianGrid) ? 2.0 * length : length ;
const double factorLength = length;//(cartesianGrid) ? 2.0 * length : length ;
const double factorLength = (cartesianGrid) ? 2.0 * length : length ;
lambda *= factorLength;
assert( lambda.two_norm () > 0 );
......
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