OGS
RichardsFlowProcess.h
Go to the documentation of this file.
1
11#pragma once
12
14#include "ProcessLib/Process.h"
15#include "RichardsFlowFEM.h"
17
18namespace ProcessLib
19{
20namespace RichardsFlow
21{
22class RichardsFlowProcess final : public Process
23{
24public:
26 std::string name,
27 MeshLib::Mesh& mesh,
28 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
29 jacobian_assembler,
30 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
31 parameters,
32 unsigned const integration_order,
33 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
34 process_variables,
35 RichardsFlowProcessData&& process_data,
36 SecondaryVariableCollection&& secondary_variables);
37
40
41 bool isLinear() const override { return false; }
43
44private:
46 NumLib::LocalToGlobalIndexMap const& dof_table,
47 MeshLib::Mesh const& mesh,
48 unsigned const integration_order) override;
49
50 void assembleConcreteProcess(const double t, double const dt,
51 std::vector<GlobalVector*> const& x,
52 std::vector<GlobalVector*> const& x_prev,
53 int const process_id, GlobalMatrix& M,
54 GlobalMatrix& K, GlobalVector& b) override;
55
57 const double t, double const dt, std::vector<GlobalVector*> const& x,
58 std::vector<GlobalVector*> const& x_prev, int const process_id,
59 GlobalVector& b, GlobalMatrix& Jac) override;
60
62
63 std::vector<std::unique_ptr<RichardsFlowLocalAssemblerInterface>>
65};
66
67} // namespace RichardsFlow
68} // namespace ProcessLib
Global vector based on Eigen vector.
Definition EigenVector.h:25
std::string const name
Definition Process.h:362
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 initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
RichardsFlowProcess(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< ProcessLib::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, RichardsFlowProcessData &&process_data, SecondaryVariableCollection &&secondary_variables)
std::vector< std::unique_ptr< RichardsFlowLocalAssemblerInterface > > _local_assemblers
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
Handles configuration of several secondary variables from the project file.