OGS
AnalyticalJacobianAssembler.cpp
Go to the documentation of this file.
1
12
14
15namespace ProcessLib
16{
18 LocalAssemblerInterface& local_assembler, double const t, double const dt,
19 std::vector<double> const& local_x, std::vector<double> const& local_x_prev,
20 std::vector<double>& local_b_data, std::vector<double>& local_Jac_data)
21{
22 local_assembler.assembleWithJacobian(t, dt, local_x, local_x_prev,
23 local_b_data, local_Jac_data);
24}
25
27 LocalAssemblerInterface& local_assembler, double const t, double const dt,
28 Eigen::VectorXd const& local_x, Eigen::VectorXd const& local_x_prev,
29 int const process_id, std::vector<double>& local_b_data,
30 std::vector<double>& local_Jac_data)
31{
33 t, dt, local_x, local_x_prev, process_id, local_b_data, local_Jac_data);
34}
35
36std::unique_ptr<AbstractJacobianAssembler> AnalyticalJacobianAssembler::copy()
37 const
38{
39 return std::make_unique<AnalyticalJacobianAssembler>(*this);
40}
41
42} // namespace ProcessLib
void assembleWithJacobianForStaggeredScheme(LocalAssemblerInterface &local_assembler, double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) override
void assembleWithJacobian(LocalAssemblerInterface &local_assembler, double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) override
std::unique_ptr< AbstractJacobianAssembler > copy() const override
virtual void assembleWithJacobian(double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data)
virtual void assembleWithJacobianForStaggeredScheme(double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data)