muMECH
1.0
Main Page
Namespaces
Classes
Files
File List
File Members
src
gelib
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
57
struct
trans_matrix
58
{
59
point_rec
x
;
60
point_rec
y
;
61
point_rec
z
;
62
};
63
65
struct
ellipsoid_rec
66
{
67
int
id
;
68
//crack_rec *crack; ///<
69
point_rec
center
;
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
84
int
check_ellipsoid_ellipsoid_overlap
(
ellipsoid_rec
*ellipsoid1,
ellipsoid_rec
*ellipsoid2);
85
void
check_ellipsoid_rec_consistency
(
meso3d::ellipsoid_rec
& L);
86
void
transfom_ellipsoid_rec
(
meso3d::ellipsoid_rec
& L);
87
88
89
}
// end of namespace meso3d
90
91
#endif // end of MESO3D_H
92
93
/*end of file*/
meso3d::check_ellipsoid_rec_consistency
void check_ellipsoid_rec_consistency(meso3d::ellipsoid_rec &L)
ADDED for muMech needs.
Definition:
meso3d.cpp:884
meso3d::trans_matrix
Definition:
meso3d.h:57
meso3d::trans_matrix::y
point_rec y
Definition:
meso3d.h:60
meso3d::check_ellipsoid_ellipsoid_overlap
int check_ellipsoid_ellipsoid_overlap(ellipsoid_rec *ellipsoid1, ellipsoid_rec *ellipsoid2)
Definition:
meso3d.cpp:10164
meso3d::ellipsoid_rec
Ellipsoid record.
Definition:
meso3d.h:65
meso3d::transfom_ellipsoid_rec
void transfom_ellipsoid_rec(meso3d::ellipsoid_rec &L)
ADDED for muMech needs.
Definition:
meso3d.cpp:948
meso3d::ellipsoid_rec::minor
point_rec minor
Definition:
meso3d.h:70
meso3d::trans_matrix::x
point_rec x
Definition:
meso3d.h:59
meso3d::ellipsoid_rec::pnt02
point_rec pnt02
Definition:
meso3d.h:74
meso3d::ellipsoid_rec::min
double min
Definition:
meso3d.h:71
meso3d::ellipsoid_rec::id
int id
Definition:
meso3d.h:67
meso3d
Definition:
meso3d.cpp:50
meso3d::ellipsoid_rec::center
point_rec center
Definition:
meso3d.h:69
meso3d::ellipsoid_rec::pnt22
point_rec pnt22
Definition:
meso3d.h:76
meso3d::point_rec::y
double y
Definition:
meso3d.h:53
meso3d::ellipsoid_rec::region
int region
Definition:
meso3d.h:77
meso3d::ellipsoid_rec::property
int property
Definition:
meso3d.h:73
meso3d::point_rec::x
double x
Definition:
meso3d.h:52
meso3d::ellipsoid_rec::internal_msz
double internal_msz
Definition:
meso3d.h:72
meso3d::point_rec
Point record.
Definition:
meso3d.h:50
meso3d::point_rec::z
double z
Definition:
meso3d.h:54
meso3d::trans_matrix::z
point_rec z
Definition:
meso3d.h:61
meso3d::ellipsoid_rec::pnt12
point_rec pnt12
Definition:
meso3d.h:75
This reference manual is part of the
muMECH
documentation. Generated on Wed Feb 24 2016 22:50:07 for muMECH by
1.8.11.