CARMA C++
cache.h
1 #ifndef CACHE_H
2 #define CACHE_H
3 
4 namespace sza {
5  namespace array {
6 
7  /*
8  * The following type records the window of times over which a
9  * cache is valid. The cache is valid for time t, where tmin <= t
10  * <= tmax. Both tmin and tmax are Modified Julian Date
11  * representations of times. The time system being represented in
12  * this manner depends on the cache.
13  */
14  struct CacheWindow {
15  double tmin; /* The earliest time at which the cached values are ok */
16  double tmax; /* The latest time at which the cached values are ok */
17  };
18  };
19 };
20 void init_CacheWindow(sza::array::CacheWindow *win); /* Set tmin=tmax=0.0 */
21 
22 #endif