24 const int n_pressure_bases,
25 const std::vector<basis::ElementBases> &bases,
26 const std::vector<basis::ElementBases> &pressure_bases,
27 const std::vector<basis::ElementBases> &gbases,
34 const std::vector<int> &boundary_nodes,
35 const bool use_avg_pressure,
36 const int problem_dim,
38 const Eigen::MatrixXd &rhs,
51 const std::vector<int> &skipping,
53 const int n_pressure_bases,
54 const std::vector<basis::ElementBases> &bases,
55 const std::vector<basis::ElementBases> &gbases,
58 const std::vector<int> &boundary_nodes,
59 const bool use_avg_pressure,
60 const int problem_dim,
63 const Eigen::VectorXd &rhs,
const double grad_norm,
64 std::unique_ptr<polysolve::linear::Solver> &solver,
double &nlres_norm,
void minimize(const int n_bases, const int n_pressure_bases, const std::vector< basis::ElementBases > &bases, const std::vector< basis::ElementBases > &pressure_bases, const std::vector< basis::ElementBases > &gbases, const assembler::Assembler &velocity_stokes_assembler, assembler::NavierStokesVelocity &velocity_assembler, const assembler::MixedAssembler &mixed_assembler, const assembler::Assembler &pressure_assembler, const assembler::AssemblyValsCache &ass_vals_cache, const assembler::AssemblyValsCache &pressure_ass_vals_cache, const std::vector< int > &boundary_nodes, const bool use_avg_pressure, const int problem_dim, const bool is_volume, 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 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 Eigen::VectorXd &rhs, const double grad_norm, std::unique_ptr< polysolve::linear::Solver > &solver, double &nlres_norm, Eigen::VectorXd &x)