Commit 2bcbc8b1 authored by Daniel Brown's avatar Daniel Brown
Browse files

adding in newton cotes test

parent f677244b
This diff is collapsed.
# this is a null test, we take a map with a tilt in x any y and cancel it out with the
# inverse of bayerhelms. This tests the integration is working as well as matching up
# with how bayer helms and tilt is defined
l l1 1 0 n0
s s1 100 n0 n1
m m1 1 0 0 n1 n2
s s2 100 n2 n3
l l2 1 0 n3
gauss g1 m1 n1 1e-2 0
maxtem 5
map m1
conf m1 integration_method 4
conf m1 integration_NC_order 1
attr m1 xbeta -10u
attr m1 ybeta -10u
beam b1 0 n0
beam b2 0 n3
xaxis b1 x lin -3 3 100
put b2 x $x1
x2axis b1 y lin -3 3 100
put b2 y $x2
gnuterm no
\ No newline at end of file
This diff is collapsed.
Supports Markdown
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