24 const int n_pressure_bases,
26 const std::vector<basis::ElementBases> &bases,
27 const std::vector<basis::ElementBases> &gbases,
30 const std::vector<int> &boundary_nodes,
31 const bool use_avg_pressure,
32 const int problem_dim,
34 const double beta_dt,
const Eigen::VectorXd &prev_sol,
37 const Eigen::MatrixXd &rhs, Eigen::VectorXd &
x);
47 const std::vector<int> &skipping,
49 const int n_pressure_bases,
51 const std::vector<basis::ElementBases> &bases,
52 const std::vector<basis::ElementBases> &gbases,
55 const std::vector<int> &boundary_nodes,
56 const bool use_avg_pressure,
57 const int problem_dim,
61 const Eigen::VectorXd &rhs,
const double grad_norm,
62 std::unique_ptr<polysolve::linear::Solver> &solver,
double &nlres_norm,
void minimize(const int n_bases, const int n_pressure_bases, const double t, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &gbases, assembler::NavierStokesVelocity &velocity_assembler, const assembler::AssemblyValsCache &ass_vals_cache, const std::vector< int > &boundary_nodes, const bool use_avg_pressure, const int problem_dim, const bool is_volume, const double beta_dt, const Eigen::VectorXd &prev_sol, const StiffnessMatrix &velocity_stiffness, const StiffnessMatrix &mixed_stiffness, const StiffnessMatrix &pressure_stiffness, const StiffnessMatrix &velocity_mass1, const Eigen::MatrixXd &rhs, Eigen::VectorXd &x)
int minimize_aux(const bool is_picard, const std::vector< int > &skipping, const int n_bases, const int n_pressure_bases, const double t, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &gbases, assembler::NavierStokesVelocity &velocity_assembler, const assembler::AssemblyValsCache &ass_vals_cache, const std::vector< int > &boundary_nodes, const bool use_avg_pressure, const int problem_dim, const bool is_volume, const StiffnessMatrix &velocity_stiffness, const StiffnessMatrix &mixed_stiffness, const StiffnessMatrix &pressure_stiffness, const StiffnessMatrix &velocity_mass, const Eigen::VectorXd &rhs, const double grad_norm, std::unique_ptr< polysolve::linear::Solver > &solver, double &nlres_norm, Eigen::VectorXd &x)