Skip to content
Snippets Groups Projects
Commit 97d85f3d authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[quadrature] Use explicit contructor for the string-based rules.

This is needed for Steffens opcounting.
parent b42807f5
No related branches found
No related tags found
1 merge request!49Use the explicit constructor to construct quadrature data from strings
Pipeline #
Source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -95,9 +95,9 @@ for i: 1 thru maxp/2+1 do block([],
p: (points[n]+1)/2,
p: max(p-epsilon,-epsilon)+epsilon,
w: weights[n]/2,
printf(fd," _points[~d] = \"~h\";
printf(fd," _points[~d] = ct(\"~h\");
",n_-1,p),
printf(fd," _weight[~d] = \"~h\";
printf(fd," _weight[~d] = ct(\"~h\");
",n_-1,w)
),
printf(fd," break;
......
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