Go to the source code of this file.
◆ _commute_lsc()
_commute_lsc |
( |
getParam< bool > |
"commute_lsc" | ) |
|
◆ _have_L_matrix()
_have_L_matrix |
( |
!_L_matrix. |
empty() | ) |
|
◆ _have_mass_matrix()
_have_mass_matrix |
( |
!_mass_matrix. |
empty() | ) |
|
◆ _L_matrix()
_L_matrix |
( |
getParam< TagName > |
"L_matrix" | ) |
|
◆ _mass_matrix()
_mass_matrix |
( |
getParam< TagName > |
"mass_matrix" | ) |
|
◆ _pressure_mass_matrix_as_pre()
_pressure_mass_matrix_as_pre |
( |
getParam< bool > |
"use_pressure_mass_matrix" | ) |
|
◆ _schur_fs_index()
_schur_fs_index |
( |
getParam< std::vector< unsigned int >> |
"schur_fs_index" | ) |
|
Definition at line 60 of file NavierStokesProblem.C.
65 paramError(
"mass_matrix",
66 "A pressure mass matrix must be provided if we are commuting the LSC commutator.");
68 paramError(
"L_matrix",
69 "A matrix corresponding to the viscous component of the momentum equation must be " 70 "provided if we are commuting the LSC commutator.");
73 paramError(
"L_matrix",
74 "If not commuting the LSC commutator, then the 'L_matrix' should not be provided " 75 "because it will not be used. For Elman LSC preconditioning, L will be computed " 76 "automatically using system matrix data (e.g. the off-diagonal blocks in the " 77 "velocity-pressure system).");
80 paramError(
"mass_matrix",
81 "If 'use_pressure_mass_matrix', then a pressure 'mass_matrix' must be provided");
_have_L_matrix(!_L_matrix.empty())
_commute_lsc(getParam< bool >("commute_lsc"))
_have_mass_matrix(!_mass_matrix.empty())
_pressure_mass_matrix_as_pre(getParam< bool >("use_pressure_mass_matrix"))
◆ navierStokesKSPPreSolve()
PetscErrorCode navierStokesKSPPreSolve |
( |
KSP |
root_ksp, |
|
|
Vec |
, |
|
|
Vec |
, |
|
|
void * |
context |
|
) |
| |
Definition at line 342 of file NavierStokesProblem.C.
Referenced by NavierStokesProblem::initPetscOutputAndSomeSolverSettings().
348 auto schur_ksp = ns_problem->findSchurKSP(root_ksp, 0);
349 ns_problem->setupLSCMatrices(schur_ksp);
void clearIndexSets()
Clear the field split index sets.
A problem that handles Schur complement preconditioning of the incompressible Navier-Stokes equations...
PetscFunctionReturn(LIBMESH_PETSC_SUCCESS)
◆ registerMooseObject()