/usr/include/gmt/potential/okbfuns.h is in libgmt-dev 5.4.3+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /*--------------------------------------------------------------------
* $Id: okbfuns.h 19521 2017-12-27 22:38:24Z pwessel $
*
* Copyright (c) 1991-2018 by P. Wessel, W. H. F. Smith, R. Scharroo, J. Luis and F. Wobbe
* See LICENSE.TXT file for copying and redistribution conditions.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 3 or 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 General Public License for more details.
*
* Contact info: gmt.soest.hawaii.edu
*--------------------------------------------------------------------*/
/*!
* \file okbfuns.h
* \brief
*/
#ifndef OKBFUNS_H
#define OKBFUNS_H
#include "gmt_dev.h" /* Requires GMT to compile and link */
#include "gmt_glib.h"
struct BODY_VERTS {
double x, y, z;
};
struct BODY_DESC {
unsigned int n_f, *n_v, *ind;
};
struct LOC_OR {
double x, y, z;
};
struct MAG_PARAM {
double rim[3];
} *okabe_mag_param;
struct MAG_VAR { /* Used when only the modulus of magnetization varies */
double rk[3];
} *okabe_mag_var;
EXTERN_MSC double okabe (struct GMT_CTRL *GMT, double x_o, double y_o, double z_o, double rho, bool is_grav,
struct BODY_DESC bd_desc, struct BODY_VERTS *bd_vert, unsigned int km, unsigned int pm, struct LOC_OR *loc_or);
#endif /* OKBFUNS_H */
|