You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOVAS_OBSERVER_AT_GEOCENTER=0, ///< Calculate coordinates as if observing from the geocenter for location and Earth rotation independent coordinates.
206
+
NOVAS_OBSERVER_AT_GEOCENTER=0, ///< Calculate coordinates as if observing from the geocenter for location and Earth rotation independent coordinates.
209
207
NOVAS_OBSERVER_ON_EARTH, ///< Observer is at a location that is in the rotating frame of Earth.
210
208
211
209
/**
@@ -237,7 +235,7 @@ enum novas_reference_system {
237
235
*/
238
236
enumnovas_equator_type {
239
237
NOVAS_MEAN_EQUATOR=0, ///< True equinox Of Date (TOD): dynamical system of the true equator, with its origin at the true equinox (pre IAU 2006 system).
240
-
NOVAS_TRUE_EQUATOR, ///< Celestial Intermediate Reference System (CIRS): dynamical system of the true equator, with its origin at the CIO (preferred since IAU 2006)
238
+
NOVAS_CIRS_EQUATOR, ///< Celestial Intermediate Reference System (CIRS): dynamical system of the true equator, with its origin at the CIO (preferred since IAU 2006)
241
239
NOVAS_ICRS_EQUATOR///< International Celestiual Reference system (ICRS). The equatorial system fixed to the frame of distant quasars.
242
240
};
243
241
@@ -260,7 +258,7 @@ enum novas_accuracy {
260
258
*/
261
259
enumnovas_refraction_model {
262
260
NOVAS_NO_ATMOSPHERE=0, ///< Do not apply atmospheric refraction correction
263
-
NOVAS_STANDARD_ATMOSPHERE, ///< Uses a standard atmospheric model, ignoring all weather values defined for the specific observing location
261
+
NOVAS_STANDARD_ATMOSPHERE, ///< Uses a standard atmospheric model, ignoring all weather values defined for the specific observing location
264
262
NOVAS_WEATHER_AT_LOCATION///< Uses the weather parameters that are specified together with the observing location.
265
263
};
266
264
@@ -315,9 +313,9 @@ enum novas_transform_type {
315
313
/// applies a rotation of the reference frame
316
314
/// corresponding to precession between the first and second dates,
317
315
/// but leaves the star fixed in space.
318
-
CHANGE_SYSTEM,
316
+
PRECESSION,
319
317
320
-
/// The combined equivalent of CHANGE_EPOCH and CHANGE_EQUATOR_EQUINOX together.
318
+
/// The combined equivalent of PROPER_MOTION and PRECESSION together.
321
319
CHANGE_EPOCH,
322
320
323
321
/// A fixed rotation about very small angles (<0.1 arcsecond) to take data from the
@@ -399,8 +397,11 @@ typedef struct {
399
397
doubleOmega; ///< [rad] mean longitude of the Moon's ascending node.
400
398
} novas_fundamental_args;
401
399
402
-
#defineSIZE_OF_OBJ_NAME 51 ///< Maximum bytes in object names including string termination.
403
-
#defineSIZE_OF_CAT_NAME 4 ///< Maximum bytes in catalof IDs including string termination.
400
+
401
+
// These sit next to 64-bit values in structures, which means the structure is aligned to 64-bytes. So we
402
+
// might as well define names to contain up to 64 bytes, including termination.
403
+
#defineSIZE_OF_OBJ_NAME 64 ///< Maximum bytes in object names including string termination.
404
+
#defineSIZE_OF_CAT_NAME 64 ///< Maximum bytes in catalog IDs including string termination.
404
405
405
406
/**
406
407
* Basic astrometric data for any celestial object
@@ -411,7 +412,7 @@ typedef struct {
411
412
typedefstruct {
412
413
charstarname[SIZE_OF_OBJ_NAME]; ///< name of celestial object
0 commit comments