/usr/include/gerris/solid.h is in libgfs-mpi-dev 20110329-dfsg.2-1build2.
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 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 86 87 88 89 90 91 92 93 94 95 | /* Gerris - The GNU Flow Solver
* Copyright (C) 2001 National Institute of Water and Atmospheric Research
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 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
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifndef __SOLID_H__
#define __SOLID_H__
#include <gts.h>
#include "domain.h"
#include "event.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
enum {
GFS_STATUS_UNDEFINED = 0,
GFS_STATUS_SOLID = 1,
GFS_STATUS_FLUID = 2
};
void gfs_cell_fluid (FttCell * cell);
gboolean gfs_solid_is_thin (FttCell * cell,
GfsGenericSurface * s);
gboolean gfs_set_2D_solid_fractions_from_surface (FttCell * cell,
GfsGenericSurface * s);
guint gfs_init_solid_fractions_leaves (GfsDomain * domain,
GSList * i,
GfsVariable * status);
void gfs_init_solid_fractions_from_children (GfsDomain * domain,
gboolean destroy_solid,
FttCellCleanupFunc cleanup,
gpointer data,
GfsVariable * status);
guint gfs_domain_init_solid_fractions (GfsDomain * domain,
GSList * i,
gboolean destroy_solid,
FttCellCleanupFunc cleanup,
gpointer data,
GfsVariable * status);
void gfs_cell_init_solid_fractions_from_children (FttCell * cell);
gboolean gfs_cell_check_solid_fractions (FttCell * root);
void gfs_domain_init_fraction (GfsDomain * domain,
GfsGenericSurface * s,
GfsVariable * c);
void gfs_cell_cm (const FttCell * cell,
FttVector * cm);
void gfs_solid_normal (const FttCell * cell,
FttVector * n);
void gfs_face_ca (const FttCellFace * face,
FttVector * ca);
void gfs_solid_coarse_fine (FttCell * parent,
GfsDomain * domain);
/* GfsSolid: Header */
typedef struct _GfsSolid GfsSolid;
struct _GfsSolid {
/*< private >*/
GfsEvent parent;
/*< public >*/
GfsGenericSurface * s;
};
#define GFS_SOLID(obj) GTS_OBJECT_CAST (obj,\
GfsSolid,\
gfs_solid_class ())
#define GFS_IS_SOLID(obj) (gts_object_is_from_class (obj,\
gfs_solid_class ()))
GfsEventClass * gfs_solid_class (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __SOLID_H__ */
|