TheBoussinesqModel  3.2.1
 All Data Structures Files Functions Variables Typedefs Macros Pages
tabs.h
Go to the documentation of this file.
1 
2 /* STATEMENT:
3 
4 ASCII-GEOtop LIBRARIES
5 
6 Copyright, 2008 Stefano Endrizzi, Riccardo Rigon
7 
8  LICENSE:
9 
10  This file is part of ASCII-GEOtop LIBRARIES
11  ASCII-GEOtop LIBRARIES is a free software: you can redistribute it and/or modify
12  it under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program. If not, see <http://www.gnu.org/licenses/>.*/
23 
24 
25 
26 #define end_vector -9.0E+5
27 #define end_vector_long 999999
28 /*----------------------------------------------------------------------------------------------------------*/
29 char **readline_textarray(FILE *f, long offset);
30 
31 /*----------------------------------------------------------------------------------------------------------*/
32 void readline_array(FILE *f, double *a, long offset, long ncol, double ndef, short *endoffile);
33 
34 /*----------------------------------------------------------------------------------------------------------*/
35 double decod(char *ch, long n, double ndef);
36 
37 /*----------------------------------------------------------------------------------------------------------*/
38 long dim1(double *a);
39 long dim1l(long *a);
40 long dim2(double **a);
41 long dim_string(char *a);
42 long dim_vect_strings(char **a);
43 
44 /*----------------------------------------------------------------------------------------------------------*/
45 
46 double **alloc2(long n, long m);
47 double *alloc1(long n);
48 long **alloc_long2(long n);
49 long *alloc_long1(long n);
50 
51 
52 /*----------------------------------------------------------------------------------------------------------*/
53 
54 short compare_strings(char *a, char *b);