OGS
JunctionProperty.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <Eigen/Core>
14#include <array>
15
16#include "MeshLib/Node.h"
17
18namespace ProcessLib
19{
20namespace LIE
21{
22struct JunctionProperty final
23{
24 JunctionProperty(int const junction_id_,
25 MeshLib::Node const& junctionNode,
26 std::array<int, 2> const fracture_ids_)
27 : coords{junctionNode.data()},
28 node_id{junctionNode.getID()},
29 fracture_ids{fracture_ids_},
30 junction_id{junction_id_}
31 {
32 }
33 Eigen::Vector3d const coords;
34 std::size_t const node_id;
35 std::array<int, 2> const fracture_ids;
36 int const junction_id;
37
38 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
39};
40
41} // namespace LIE
42} // namespace ProcessLib
Definition of the Node class.
JunctionProperty(int const junction_id_, MeshLib::Node const &junctionNode, std::array< int, 2 > const fracture_ids_)
std::array< int, 2 > const fracture_ids