OGS
DirichletBoundaryConditionAuxiliaryFunctions.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
10#pragma once
11
12#include <vector>
13
15
16namespace MeshLib
17{
18class Mesh;
19class Node;
20} // namespace MeshLib
21
22namespace NumLib
23{
25template <typename>
26struct IndexValueVector;
27} // namespace NumLib
28
29namespace ParameterLib
30{
31template <typename T>
32struct Parameter;
33}
34
35namespace ProcessLib
36{
38 MeshLib::Mesh const& bc_mesh,
39 NumLib::LocalToGlobalIndexMap const& dof_table_bulk,
40 int const variable_id,
41 int const component_id);
42
44 ParameterLib::Parameter<double> const& parameter,
45 MeshLib::Mesh const& bc_mesh,
46 NumLib::LocalToGlobalIndexMap const& dof_table_boundary,
47 int const variable_id, int const component_id, const double t,
48 GlobalVector const& x,
49 NumLib::IndexValueVector<GlobalIndexType>& bc_values);
50
52 ParameterLib::Parameter<double> const& parameter,
53 MeshLib::Mesh const& bc_mesh,
54 std::vector<std::size_t> const& nodes_in_bc_mesh,
55 NumLib::LocalToGlobalIndexMap const& dof_table_boundary,
56 int const variable_id, int const component_id, const double t,
57 GlobalVector const& x,
58 NumLib::IndexValueVector<GlobalIndexType>& bc_values);
59} // namespace ProcessLib
MathLib::EigenVector GlobalVector
void getEssentialBCValuesLocal(ParameterLib::Parameter< double > const &parameter, MeshLib::Mesh const &bc_mesh, std::vector< std::size_t > const &nodes_in_bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_boundary, int const variable_id, int const component_id, const double t, GlobalVector const &, NumLib::IndexValueVector< GlobalIndexType > &bc_values)
void checkParametersOfDirichletBoundaryCondition(MeshLib::Mesh const &bc_mesh, NumLib::LocalToGlobalIndexMap const &dof_table_bulk, int const variable_id, int const component_id)