Mapper
Functions | Variables
rat.c File Reference
#include <sqlhdr.h>
#include <sqliapi.h>
#include "rat.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for rat.c:

Go to the source code of this file.

Functions

int get_rate (char *hb5, char *shef)
 
int getflow (char *hb5, char *shef, double Stage, int *Warning)
 
int belows2f (double ShiftStage)
 
int aboves2f (double ShiftStage)
 
int exacts2f (int i)
 
int interps2f (double ShiftStage, int i)
 
double getstage (char *hb5, char *shef, int Flow, int *Warning)
 
double belowf2s (int Flow)
 
double abovef2s (int Flow)
 
double exactf2s (int i)
 
double interpf2s (int Flow, int i)
 
RatingTable getrc (char *hb5, char *shef, int *Warning)
 

Variables

static const char _Cn1 [] = "loop"
 
static RatingTable rate_table
 
static int max
 
static double Val [10]
 
static double Sh [10]
 
static double Slope
 
static double b
 
static double stg_int
 

Function Documentation

◆ abovef2s()

double abovef2s ( int  Flow)

Definition at line 1500 of file rat.c.

Here is the caller graph for this function:

◆ aboves2f()

int aboves2f ( double  ShiftStage)

Definition at line 1372 of file rat.c.

Here is the caller graph for this function:

◆ belowf2s()

double belowf2s ( int  Flow)

Definition at line 1491 of file rat.c.

Here is the caller graph for this function:

◆ belows2f()

int belows2f ( double  ShiftStage)

Definition at line 1353 of file rat.c.

Here is the caller graph for this function:

◆ exactf2s()

double exactf2s ( int  i)

Definition at line 1515 of file rat.c.

Here is the caller graph for this function:

◆ exacts2f()

int exacts2f ( int  i)

Definition at line 1397 of file rat.c.

Here is the caller graph for this function:

◆ get_rate()

int get_rate ( char *  hb5,
char *  shef 
)

Definition at line 21 of file rat.c.

◆ getflow()

int getflow ( char *  hb5,
char *  shef,
double  Stage,
int *  Warning 
)

Definition at line 1296 of file rat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getrc()

RatingTable getrc ( char *  hb5,
char *  shef,
int *  Warning 
)

Definition at line 1553 of file rat.c.

Here is the call graph for this function:

◆ getstage()

double getstage ( char *  hb5,
char *  shef,
int  Flow,
int *  Warning 
)

Definition at line 1439 of file rat.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ interpf2s()

double interpf2s ( int  Flow,
int  i 
)

Definition at line 1522 of file rat.c.

Here is the caller graph for this function:

◆ interps2f()

int interps2f ( double  ShiftStage,
int  i 
)

Definition at line 1404 of file rat.c.

Here is the caller graph for this function:

Variable Documentation

◆ _Cn1

const char _Cn1[] = "loop"
static

Definition at line 3 of file rat.c.

◆ b

double b
static

Definition at line 11 of file rat.c.

◆ max

int max
static

Definition at line 10 of file rat.c.

◆ rate_table

RatingTable rate_table
static

Definition at line 9 of file rat.c.

◆ Sh

double Sh[10]
static

Definition at line 11 of file rat.c.

◆ Slope

double Slope
static

Definition at line 11 of file rat.c.

◆ stg_int

double stg_int
static

Definition at line 11 of file rat.c.

◆ Val

double Val[10]
static

Definition at line 11 of file rat.c.