GRASS GIS 8 Programmer's Manual  8.4.0dev(2023)-8fd28c4126
output2d.c File Reference
#include <stdio.h>
#include <math.h>
#include <errno.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/bitmap.h>
#include <grass/linkm.h>
#include <grass/interpf.h>
#include <grass/glocale.h>
Include dependency graph for output2d.c:

Go to the source code of this file.


#define MULT   100000


int IL_output_2d (struct interp_params *params, struct Cell_head *cellhd, double zmin, double zmax, double zminac, double zmaxac, double c1min, double c1max, double c2min, double c2max, double gmin UNUSED, double gmax UNUSED, double ertot, char *input, double dnorm, int dtens, int vect, int n_points)

Detailed Description

H. Mitasova, I. Kosinovsky, D. Gerdesm, Summer 1992 (original authors)
modified by McCauley in August 1995
modified by Mitasova in August 1995
modified by Mitasova in August 1999 (fix for elev color)
modified by Brown in September 1999 (fix for Timestamps)
modified by Mitasova in Nov. 1999 (write given tension into hist)

Definition in file output2d.c.

Macro Definition Documentation


#define MULT   100000

Definition at line 30 of file output2d.c.

Function Documentation

◆ IL_output_2d()

int IL_output_2d ( struct interp_params params,
struct Cell_head cellhd,
double  zmin,
double  zmax,
double  zminac,
double  zmaxac,
double  c1min,
double  c1max,
double  c2min,
double  c2max,
double gmin  UNUSED,
double gmax  UNUSED,
double  ertot,
char *  input,
double  dnorm,
int  dtens,
int  vect,
int  n_points 

Creates output files as well as history files and color tables for them.

ertot can be also called RMS deviation of the interpolated surface.

cellhdcurrent region
zmaxmin,max input z-values
c1maxmin,max interpolated values
ertottotal interpolating func. error
inputinput file name
dnormnormalization factor

Definition at line 57 of file output2d.c.