Merge ../libgpiv-omp into fft-omp
[libgpiv.git] / lib / my_utils.h
blobf7c73e62e09d31e352cf172eb68d811501c49d49
1 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 c-style: "K&R" -*- */
3 /*
4 libgpiv - library for Particle Image Velocimetry
6 Copyright (C) 2008 Gerber van der Graaf
8 This file is part of libgpiv.
10 Libgpiv is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2, or (at your option)
13 any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software Foundation,
22 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 -------------------------------------------------------------------------------
28 FILENAME: my_utils.h
29 LIBRARY: libgpiv
30 LAST MODIFICATION DATE: $Id: my_utils.h,v 1.1 2008-09-25 13:19:53 gerber Exp $
34 FILE *
35 my_utils_fopen_tmp (const gchar *tmpfile,
36 const gchar *mode
39 gchar *
40 my_utils_write_tmp_image (const GpivImage *image,
41 const gchar *basename,
42 const gchar *message
45 gboolean
46 my_utils_find_data_scaled (const gchar line[GPIV_MAX_CHARS]
49 gboolean
50 my_utils_count_asciidata (FILE *fp,
51 guint *nx,
52 guint *ny
55 GpivImage *
56 my_utils_open_img (const gchar *fname
59 gchar *
60 my_utils_fcount_hdf5_data (const gchar *fname,
61 gint *nx,
62 gint *ny
65 gboolean
66 my_utils_obtain_nxny_fromline (gchar line[],
67 gboolean *scale,
68 guint *nx,
69 guint *ny,
70 gboolean *increment,
71 gfloat *dat_x,
72 gfloat *dat_y,
73 guint *line_nr