From 6ecb5a72638f4acbc05bb2678ffcb8304c3dedc7 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Fri, 15 Jan 2016 18:24:39 +0100
Subject: [PATCH] [PL] Standalone DirichletBc class.

---
 ProcessLib/DirichletBc.h | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 ProcessLib/DirichletBc.h

diff --git a/ProcessLib/DirichletBc.h b/ProcessLib/DirichletBc.h
new file mode 100644
index 00000000000..d882b9c7916
--- /dev/null
+++ b/ProcessLib/DirichletBc.h
@@ -0,0 +1,31 @@
+/**
+ * \copyright
+ * Copyright (c) 2012-2016, OpenGeoSys Community (http://www.opengeosys.org)
+ *            Distributed under a Modified BSD License.
+ *              See accompanying file LICENSE.txt or
+ *              http://www.opengeosys.org/project/license
+ *
+ */
+
+#ifndef PROCESS_LIB_DIRICHLETBC_H
+#define PROCESS_LIB_DIRICHLETBC_H
+
+#include <vector>
+
+#include "MeshLib/MeshSearch/NodeSearch.h"
+
+namespace ProcessLib
+{
+
+/// A dirichlet boundary condition is represented by a list of global indices
+/// with corresponding values.
+template <typename IndexType>
+struct DirichletBc final
+{
+	std::vector<IndexType> global_ids;
+	std::vector<double> values;
+};
+
+}  // namespace ProcessLib
+
+#endif  // PROCESS_LIB_DIRICHLETBC_H
-- 
GitLab