Functions

src/rls/RLSMain.c File Reference

Functions

int run (InputParms inputParms, char *commandLineOutputDir, BOOLEAN debug)
char * getRLSVersion ()

Function Documentation

char* getRLSVersion (  ) 
int run ( InputParms  inputParms,
char *  commandLineOutputDir,
BOOLEAN  debug 
)

Performs RLS 1D, 3D scalar and 3D vector inversions. There is a distinction between the 1D and 3D problems in terms of the input data. The 1D problem uses 2D matrices and the solution is complete after each inversion. The 3D problem uses 4D matrices and partial solutions are produced by each inversion. The partial solutions are aggregrated into full 4D solutions and written when they are complete.

Parameters:
[in] inputParms InputParms structure which contains input file names, directories, and parameters for the inversion.
[in] commandLineOutputDir Character string to override the output base directory specified in the input file. This parameter is used to create successive versions of the output base directory.
[in] debug Boolean flag signaling the output of intermediate matrix values.
Returns:
0 for success and 1 for error.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines