File size: 2,803 Bytes
5ab75a9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | //====================================================================================
//
// Copyright (c) 2023-2025 United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
//
//====================================================================================
//
// Description:
//
// Header definitions used by sdmcEntry.cpp in order to interface directly with
// the SDMC library.
//
//====================================================================================
//
// Initial version: Mar 2023; Latest update: Aug 2025
//
// ----------------- BEGIN CODE -----------------
#ifndef SDMC_ENTRY__H
#define SDMC_ENTRY__H
#include "SdmcInterface.h"
#define NSTATE 9
#define NPOSVEL 6
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_WIN32) || defined(_WIN64)
void SDMC_ENTRY(
#else
void sdmc_entry_(
#endif
double pri_rep_eci[NSTATE+1],
double sec_rep_eci[NSTATE+1],
double pri_cov_uvw[NSTATE][NSTATE],
double sec_cov_uvw[NSTATE][NSTATE],
double pri_dsv_uvw[NPOSVEL+1],
double sec_dsv_uvw[NPOSVEL+1],
int * pri_satno ,
int * sec_satno ,
double * ca_time_inp,
double * span_inp ,
int * seed_inp ,
int * num_trials_inp,
double * radius_inp ,
double * maxrad_inp ,
double * cp_fact_inp,
int * rectopt_inp,
int * ds_size_inp,
double dataset_out[],
int * count_out,
int * count_hits,
char output_file[256],
int * return_code);
#ifdef __cplusplus
}
#endif
#endif
// ----------------- END OF CODE ------------------
//
// Please record any changes to the software in the change history
// shown below:
//
// ----------------- CHANGE HISTORY ------------------
// Developer | Date | Description
// ---------------------------------------------------
// L. Baars | 2023-Mar-13 | Initial release
// L. Baars | 2025-Aug-06 | Minor documentation updates necessary for
// public release
//====================================================================================
//
// Copyright (c) 2023-2025 United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
//
//====================================================================================
|