OGS
CreateHMPhaseFieldProcess.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 <map>
7#include <memory>
8#include <optional>
9#include <string>
10#include <vector>
11
12namespace BaseLib
13{
14class ConfigTree;
15}
16namespace MaterialPropertyLib
17{
18class Medium;
19}
20namespace MeshLib
21{
22class Mesh;
23}
24namespace ParameterLib
25{
26struct CoordinateSystem;
27struct ParameterBase;
28} // namespace ParameterLib
29namespace ProcessLib
30{
32class Process;
33class ProcessVariable;
34} // namespace ProcessLib
35
36namespace ProcessLib
37{
38namespace HMPhaseField
39{
40template <int DisplacementDim>
41std::unique_ptr<Process> createHMPhaseFieldProcess(
42 std::string name, MeshLib::Mesh& mesh,
43 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
44 std::vector<ProcessVariable> const& variables,
45 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
46 std::optional<ParameterLib::CoordinateSystem> const&
47 local_coordinate_system,
48 unsigned const integration_order, BaseLib::ConfigTree const& config,
49 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media);
50
51extern template std::unique_ptr<Process> createHMPhaseFieldProcess<2>(
52 std::string name, MeshLib::Mesh& mesh,
53 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
54 std::vector<ProcessVariable> const& variables,
55 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
56 std::optional<ParameterLib::CoordinateSystem> const&
57 local_coordinate_system,
58 unsigned const integration_order, BaseLib::ConfigTree const& config,
59 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media);
60
61extern template std::unique_ptr<Process> createHMPhaseFieldProcess<3>(
62 std::string name, MeshLib::Mesh& mesh,
63 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&& jacobian_assembler,
64 std::vector<ProcessVariable> const& variables,
65 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const& parameters,
66 std::optional<ParameterLib::CoordinateSystem> const&
67 local_coordinate_system,
68 unsigned const integration_order, BaseLib::ConfigTree const& config,
69 std::map<int, std::shared_ptr<MaterialPropertyLib::Medium>> const& media);
70} // namespace HMPhaseField
71} // namespace ProcessLib
Base class for Jacobian assemblers.
template std::unique_ptr< Process > createHMPhaseFieldProcess< 3 >(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config, std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
template std::unique_ptr< Process > createHMPhaseFieldProcess< 2 >(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config, std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
std::unique_ptr< Process > createHMPhaseFieldProcess(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::AbstractJacobianAssembler > &&jacobian_assembler, std::vector< ProcessVariable > const &variables, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, std::optional< ParameterLib::CoordinateSystem > const &local_coordinate_system, unsigned const integration_order, BaseLib::ConfigTree const &config, std::map< int, std::shared_ptr< MaterialPropertyLib::Medium > > const &media)
A local coordinate system used for tensor transformations.