Timothy
0.9
Tissue Modelling Framework
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Macros
io.h
Go to the documentation of this file.
1
/* **************************************************************************
2
* This file is part of Timothy
3
*
4
* Copyright (c) 2014/15 Maciej Cytowski
5
* Copyright (c) 2014/15 ICM, University of Warsaw, Poland
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
*
21
* *************************************************************************/
22
27
//#define NPAR 34
28
#define NPAR 67
29
#define REAL 1
30
#define STRING 2
31
#define INT 3
32
#define LONG 4
33
#define INT64_T 5
34
#define DOUBLE 6
35
#define CHAR 7
36
37
#define NOUT 10
38
#define NRSTPARAMS 32
39
#define SCALAR 1
40
#define VECTOR 2
41
42
#define FNLEN 256
43
44
int
typeOut
[
NOUT
];
45
char
nameOut
[
NOUT
][128];
46
int
dimOut
[
NOUT
];
47
void
*
addrOut
[
NOUT
];
48
int64_t
jumpOut
[
NOUT
];
49
int
nfOut
;
50
51
int
typeRst
[
NRSTPARAMS
];
52
int
sizeRst
[
NRSTPARAMS
];
53
void
*
addrRst
[
NRSTPARAMS
];
54
int
nRst
;
55
/* simulation parameters from the restart file */
56
int
rstSdim
;
57
int
rstNx
;
58
int
rstNy
;
59
int
rstNz
;
60
char
rstOutdir
[128];
61
char
rstRng
[3];
62
int64_t
rstNc
;
63
int
rstSimStart
;
64
float
rstTstep
;
65
float
rstSimTime
;
66
float
rstFrac
;
67
float
rstG1
;
68
float
rstS
;
69
float
rstG2
;
70
float
rstM
;
71
float
rstV
;
72
float
rstRd
;
73
double
rstH
;
74
double
rstCsize
;
75
76
77
int
one
=1;
78
79
char
params
[
NPAR
][64];
80
char
desc
[
NPAR
][512];
81
void
*
addr
[
NPAR
];
82
int
req
[
NPAR
];
83
int
set
[
NPAR
];
84
int
type
[
NPAR
];
85
86
int
fdSave
;
87
int
fdNew
;
88
89
typedef
struct
colormapPoint_t
{
90
float
position
;
91
float
r
;
92
float
g
;
93
float
b
;
94
}
colormapPoint
;
95
96
typedef
struct
colormap_t
{
97
char
name
[16];
98
int
ncp
;
99
colormapPoint
*
cp
;
100
}
colormap
;
101
102
colormap
*
cmaps
;
103
float
beta
;
rstSdim
int rstSdim
Definition:
io.h:56
dimOut
int dimOut[NOUT]
Definition:
io.h:46
colormapPoint_t
Definition:
io.h:89
params
char params[NPAR][64]
Definition:
io.h:79
rstSimTime
float rstSimTime
Definition:
io.h:65
rstV
float rstV
Definition:
io.h:71
typeOut
int typeOut[NOUT]
Definition:
io.h:44
colormapPoint_t::g
float g
Definition:
io.h:92
addrRst
void * addrRst[NRSTPARAMS]
Definition:
io.h:53
rstH
double rstH
Definition:
io.h:73
colormap
struct colormap_t colormap
rstCsize
double rstCsize
Definition:
io.h:74
rstNx
int rstNx
Definition:
io.h:57
rstFrac
float rstFrac
Definition:
io.h:66
rstM
float rstM
Definition:
io.h:70
beta
float beta
Definition:
io.h:103
colormapPoint_t::b
float b
Definition:
io.h:93
nameOut
char nameOut[NOUT][128]
Definition:
io.h:45
cmaps
colormap * cmaps
Definition:
io.h:102
colormapPoint
struct colormapPoint_t colormapPoint
one
int one
Definition:
io.h:77
rstOutdir
char rstOutdir[128]
Definition:
io.h:60
type
int type[NPAR]
Definition:
io.h:84
colormap_t::cp
colormapPoint * cp
Definition:
io.h:99
jumpOut
int64_t jumpOut[NOUT]
Definition:
io.h:48
rstNz
int rstNz
Definition:
io.h:59
rstRng
char rstRng[3]
Definition:
io.h:61
rstG2
float rstG2
Definition:
io.h:69
fdNew
int fdNew
Definition:
io.h:87
colormap_t::name
char name[16]
Definition:
io.h:97
nRst
int nRst
Definition:
io.h:54
nfOut
int nfOut
Definition:
io.h:49
req
int req[NPAR]
Definition:
io.h:82
sizeRst
int sizeRst[NRSTPARAMS]
Definition:
io.h:52
colormapPoint_t::r
float r
Definition:
io.h:91
colormapPoint_t::position
float position
Definition:
io.h:90
addr
void * addr[NPAR]
Definition:
io.h:81
rstRd
float rstRd
Definition:
io.h:72
rstSimStart
int rstSimStart
Definition:
io.h:63
desc
char desc[NPAR][512]
Definition:
io.h:80
NPAR
#define NPAR
Definition:
io.h:28
addrOut
void * addrOut[NOUT]
Definition:
io.h:47
NRSTPARAMS
#define NRSTPARAMS
Definition:
io.h:38
rstNc
int64_t rstNc
Definition:
io.h:62
typeRst
int typeRst[NRSTPARAMS]
Definition:
io.h:51
rstTstep
float rstTstep
Definition:
io.h:64
rstG1
float rstG1
Definition:
io.h:67
rstNy
int rstNy
Definition:
io.h:58
set
int set[NPAR]
Definition:
io.h:83
fdSave
int fdSave
Definition:
io.h:86
rstS
float rstS
Definition:
io.h:68
NOUT
#define NOUT
Definition:
io.h:37
colormap_t::ncp
int ncp
Definition:
io.h:98
colormap_t
Definition:
io.h:96
io.h
Generated on Thu Mar 5 2015 16:34:18 for Timothy by
1.8.6