~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to raster/r.sun/local_proto.h

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* main.c */
2
2
 
3
 
int INPUT(void);
4
 
int OUTGR(void);
5
 
int min(int, int);
6
 
int max(int, int);
7
 
void com_par(void);
8
 
void com_par_const(void);
9
 
double lumcline2(void);
10
 
void joules2(void);
11
 
 
12
 
int new_point(void);
13
 
int searching(void);
14
 
void where_is_point(void);
 
3
 
 
4
void where_is_point(double *length, struct SunGeometryVarDay *sunVarGeom,
 
5
                    struct GridGeometry *gridGeom);
 
6
int searching(double *length, struct SunGeometryVarDay *sunVarGeom,
 
7
              struct GridGeometry *gridGeom);
 
8
 
 
9
int useCivilTime();
 
10
void setUseCivilTime(int val);
 
11
int useShadow();
 
12
void setUseShadow(int val);
 
13
int useShadowData();
 
14
void setUseShadowData(int val);
 
15
int useHorizonData();
 
16
void setUseHorizonData(int val);
 
17
double getTimeOffset();
 
18
void setTimeOffset(double val);
 
19
double getHorizonInterval();
 
20
void setHorizonInterval(double val);
 
21
void setAngularLossDenominator();
 
22
 
 
23
 
15
24
void cube(int, int);
16
 
void (*func) (int, int);
17
 
 
18
 
void calculate(void);
19
 
double com_sol_const(int);
20
 
double com_declin(int);
21
 
double brad(double);
22
 
double drad(double);
 
25
 
 
26
double com_sol_const(int no_of_day);
 
27
 
 
28
 
 
29
double brad(double, double *bh, struct SunGeometryVarDay *sunVarGeom,
 
30
            struct SunGeometryVarSlope *sunSlopeGeom,
 
31
            struct SolarRadVar *sunRadVar);
 
32
double drad(double, double bh, double *rr,
 
33
            struct SunGeometryVarDay *sunVarGeom,
 
34
            struct SunGeometryVarSlope *sunSlopeGeom,
 
35
            struct SolarRadVar *sunRadVar);
 
36
 
 
37
 
 
38
double brad_angle_loss(double, double *bh,
 
39
                       struct SunGeometryVarDay *sunVarGeom,
 
40
                       struct SunGeometryVarSlope *sunSlopeGeom,
 
41
                       struct SolarRadVar *sunRadVar);
 
42
double drad_angle_loss(double, double bh, double *rr,
 
43
                       struct SunGeometryVarDay *sunVarGeom,
 
44
                       struct SunGeometryVarSlope *sunSlopeGeom,
 
45
                       struct SolarRadVar *sunRadVar);
 
46
 
 
47
 
 
48
void com_par(struct SunGeometryConstDay *sungeom,
 
49
             struct SunGeometryVarDay *sunVarGeom,
 
50
             struct GridGeometry *gridGeom,
 
51
             double latitude, double longitude);
 
52
void com_par_const(double longitTime, struct SunGeometryConstDay *sungeom,
 
53
                   struct GridGeometry *gridGeom);
 
54
double lumcline2(struct SunGeometryConstDay *sungeom,
 
55
                 struct SunGeometryVarDay *sunVarGeom,
 
56
                 struct SunGeometryVarSlope *sunSlopeGeom,
 
57
                 struct GridGeometry *gridGeom,
 
58
                 unsigned char *horizonpointer);
 
59
 
 
60
 
 
61
typedef double (*BeamRadFunc) (double sh, double *bh,
 
62
                               struct SunGeometryVarDay * sunVarGeom,
 
63
                               struct SunGeometryVarSlope * sunSlopeGeom,
 
64
                               struct SolarRadVar * sunRadVar);
 
65
 
 
66
typedef double (*DiffRadFunc) (double sh, double bh, double *rr,
 
67
                               struct SunGeometryVarDay * sunVarGeom,
 
68
                               struct SunGeometryVarSlope * sunSlopeGeom,
 
69
                               struct SolarRadVar * sunRadVar);