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,
74 GlobalVector& b, GlobalMatrix& Jac) override;
75
76 void preTimestepConcreteProcess(std::vector<GlobalVector*> const& x,
77 const double t, const double delta_t,
78 const int process_id) override;
79
81
82 std::vector<
83 std::unique_ptr<ThermalTwoPhaseFlowWithPPLocalAssemblerInterface>>
85
87};
88
89} // namespace ThermalTwoPhaseFlowWithPP
90} // namespace ProcessLib
Definition of the PiecewiseLinearInterpolation class.
Global vector based on Eigen vector.
Definition EigenVector.h:25
std::string const name
Definition Process.h:362
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 assembleWithJacobianConcreteProcess(const double t, double const dt, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, int const process_id, GlobalVector &b, GlobalMatrix &Jac) override
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
Writes global matrices to disk for debugging purposes.