OGS
RichardsComponentTransportProcess.h
Go to the documentation of this file.
1
11#pragma once
12
14#include "ProcessLib/Process.h"
17
18namespace ProcessLib
19{
20namespace RichardsComponentTransport
21{
103{
104public:
106 std::string name,
107 MeshLib::Mesh& mesh,
108 std::unique_ptr<ProcessLib::AbstractJacobianAssembler>&&
109 jacobian_assembler,
110 std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
111 parameters,
112 unsigned const integration_order,
113 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
114 process_variables,
116 SecondaryVariableCollection&& secondary_variables,
117 bool const use_monolithic_scheme);
118
121
122 bool isLinear() const override { return false; }
124
125private:
127 NumLib::LocalToGlobalIndexMap const& dof_table,
128 MeshLib::Mesh const& mesh,
129 unsigned const integration_order) override;
130
131 void assembleConcreteProcess(const double t, double const dt,
132 std::vector<GlobalVector*> const& x,
133 std::vector<GlobalVector*> const& x_prev,
134 int const process_id, GlobalMatrix& M,
135 GlobalMatrix& K, GlobalVector& b) override;
136
138 const double t, double const dt, std::vector<GlobalVector*> const& x,
139 std::vector<GlobalVector*> const& x_prev, int const process_id,
141 GlobalMatrix& Jac) override;
142
144
145 std::vector<
146 std::unique_ptr<RichardsComponentTransportLocalAssemblerInterface>>
148};
149
150} // namespace RichardsComponentTransport
151} // namespace ProcessLib
Global vector based on Eigen vector.
Definition EigenVector.h:25
std::string const name
Definition Process.h:354
void initializeConcreteProcess(NumLib::LocalToGlobalIndexMap const &dof_table, MeshLib::Mesh const &mesh, unsigned const integration_order) override
Process specific initialization called by initialize().
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
std::vector< std::unique_ptr< RichardsComponentTransportLocalAssemblerInterface > > _local_assemblers
RichardsComponentTransportProcess(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, RichardsComponentTransportProcessData &&process_data, SecondaryVariableCollection &&secondary_variables, bool const use_monolithic_scheme)
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
Handles configuration of several secondary variables from the project file.