OGS
BranchProperty.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <Eigen/Core>
14
15#include "MeshLib/Node.h"
16
17namespace ProcessLib
18{
19namespace LIE
20{
21struct BranchProperty final
22{
23 BranchProperty(MeshLib::Node const& branchNode,
24 int const master_fracture_id_,
25 int const slave_fracture_id_)
26 : coords{branchNode.data()},
27 node_id{branchNode.getID()},
28 master_fracture_id{master_fracture_id_},
29 slave_fracture_id{slave_fracture_id_}
30 {
31 }
32
33 Eigen::Vector3d const coords;
34 // unit vector normal to the master fracture in a direction to the slave
35 Eigen::Vector3d normal_vector_branch;
36 std::size_t const node_id;
39
40 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
41};
42
43} // namespace LIE
44} // namespace ProcessLib
Definition of the Node class.
Eigen::Vector3d const coords
BranchProperty(MeshLib::Node const &branchNode, int const master_fracture_id_, int const slave_fracture_id_)