OGS
BranchProperty.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <Eigen/Core>
7
8
#include "
MeshLib/Node.h
"
9
10
namespace
ProcessLib
11
{
12
namespace
LIE
13
{
14
struct
BranchProperty
final
15
{
16
BranchProperty
(
MeshLib::Node
const
& branchNode,
17
int
const
master_fracture_id_,
18
int
const
slave_fracture_id_)
19
:
coords
{branchNode.data()},
20
node_id
{branchNode.getID()},
21
master_fracture_id
{master_fracture_id_},
22
slave_fracture_id
{slave_fracture_id_}
23
{
24
}
25
26
Eigen::Vector3d
const
coords
;
27
// unit vector normal to the master fracture in a direction to the slave
28
Eigen::Vector3d
normal_vector_branch
;
29
std::size_t
const
node_id
;
30
int
const
master_fracture_id
;
31
int
const
slave_fracture_id
;
32
33
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
34
};
35
36
}
// namespace LIE
37
}
// namespace ProcessLib
Node.h
MeshLib::Node
Definition
Node.h:21
ProcessLib::LIE
Definition
BranchProperty.h:13
ProcessLib
Definition
ProjectData.h:40
ProcessLib::LIE::BranchProperty::slave_fracture_id
int const slave_fracture_id
Definition
BranchProperty.h:31
ProcessLib::LIE::BranchProperty::coords
Eigen::Vector3d const coords
Definition
BranchProperty.h:26
ProcessLib::LIE::BranchProperty::normal_vector_branch
Eigen::Vector3d normal_vector_branch
Definition
BranchProperty.h:28
ProcessLib::LIE::BranchProperty::BranchProperty
BranchProperty(MeshLib::Node const &branchNode, int const master_fracture_id_, int const slave_fracture_id_)
Definition
BranchProperty.h:16
ProcessLib::LIE::BranchProperty::node_id
std::size_t const node_id
Definition
BranchProperty.h:29
ProcessLib::LIE::BranchProperty::master_fracture_id
int const master_fracture_id
Definition
BranchProperty.h:30
ProcessLib
LIE
Common
BranchProperty.h
Generated by
1.14.0