2013-05-29  Patrick Eriksson  <patrick.eriksson@chalmers.se>

            * arts-2-1-655

            * doc/uguide/wfuns.tex: Started to restructure the presentation
            of analytical expressions, with the aim of getting matching
            expressions for scalar and vector cases.



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

2013-05-29 Oscar Isoz <oscar.isoz@ltu.se>

  * arts-2-1-656 

	*src/rte.cc (ext2trans) :
	Fixed a sign error in the assertion between ext_mat(3,0) and ext_mat(0,3)
  (removed the '-' sign)
	


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

            * arts-2-1-657

            * doc/uguide/wfuns.tex: More rewriting.

            * doc/uguide/arts_user.tex: Changed position of WF chapter.



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

            * arts-2-1-658

            * doc/uguide/wfuns.tex: A number of smaller corrections. 



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

            * arts-2-1-659
            
            * src/rte.cc (ext2trans): Commented out assert( ext_mat(0,0) >= 0
              );
              This assert made qpack2_demo in atmlab to fail. I guess due to
              negative vmr. Uh, not sure how to handle this and removing the
              assert to avoid the problem for the moment!



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

            * arts-2-1-660

            * src/rte.cc (ext2trans): Added comment explaining why
              assert( ext_mat(0,0) >= 0 );
              is removed.

              * src/m_atmosphere.cc (basics_checkedCalc): Added argument
              negative_vmr_ok. If false, vmr_field now demanded to be >= 0.
              This
              is set to be default.

              Note the difference for t and vmr: t>0 while vmr>=0

              Made also search for negative f_grid more efficient. Just needed
              to check for element when the vector is known to be increasing.



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

            * arts-2-1-661

            * src/m_sensor.cc (sensor_responseMixer): Check of symmetry of
            response grid allowed a margin on 1kHz, but that cause problems in
            the core functions. Now no margin allowed. Safest, and simplest
            for the implementation. This opens for potential practical
            problems due rounding errors in files etc., but hopefully possible
            to handle ...



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

            * arts-2-1-662

            * doc/uguide/wfuns.tex: A complete rewrite of the analytical
            expressions. Now common terms are really discussed first, and
            separately. And the complete calculation procedure is represented
            mathematically. Hopefully more easy to understand what is
            actually done, and the difference between unpolarised and
            polarised more clearly separated.



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

            * arts-2-1-663

            * doc/uguide/wfuns.tex: Corrected some mistakes from writing
            earlier today. Resurrected some text about more fully handling the
            vector case analytically.



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

            * arts-2-1-664

            * Work to avoid repeated checks if ext_mat is diagonal. Mainly
            justified for extension of WFs, but should give a slight general
            speed improvement.

            * src/m_fos.cc (fos):
            * src/m_rte.cc (iyEmissionStandard): Adopted call of
            get_ppath_trans and emission_rtstep.

            * src/m_transmitter.cc (iyTransmissionStandard, iyRadioLink):
            * src/m_cloudradar.cc (iyCloudRadar): Adopted call of
            * get_ppath_trans.

            * src/rte.cc (get_ppath_trans, get_ppath_trans2): Adopted call of
            ext2trans, and added output argument to pass on icase.

            (emission_rtstep): Added input argument matching icase. This
            avoids a call of is_diagonal, for each frequency.

            * src/montecarlo.cc (mcPathTraceGeneral):
            * src/m_fos.cc (fos): Adopted call of ext2trans.

            * src/doit.cc (rte_step_doit): Adopted call of ext2trans, and
            using icase to remove a call of is_diagonal.

            * src/rte.cc (ext2trans): The found structure of ext_mat is now
            returned, as *icase*. If icase already known, that information can
            also be provided to save time.



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

            * arts-2-1-665

            * src/m_rte.cc (iyEmissionStandard2): Temporary playground for
            extending WFs to also handle polarised absorption.



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