Commit 62955d62 authored by steffen.schotthoefer's avatar steffen.schotthoefer
Browse files

small repair

parent e3bdadf1
Pipeline #96621 passed with stages
in 39 minutes and 59 seconds
......@@ -45,8 +45,8 @@ void QGaussLegendreTensorized::SetPointsAndWeights() {
phi[i] = ( i + 0.5 ) * M_PI / _order;
}
unsigned range = std::floor( _order / 2.0 ); // comment (steffen): why do we only need half of the points: => In 2D we would count everything
// twice. (not wrong with scaling, but expensive)
unsigned range = std::floor( _order / 2.0 ); // comment (steffen): why do we only need half of the points:
//=> In 2D we would count everything twice. (not wrong with scaling
// resize points and weights
_points.resize( _nq );
......
......@@ -50,7 +50,7 @@ int MNSolver::GlobalIndex( int l, int k ) const {
}
void MNSolver::ComputeMoments() {
double my, phi, w;
double my, phi;
for( unsigned idx_quad = 0; idx_quad < _nq; idx_quad++ ) {
my = _quadrature->GetPointsSphere()[idx_quad][0];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment