muMECH  1.0
meso3d.h
Go to the documentation of this file.
1 //********************************************************************************************************
2 // code: # # ###### ##### ##### ##### ######
3 // ## ## # # # # # # # # #
4 // # # # # # # # # # # #
5 // # # # ##### ##### # # #### # #
6 // # # # # # # # # #
7 // # # # # # # # # # # #
8 // # # ###### ##### ##### ##### ######
9 //
10 // name: meso3d.h
11 // Copyright: Daniel Rypl
12 // Czech Technical University in Prague,
13 // Faculty of Civil Engineering, Department of Structural Mechanics,
14 // Thakurova 7, 166 29 Prague, Czech Republic,
15 // email: drypl@fsv.cvut.cz
16 //
17 // language: C, C++
18 // license: This program is free software; you can redistribute it and/or modify
19 // it under the terms of the GNU Lesser General Public License as published by
20 // the Free Software Foundation; either version 2 of the License, or
21 // (at your option) any later version.
22 //
23 // This program is distributed in the hope that it will be useful,
24 // but WITHOUT ANY WARRANTY; without even the implied warranty of
25 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26 // GNU Lesser General Public License for more details.
27 //
28 // You should have received a copy of the GNU Lesser General Public License
29 // along with this program; if not, write to the Free Software
30 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31 //********************************************************************************************************
37 // Library meso3d was written by Daniel Rypl. The original code was not changed.
38 // It was commented except some function necessary for detection of ellipses intersection.
39 // Some row of code was copied and uncommented to .h
40 // Lukas Zrubek is author of these small changes.
41 
42 
43 #ifndef MESO3D_H
44 #define MESO3D_H
45 
46 
47 namespace meso3d {
48 
50 struct point_rec
51 {
52  double x;
53  double y;
54  double z;
55 };
56 
58 {
62 };
63 
66 {
67  int id;
68  //crack_rec *crack; ///<
70  point_rec major, minor, middle;
71  double max, min, mid;
72  double internal_msz, boundary_msz;
73  int property, interface, bc;
74  point_rec pnt00, pnt01, pnt02;
75  point_rec pnt10, pnt11, pnt12;
76  point_rec pnt20, pnt21, pnt22;
77  int region;
78  char bc_ellipsoid_spec[128];
79  char bc_matrix_spec[128];
80 };
81 
82 
87 
88 
89 } // end of namespace meso3d
90 
91 #endif // end of MESO3D_H
92 
93 /*end of file*/
void check_ellipsoid_rec_consistency(meso3d::ellipsoid_rec &L)
ADDED for muMech needs.
Definition: meso3d.cpp:884
point_rec y
Definition: meso3d.h:60
int check_ellipsoid_ellipsoid_overlap(ellipsoid_rec *ellipsoid1, ellipsoid_rec *ellipsoid2)
Definition: meso3d.cpp:10164
Ellipsoid record.
Definition: meso3d.h:65
void transfom_ellipsoid_rec(meso3d::ellipsoid_rec &L)
ADDED for muMech needs.
Definition: meso3d.cpp:948
point_rec minor
Definition: meso3d.h:70
point_rec x
Definition: meso3d.h:59
point_rec pnt02
Definition: meso3d.h:74
point_rec center
Definition: meso3d.h:69
point_rec pnt22
Definition: meso3d.h:76
double internal_msz
Definition: meso3d.h:72
Point record.
Definition: meso3d.h:50
point_rec z
Definition: meso3d.h:61
point_rec pnt12
Definition: meso3d.h:75