| Line | Branch | Decision | Exec | Source |
|---|---|---|---|---|
| 1 | #ifndef SURFACE_HPP | |||
| 2 | #define SURFACE_HPP | |||
| 3 | ||||
| 4 | #include "types.hpp" | |||
| 5 | #include "linalg.hpp" | |||
| 6 | ||||
| 7 | struct Vertices | |||
| 8 | { | |||
| 9 | ||||
| 10 | double x; | |||
| 11 | double y; | |||
| 12 | double z; | |||
| 13 | ||||
| 14 | Vertices(double x1, double y1, double z1) | |||
| 15 | ✗ | { | ||
| 16 | ✗ | x = x1; | ||
| 17 | ✗ | y = y1; | ||
| 18 | ✗ | z = z1; | ||
| 19 | } | |||
| 20 | }; | |||
| 21 | ||||
| 22 | struct BendingOperator | |||
| 23 | { | |||
| 24 | ||||
| 25 | double cos_theta; | |||
| 26 | double sin_theta; | |||
| 27 | ||||
| 28 | Eigen::Vector3d axis; | |||
| 29 | ||||
| 30 | BendingOperator() | |||
| 31 | { | |||
| 32 | cos_theta = 0.0; | |||
| 33 | sin_theta = 0.0; | |||
| 34 | ||||
| 35 | axis << 0.0, 0.0, 0.0; | |||
| 36 | } | |||
| 37 | }; | |||
| 38 | ||||
| 39 | struct SurfaceVector | |||
| 40 | { | |||
| 41 | double x; | |||
| 42 | double y; | |||
| 43 | double z; | |||
| 44 | double angle; | |||
| 45 | double tv_pos; | |||
| 46 | ||||
| 47 | Region* region; | |||
| 48 | ||||
| 49 | SurfaceVector() | |||
| 50 | ✗ | { | ||
| 51 | x = 0.0; | |||
| 52 | y = 0.0; | |||
| 53 | ✗ | z = 0.0; | ||
| 54 | ||||
| 55 | angle = 0.0; | |||
| 56 | ✗ | tv_pos = 0.0; | ||
| 57 | } | |||
| 58 | }; | |||
| 59 | ||||
| 60 | struct ElementList | |||
| 61 | { | |||
| 62 | ||||
| 63 | int mid_point; | |||
| 64 | double length; | |||
| 65 | std::vector<int> nodes; | |||
| 66 | std::vector<int> shared_element; | |||
| 67 | std::vector<int> shared_edge; | |||
| 68 | double edge_3d_angle; | |||
| 69 | Eigen::Vector3d intersection_by_plane; | |||
| 70 | ||||
| 71 | ✗ | ElementList() | ||
| 72 | ✗ | { | ||
| 73 | mid_point = 0; | |||
| 74 | ✗ | length = 0.0; | ||
| 75 | ✗ | edge_3d_angle = 0.0; | ||
| 76 | ✗ | intersection_by_plane << 0.0, 0.0, 0.0; | ||
| 77 | ||||
| 78 |
0/2✗ Decision 'true' not taken.
✗ Decision 'false' not taken.
|
✗ | for (int i = 0; i < 2; i++) | |
| 79 | { | |||
| 80 | ✗ | nodes.push_back(0); | ||
| 81 | ✗ | shared_element.push_back(0); | ||
| 82 | ✗ | shared_edge.push_back(0); | ||
| 83 | } | |||
| 84 | ✗ | } | ||
| 85 | }; | |||
| 86 | ||||
| 87 | #endif // SURFACE_HPP | |||
| 88 |