[mcstas-users] what happened to plane_intersect_Gfast?
Peter Willendrup
p at willendrup.org
Fri Feb 13 14:36:32 CET 2015
Dear Jean-Francois,
plane_intersect_Gfast was nothing but a special case of a second order equation solver (of course :-) ).
These days all comps needing this functionality apply solve_2nd_order instead, i.e.
Replace your existing
ret = plane_intersect_Gfast(&dt, A, B, C);
by
ret = solve_2nd_order(&dt, NULL, A, B, C);
in case you need only the first root of the polynomium. Alternatively send your component along here and I will have a look during next week.
Best,
Peter
> On 13 Feb 2015, at 12:41 , Jean-Francois.Moulin at hzg.de wrote:
>
> Hi dear Devels!
>
> I am trying to port a Mcstas 1.x component to 2.1 (am still under 2.1rc1) and was hopefully able to cleanup the parameters, but now I am hitting a
> "undefined reference to `plane_intersect_Gfast'" compiler error.
> Was this function deprecated or replaced ?
>
> Thanks in advance for any help
>
> Best regards,
> Jean-François
>
> -
> Helmholtz Zentrum Geesthacht
> Institut für Werkstoffforschung
> Abteilung WPN, Instrument REFSANS
> Lichtenbergstr. 1
> 85747 Garching FRM II
> Tel.: +49 (0)89 289 10762
> Internet: http://www.frm2.tum.de
> Helmholtz-Zentrum Geesthacht
> Zentrum für Material- und Küstenforschung GmbH
> Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany
>
> Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
> Amtsgericht Lübeck HRB 285 GE (Register Court)
> Internet: http://www.hzg.de
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
More information about the mcstas-users
mailing list