Trinity-SpaceData / conjunction /nasa_cara /DistributedMatlab /ProbabilityOfCollision /SDMC_Utils /sdmcEntry.h
Download conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/sdmcEntry.h from STAR-future/Trinity-SpaceData: direct link, hf CLI and curl.
- Browser
- Download file 2.8 kB
-
https://huggingface.co/datasets/STAR-future/Trinity-SpaceData/resolve/main/conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/sdmcEntry.h
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SpaceData/conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/sdmcEntry.h
-
curl -L -o sdmcEntry.h https://huggingface.co/datasets/STAR-future/Trinity-SpaceData/resolve/main/conjunction/nasa_cara/DistributedMatlab/ProbabilityOfCollision/SDMC_Utils/sdmcEntry.h
2.8 kB
| //==================================================================================== | |
| // | |
| // 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 ----------------- | |
| extern "C" { | |
| 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. | |
| // | |
| //==================================================================================== | |