Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hyteg
hyteg
Commits
018f685d
Commit
018f685d
authored
Jan 13, 2022
by
Marcel Koch
Browse files
small multigridstudies refactor
parent
f44b7f2c
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
apps/MultigridStudies/MultigridStudies.cpp
View file @
018f685d
This diff is collapsed.
Click to expand it.
apps/MultigridStudies/MultigridStudies.prm
View file @
018f685d
...
...
@@ -60,10 +60,12 @@ Parameters
discretization P2;
numCycles
0
;
numCycles
1
;
cycleType V;
fmgInnerCycles 0; // 0 == no fmg
benchmarkSPMV false;
// CRISSCROSS: ~0.4
// CRISS: : P1: ? , P2: ~0.72
sorRelax 0.3;
...
...
@@ -80,7 +82,7 @@ Parameters
postSmoothingSteps 3;
smoothingIncrement 2;
minLevel 0;
maxLevel
1
; // P1 level, P2 level is automatically reduced by 1
maxLevel
2
; // P1 level, P2 level is automatically reduced by 1
skipCyclesForAvgConvRate 0;
L2residualTolerance 1e-16;
projectPressureAfterRestriction false;
...
...
@@ -94,13 +96,14 @@ Parameters
// 3: pressure preconditioned MINRES (HyTeG)
// 4: SuperLU (dist) (PETSc)
coarseGridSolverType 1;
coarseGridSolverVerbose true;
// for solver type 1:
// 0: PCGAMG
// 1: PCJACOBI
// 2: Schur complement
// 3: HYPRE
coarseGridSolverVelocityPreconditionerType
1
;
coarseGridSolverVelocityPreconditionerType
0
;
// BLR options for MUMPS
blockLowRank true;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment