Download external/NonLinLoc/src/include/util.h from cangyeone/robust_bayes_location: direct link, hf CLI and curl.
- Browser
- Download file 2.39 kB
-
https://huggingface.co/cangyeone/robust_bayes_location/resolve/main/external/NonLinLoc/src/include/util.h
- Command line
-
hf download hf://cangyeone/robust_bayes_location/external/NonLinLoc/src/include/util.h
-
curl -L -o util.h https://huggingface.co/cangyeone/robust_bayes_location/resolve/main/external/NonLinLoc/src/include/util.h
2.39 kB
| /* | |
| * Copyright (C) 1999-2010 Anthony Lomax <anthony@alomax.net, http://www.alomax.net> | |
| * | |
| * This program is free software: you can redistribute it and/or modify | |
| * it under the terms of the GNU Lesser Public License as published by | |
| * the Free Software Foundation, either version 3 of the License, or | |
| * (at your option) any later version. | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| * GNU Lesser Public License for more details. | |
| * You should have received a copy of the GNU Lesser Public License | |
| * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| */ | |
| /* util.h | |
| AJL utility functions. | |
| */ | |
| /* | |
| by Anthony Lomax | |
| Geosciences Azur, Valbonne, France | |
| */ | |
| extern char package_name[MAXLINE]; | |
| extern char prog_name[MAXLINE]; | |
| extern char prog_ver[MAXLINE]; | |
| extern char prog_date[MAXLINE]; | |
| extern char prog_copyright[MAXLINE]; | |
| extern int message_flag; | |
| extern char MsgStr[100 * MAXLINE]; | |
| /*** function to copy file by Jan Wiszniowski 2022-01-31*/ | |
| void copy_file(char* in_name, char* out_name); | |
| /*** function to display command usage */ | |
| void disp_usage(const char * , const char *); | |
| /*** function to display error message */ | |
| void nll_puterr(const char *); | |
| /*** function to display error message */ | |
| void nll_puterr2(const char *, const char *); | |
| /*** function to display message */ | |
| void nll_putmsg(int , const char *); | |
| /*** function to display message */ | |
| void nll_putmsg2(int imsg_level, const char *pmessage1, const char *pmessage2); | |
| /*** function to display program information */ | |
| void DispProgInfo(); | |
| /*** function to check that int val is in range */ | |
| int checkRangeInt(const char * name, const char * param, int val, | |
| int checkMin, int min, int checkMax, int max); | |
| /*** function to check that double val is in range */ | |
| int checkRangeDouble(const char * name, const char * param, double val, | |
| int checkMin, double min, int checkMax, double max); | |
| /* misc structures */ | |
| /* 3D vector or point */ | |
| // AEH/AJL 20080709 - already in geometry.h | |
| /* | |
| struct Vect3D { | |
| double x; | |
| double y; | |
| double z; | |
| }; | |
| */ | |