Flow123d
ppfcs.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 PPFCS_H
31 #define PPFCS_H
32 
33 struct Transport;
34 
35 #define FOR_ELEMENTCUT(i) for((i)=transport->fsec->elc;(i)!=NULL;(i)=(i)->next)
36 
37 //=============================================================================
38 // STRUCTURE OF THE FLOW-CROSS-SECTION
39 //=============================================================================
40 struct FSection
41 {
42  char *fcs_params;
43  double eqn[4] ; // coef. of x,y,z,1
45  int n_elm; // number of FCS elements
46  struct ElementCut *elc;
47 };
48 //=============================================================================
49 // STRUCTURE OF THE ELEMENT CUT
50 //=============================================================================
51 struct ElementCut
52 {
54  int type; // 1 - side break, 2 - element break
55  int sid;
56  int n_point;
57  double *point[4]; // coord.
58  double cutflux;
59  struct ElementCut *next;
60  struct ElementCut *prev;
61 };
62 
63 #endif
64 //-----------------------------------------------------------------------------
65 // vim: set cindent: