OGS
ThermalTwoPhaseFlowWithPPProcess.h
Go to the documentation of this file.
1
11#pragma once
12
15#include "ProcessLib/Process.h"
17
18namespace MeshLib
19{
20class Element;
21class Mesh;
22template <typename PROP_VAL_TYPE>
23class PropertyVector;
24} // namespace MeshLib
25
26namespace ProcessLib
27{
28namespace ThermalTwoPhaseFlowWithPP
29{
44{
45public:
47 std::string name,
48 MeshLib::Mesh& mesh,
49 std::unique_ptr<AbstractJacobianAssembler>&& jacobian_assembler,
50 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
51 parameters,
52 unsigned const integration_order,
53 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
54 process_variables,
56 SecondaryVariableCollection&& secondary_variables);
57
58 bool isLinear() const override { return false; }
59
60private:
62 NumLib::LocalToGlobalIndexMap const& dof_table,
63 MeshLib::Mesh const& mesh, unsigned const integration_order) override;
64
65 void assembleConcreteProcess(const double t, double const dt,
66 std::vector<GlobalVector*> const& x,
67 std::vector<GlobalVector*> const& x_prev,
68 int const process_id, GlobalMatrix& M,
69 GlobalMatrix& K, GlobalVector& b) override;
70
72 const double t, double const dt, std::vector<GlobalVector*> const& x,
73 std::vector<GlobalVector*> const& x_prev, int const process_id,
75 GlobalMatrix& Jac) override;
76
77 void preTimestepConcreteProcess(std::vector<GlobalVector*> const& x,
78 const double t, const double delta_t,
79 const int process_id) override;
80
82
83 std::vector<
84 std::unique_ptr<ThermalTwoPhaseFlowWithPPLocalAssemblerInterface>>
86};
87
88} // namespace ThermalTwoPhaseFlowWithPP
89} // namespace ProcessLib
Definition of the PiecewiseLinearInterpolation class.
Global vector based on Eigen vector.
Definition EigenVector.h:25
std::string const name
Definition Process.h:354
Handles configuration of several secondary variables from the project file.
std::vector< std::unique_ptr< ThermalTwoPhaseFlowWithPPLocalAssemblerInterface > > _local_assemblers
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
void preTimestepConcreteProcess(std::vector< GlobalVector * > const &x, const double t, const double delta_t, const int process_id) override
ThermalTwoPhaseFlowWithPPProcess(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< AbstractJacobianAssembler > &&jacobian_assembler, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const &parameters, unsigned const integration_order, std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > &&process_variables, ThermalTwoPhaseFlowWithPPProcessData &&process_data, SecondaryVariableCollection &&secondary_variables)
void assembleConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b) override
void assembleWithJacobianConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalMatrix &M, GlobalMatrix &K, GlobalVector &b, GlobalMatrix &Jac) override