18class PiecewiseLinearInterpolation;
26class LocalToGlobalIndexMap;
31namespace TwoPhaseFlowWithPP
45 std::unique_ptr<AbstractJacobianAssembler>&& jacobian_assembler,
46 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
48 unsigned const integration_order,
49 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
54 bool isLinear()
const override {
return false; }
59 MeshLib::Mesh const& mesh,
unsigned const integration_order)
override;
62 std::vector<GlobalVector*>
const& x,
63 std::vector<GlobalVector*>
const& x_prev,
68 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
69 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
74 std::vector<std::unique_ptr<TwoPhaseFlowWithPPLocalAssemblerInterface>>
Global vector based on Eigen vector.
Handles configuration of several secondary variables from the project file.
A class to simulate the isothermal two-phase flow process with P-P model in porous media.
bool isLinear() const override
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
std::vector< std::unique_ptr< TwoPhaseFlowWithPPLocalAssemblerInterface > > _local_assemblers
TwoPhaseFlowWithPPProcess(std::string name, MeshLib::Mesh &mesh, std::unique_ptr< AbstractJacobianAssembler > &&jacobian_assembler, std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, unsigned const integration_order, std::vector< std::vector< std::reference_wrapper< ProcessVariable > > > &&process_variables, TwoPhaseFlowWithPPProcessData &&process_data, SecondaryVariableCollection &&secondary_variables)
TwoPhaseFlowWithPPProcessData _process_data
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