Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
dead_code
reaction.h
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2007 Technical University of Liberec. All rights reserved.
4
*
5
* Please make a following refer to Flow123d on your project site if you use the program for any purpose,
6
* especially for academic research:
7
* Flow123d, Research Centre: Advanced Remedial Technologies, Technical University of Liberec, Czech Republic
8
*
9
* This program is free software; you can redistribute it and/or modify it under the terms
10
* of the GNU General Public License version 3 as published by the Free Software Foundation.
11
*
12
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
13
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
* See the GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along with this program; if not,
17
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 021110-1307, USA.
18
*
19
*
20
* $Id$
21
* $Revision$
22
* $LastChangedBy$
23
* $LastChangedDate$
24
*
25
* @file
26
* @brief ???
27
*
28
*/
29
30
#ifndef REACTION_H_
31
#define REACTION_H_
32
33
//=============================================================================
34
// STRUCTURE OF THE REACTION
35
/*! @brief STRUCTURE OF THE REACTION (ONE SPECIE)
36
*
37
*
38
*/
39
//=============================================================================
40
class
oReaction
41
{
42
public
:
43
oReaction
();
44
~oReaction
();
45
void
transport_reaction
(
double
time_step,
double
***conc,
double
***pconc,
int
elm_pos, MaterialDatabase::Iter mtr,
int
sbi);
46
47
int
id
;
// reaction ID
48
int
substancei
;
// substance ID
49
int
type
;
// type of reaction
50
double
*
coef
;
// type dependent coefficent set
51
52
};
53
54
void
parse_reaction_line
(
struct
Transport *transport,
int
i,
char
*
line
);
55
void
read_reaction_list
(
struct
Transport *transport );
56
char
supported_reaction_type
(
int
st );
57
int
reaction_type_specific_coefficients
(
int
st );
58
59
#endif
/* REACTION_H_ */
Generated on Thu May 29 2014 23:14:47 for Flow123d by
1.8.4