## GSLIB Help Page: GTSIM

Description:

- Truncate multiple Gaussian fields according to thresholds that can vary locally.

Parameters:

- gausfl: input data file with the Gaussian realizations that will be truncated to create categorical variable realizations.
- outfl: output data file for categorical variable realizations.
- nsim: number of realizations
- nx, ny, and nz: size of the simulation grid
- ncat: number of categories
- cat() and proportion(): the integer codes for each category and its corresponding global proportion
- pcurve: if set to 0 then there are no proportion curves and the global proportions are used to establish the thresholds for truncation. If set to 1, then proportion curve files are considered for locally varying thresholds. ncat-1 proportion files are needed:
- propfl: file containing a regular 3-D grid (same size as the input Gaussian realizations) containing the local proportions of the ncat-1 categories.
- icolprop: column with locally varying proportion