18class PiecewiseLinearInterpolation;
26class LocalToGlobalIndexMap;
31namespace TwoPhaseFlowWithPrho
43 std::unique_ptr<AbstractJacobianAssembler>&& jacobian_assembler,
44 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const&
46 unsigned const integration_order,
47 std::vector<std::vector<std::reference_wrapper<ProcessVariable>>>&&
52 bool isLinear()
const override {
return false; }
57 MeshLib::Mesh const& mesh,
unsigned const integration_order)
override;
60 std::vector<GlobalVector*>
const& x,
61 std::vector<GlobalVector*>
const& x_prev,
66 const double t,
double const dt, std::vector<GlobalVector*>
const& x,
67 std::vector<GlobalVector*>
const& x_prev,
int const process_id,
72 std::vector<std::unique_ptr<TwoPhaseFlowWithPrhoLocalAssemblerInterface>>
Global vector based on Eigen vector.
Handles configuration of several secondary variables from the project file.
A class to simulate the two-phase flow process with P-rho model in porous media.
TwoPhaseFlowWithPrhoProcess(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, TwoPhaseFlowWithPrhoProcessData &&process_data, SecondaryVariableCollection &&secondary_variables)
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 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
bool isLinear() const override
TwoPhaseFlowWithPrhoProcessData _process_data
std::vector< std::unique_ptr< TwoPhaseFlowWithPrhoLocalAssemblerInterface > > _local_assemblers