local_proto.h 2.2 KB

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