2013-02-04  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-486

            * src/rte.cc (defocusing_general): Now taking dza from calling
            function (before hard-coded).

            (defocusing_sat2sat): As above + fixed error in calculation
            (impact paramater was mixed up with geometrical ztan) + now not
            crashes if any of the two extra calculations hits the surface.

            * src/m_transmitter.cc (iyRadioLink): Made angular shift to use
            for defoc-calculations a method input.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8169 aaf1aab0-4228-0410-ad68-8dceda47f409
2013-02-05  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-487

            * src/rte.cc (defocusing_general_sub): Now also returning
            radiative background.
            (defocusing_general): Now also handling the case if the lower of
            the
            calculations hits the ground.

            * controlfiles/artscomponents/radiolink/TestRadioLink2.arts:
            Adopted to change below.

            * src/m_transmitter.cc (iyRadioLink): Now "method 1" is the more
            general defocus algorithm. Realised that size of some aux vars
            could be made even more compact. Also started to write
            documentation in methods.cc.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8170 aaf1aab0-4228-0410-ad68-8dceda47f409
2013-02-06  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-488

            * doc/uguide/transmission.tex: Chapter revised and updated. Now
            synced with the source code.

            * doc/uguide/CMakeLists.txt: transmission.tex was not included.

            * controlfiles/artscomponents/faraday/farrot_totalREFERENCE.xml:
            Converted data from rad to deg.

            * doc/uguide/faraday.tex (section{Practical usage}): Units
            updated, follwoing the changes below.

            * src/m_transmitter.cc (iyTransmissionStandard, iyRadioLink):
            Changed output unit for Faraday rotation variables fro rad to deg.
            This to be consistent with the fact that degrees is used elsewhere
            for input and output angles.
            That is, we are not using the SI unit for angles (but better being
            consistent, than partly doing this) !!!

            * src/rte.cc (get_ppath_trans): Fixed bad spelling in header text.

            * src/methods.cc: Wrote on-line doc for iyRadioLink. Updated text
            for ppathFromRtePos2.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8171 aaf1aab0-4228-0410-ad68-8dceda47f409
* arts-2-1-489

* Bug fixed in N2-CIAfunCKDMT100 continuum reported by Josef Gasteiger.
This indexing bug caused wrong values of different magnitude depending
on frequency range, operating system and compiler version.

* src/continua.cc:

(XINT_FUN): Add second implementation that takes a ConstVectorView as
input.

(CKD_mt_CIArot_n2): Replace C-type Numeric arrays with Vectors to
enable boundary checks.

(CKD_mt_CIAfun_n2): Replace C-type Numeric arrays with Vectors to
enable boundary checks.

Fix array-index-out-of-bounds access by extending the size of the
coefficient array k by one 0-value.

* Bounds-checking for the other continua will be added next to see if
any of them are affected by similar bugs.

git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8172 aaf1aab0-4228-0410-ad68-8dceda47f409