* arts-2-3-22

* src/linerecord.cc:  Fixed so that Zeeman calculations for 
molecular oxygen works with the LBLRTM catalog.

* doc/uguide/absorption.tex:  Document changes in line mixing.



git-svn-id: https://www.sat.ltu.se/svn/rt/arts/trunk@8982 aaf1aab0-4228-0410-ad68-8dceda47f409
2014-10-02  Richard Larsson <ric.larsson@gmail.com>

* arts-2-3-23

We can now calculate non-resonant O2 from LBLRTM catalogue.

* doc/uguide/absorption.tex:  Document how to use the changes.

* src/absorption.{cc,h}:  Added a special function to deal with non-resonant
molecular oxygen band at zero frequency in the same way that LBLRTM deals
with this.

* src/linemixingdata.{h,cc}: The complementary class metods were added here.

* src/linerecord.cc:  And the reading routine here was also adjusted.

* src/lineshapes.cc: Added a special line shape for non-resonant O2.  It is not
recommended to use this line shape elsewhere, since it is custom made for 
non-resonance.



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

            * arts-2-3-24

            * src/math_funcs.cc (unitl): Corrected header.

            * src/m_sensor.cc (sensor_responseStokesRotation): Changed the
            method to make use of the internal function mueller_rotation, to
            avoid duplication of very similar code. Forgot that we had this
            method when implementing mueller_rotation!



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

	* src/methods.cc, workspace.cc: Revised built-in doc regarding
	particle type -> scattering species/element terminology. Some further
	spell, grammar, and formulation fixes.

	* controlfiles/instruments/ici/ici_fast.arts: base on ici.arts by
	actually including it. minimize risk of inconsistent setting between
	fast and normal case.

	* controlfiles/instruments/ici/ici.arts: minor layout adaptions.



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

	* src/*.cc,*.h: Revised doc of internal function (and code comments)
	regarding particle type -> scattering species/element terminology.



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

* src/cloudbox.cc, src/m_cloudbox.cc, src/m_optproperties.cc,
src/m_tmatrix.cc, src/methods.cc, src/montecarlo.cc,
src/optproperties.cc, src/optproperties.h, src/tmatrix.cc,
src/tmatrix.h, src/workspace.cc, src/xml_io_compound_types.cc,
controlfiles/artscomponents/tmatrix/TestTMatrixSSD.arts:

Rename particle_type to ptype, ParticleType to PType and
ParticleType{From,To}String to PType{From,To}String.

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

* controlfiles/artscomponents/doit/TestDOIT.arts,
controlfiles/artscomponents/doitbatch/TestDOITBatch.arts,
controlfiles/artscomponents/montecarlo/TestMonteCarloDataPrepare.arts,
controlfiles/artscomponents/montecarlo/TestMonteCarloGeneral.arts,
controlfiles/artscomponents/montecarlo/TestMonteCarloGeneralGaussian.arts,
controlfiles/artscomponents/montecarlo/TestRteCalcMC.arts,
controlfiles/artscomponents/tmatrix/TestTMatrixSSD.arts,
controlfiles/planetary_toolbox/demos/common/DemoMarsClouds1D.arts,
controlfiles/planetary_toolbox/demos/common/DemoVenusClouds1D.arts,
controlfiles/planetary_toolbox/demos/passive/DemoScat_DOIT_1D.arts,
controlfiles/planetary_toolbox/demos/passive/DemoScat_FOS_1D.arts,
controlfiles/planetary_toolbox/demos/passive/DemoScat_MC_1D.arts,
controlfiles/planetary_toolbox/includes/common/makeclouds1D.arts,
controlfiles/planetary_toolbox/includes/mars/getclouds_mars.arts,
controlfiles/planetary_toolbox/includes/venus/getclouds_venus.arts,
doc/uguide/absorption.tex, doc/uguide/clouds.tex,
doc/uguide/rte_basics.tex, doc/uguide/scattering.tex,
src/cloudbox.cc, src/cloudbox.h, src/disort.cc, src/disort.h,
src/m_abs.cc, src/m_batch.cc, src/m_checked.cc, src/m_cloudbox.cc,
src/m_cloudradar.cc, src/m_disort.cc, src/m_doit.cc, src/m_fos.cc,
src/m_montecarlo.cc, src/m_optproperties.cc, src/m_rte.cc,
src/m_tmatrix.cc, src/m_transmitter.cc, src/mc_interp.cc,
src/mc_interp.h, src/methods.cc, src/montecarlo.cc, src/montecarlo.h,
src/optproperties.cc, src/optproperties.h,
src/partition_function_data.cc, src/rte.cc, src/rte.h,
src/tmatrix.cc, src/tmatrix.h, src/workspace.cc,
src/xml_io_compound_types.cc:

Huge scattering renaming commit:

scat_data -> scat_data_single
scat_meta -> scat_meta_single
scat_data_array -> scat_data
scat_meta_array -> scat_meta
scat_data_array_mono -> scat_data_mono
scat_data_arrayCheck -> scat_dataCheck
scat_data_arrayFromMeta -> scat_dataFromMeta
scat_data_array_monoCalc -> scat_data_monoCalc
scat_dataTmatrix -> scat_data_singleTmatrix
scat_data_array_monoCalc -> scat_data_monoCalc
scat_meta_arrayAddTmatrix -> scat_metaAddTmatrix
scat_meta_arrayInit -> scat_metaInit

Also replaced PARTICLE_TYPE_* with PTYPE_* and some local variables
accordingly.

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

	* doc/uguide/cloudradar.tex, absorption.tex, wfuns.tex, scattering.tex,
	polarization.tex, rte_basics.tex, rte_theory.tex, clouds.tex, rte.tex,
	montecarlo.tex, absorption_theory.tex:

	Revised doc for terminology (particle type->scattering species/element).



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

	* src/continua.cc, m_abs.cc, partition_function_data.cc,
	species_data.cc, controlfiles/general/continua.arts:
	Corrected version tag of new MTCKD: CKDMT250->CKDMT252.

	* doc/uguide/absorption.tex:
	Added MTCKD2.5.2 continua in table of available continua.



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

* Change of data type of scat_data and scat_meta from an
ArrayOfSingleScatteringData to ArrayOfArrayOfSingleScatteringData.

* src/workspace.cc:

Change type of scat_meta to ArrayOfArrayOfScatteringMetaData.

Change type of scat_data to ArrayOfArrayOfSingleScatteringData.

Change type of scat_data_mono to ArrayOfArrayOfSingleScatteringData.

* src/groups.cc:

Add ArrayOfArrayOfSingleScatteringData/ScatteringMetaData.

* src/methods.cc:

(particle_massesFromMetaDataAndPart_species):

Remove scat_data_per_scat_species and scat_species inputs.

(pnd_fieldSetup, ScatteringParticlesSelect):

Remove scat_data_per_scat_species input/output.

* src/m_cloudbox.cc (ParticleType2abs_speciesAdd):

Adapt to new type of scat_data. FIXME: Correct to add as a new
scattering species to scat_data?

* src/m_tmatrix.cc (scat_metaAddTmatrix):

Adapt to new type of scat_meta. FIXME: Where to add to scat_meta?
Currently appended to last species.

* src/m_abs.cc (propmat_clearskyAddParticles):

Adapt to new type of scat_data_mono. FIXME: Is it correct to just use
the first scattering species?

* src/array.h:

(TotalNumberOfElements): Convenience function that returns the total
number of elements in an ArrayOfArrayOf.

(FlattenedIndex): Returns the flattened index of an element in an
ArrayOfArrayOf.

* src/cloudbox.{cc,h}:

(pnd_field*): Adapt all particle distributions functions to new
	      scat_meta type. Remove scat_data_start and npart
	      arguments. Instead add a scat_species Index argument.

* src/disort.{cc,h} (phase_functionCalc):

Adapt to new scat_data_mono type.

* src/m_batch.cc (ybatchMetProfiles),
src/m_checked.cc (cloudbox_checkedCalc),
src/m_cloudbox.cc (cloudboxOff, ParticleTypeInit, ParticleTypeAdd,
ParticleTypeAddAll, pnd_fieldZero),
src/m_doit.cc (DoitInit),
src/m_fos.cc (fos, iyFOS),
src/m_rte.cc (iyMC),
src/m_transmitter.cc (iyRadioLink, iyTransmissionStandard),
* src/rte.{cc,h} (get_ppath_ext):

Adapt to new type of scat_data.

* src/m_cloudbox.cc:

(ScatteringParticleTypeAndMetaRead):

Adapt to new type of scat_data and scat_meta.

(ScatteringParticlesSelect):

Adapt to new type of scat_data and scat_meta. Remove
scat_data_per_scat_species.

(particle_massesFromMetaDataSingleCategory,
particle_massesFromMetaDataAndPart_species, pnd_fieldSetup)

Adapt to new scat_meta type.

* src/m_cloudradar.cc (iyCloudRadar),

Adapt to new type of scat_data.

* src/m_disort.cc (ScatteringDisort):

Adapt to new type of scat_data and scat_data_mono.

* src/m_montecarlo.cc (MCGeneral):

Adapt to new type of scat_data_mono.

* src/m_optproperties.cc:

Adapt MACROS to new type of scat_data.

(pha_mat_sptFromData, opt_prop_sptFromData, scat_dataCheck,
ScatteringMergeParticles1D):

Adapt to new type of scat_data.

(pha_mat_sptFromDataDOITOpt, opt_prop_sptFromMonoData,
pha_mat_sptFromMonoData):

Adapt to new type of scat_data_mono.

(DoitScatteringDataPrepare, scat_data_monoCalc):

Adapt to new type of scat_data and scat_data_mono.

* src/m_tmatrix.cc:

(scat_metaInit): Adapt to new type of scat_meta.

(scat_dataFromMeta): Adapt to new type of scat_meta and scat_data.

* src/montecarlo.{cc,h} (cloudy_rt_vars_at_gp, findZ11max,
is_anyptype30, mcPathTraceGeneral, opt_propCalc, pha_mat_singleCalc,
Sample_los):

Adapt to new type of scat_data_mono.

* src/optproperties.h:

Add typedef for ArrayOfArrayOfSingleScatteringData/ScatteringMetaData.

* src/xml_io_array_types.cc, src/xml_io_instantiation.h
src/xml_io_types.h:

Add reading/writing support for
ArrayOfArrayOfSingleScatteringData/ScatteringMetaData.

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

* ChangeLog: Slight retouching.

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

* doc/uguide/Figs/scattering/interp_err.pdf,
doc/uguide/clouds.tex,
doc/uguide/montecarlo.tex,
doc/uguide/scattering.tex:

Replace p10, p20, p30 with strings "general",
"macroscopically_isotropic" and "horizontally_aligned".

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