-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrack_generator.h
executable file
·50 lines (46 loc) · 1.07 KB
/
crack_generator.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*!
* \file crack_generator.h
* Author: Stephan Grein
*/
#ifndef UG__PLUGINS__CRACK_GENERATOR__CRACK_GENERATOR_H
#define UG__PLUGINS__CRACK_GENERATOR__CRACK_GENERATOR_H
#include <common/types.h>
namespace ug {
namespace crack_generator {
/*!
* \brief builds a complex crack geometry
* \param[in] crackInnerLength
* \param[in] innerThickness
* \param[in] crackOuterLength
* \param[in] angle
*/
void BuildCompleteCrack
(
number crackInnerLength,
number innerThickness,
number crackOuterLength,
number angle
);
/*!
* \brief builds a simple crack geometry
* \param[in] height of cuboid
* \param[in] width of cuboid
* \param[in] depth of cuboid
* \param[in] thickness of one briding domain
* \param[in] spacing the size of the MD domain
* \param[in] h finess of grid
* \param[in] r_0 lattice constant
*/
void BuildSimpleCrack
(
number height,
number width,
number depth,
number thickness,
number spacing,
number h,
number r_0
);
}
}
#endif /// UG__PLUGINS__CRACK_GENERATOR__CRACK_GENERATOR_H