XRTM


The X Radiative Transfer Model

Version 0.91
Feb 2, 2020

This manual describes how to install and use The X Radiative Transfer Model (XRTM) version 0.91.
Copyright ©  2013-2020 Greg McGarragh
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Contents

1  Introduction to XRTM
    1.1  License
    1.2  Conventions used in this manual
2  Building and Using XRTM
    2.1  Building XRTM
        2.1.1  GNU Make
        2.1.2  Visual Studio
    2.2  Using XRTM in your code
        2.2.1  C
        2.2.2  C++
        2.2.3  Fortran 77
        2.2.4  Fortran 90
3  XRTM C Interface
    3.1  (Arrays of (arrays of)) ... arrays
    3.2  Configuration constants
        3.2.1  Options
        3.2.2  Solvers
        3.2.3  BRDF kernels
        3.2.4  Solutions
    3.3  Initiating and destroying XRTM
    3.4  Setting and getting inputs
    3.5  Running the model and getting output
    3.6  Miscellaneous functions
    3.7  Error Handling
    3.8  Example C program using XRTM
4  XRTM Utilities
    4.1  Test suite: testxrtm
        4.1.1  Testxrtm options
    4.2  Stand alone execution: callxrtm
        4.2.1  Callxrtm options
        4.2.2  Callxrtm input format
Bibliography

HEAD NEXT