Repository navigation
Conversation
… unit cube with closed tags, refined K times) and hcube_hex N K, configurations hmg_<krylov>[_lagN][_degK][_rngA][_lu|_mumps] (HyperFEM's HMultigridSolver with a coarse GAMG V-cycle), run_s4b.sh
… 0.45 by default, 1.5 for ν = 0.3); run_s4b.sh tetl/hexl modes
…on a refined Cartesian hierarchy) and fshmg_<split>[_lagN][_lu] (FieldSplitSolver with one h-multigrid V-cycle per block); run_s4b.sh em mode
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Benchmark-only changes for S4-B (HyperFEM's
HMultigridSolver, branchs4b-hmultigrid): the cases that build aMeshHierarchyand the solver configurations measured against CG + GAMG. No change insrc/.Branch
s4b-benchonmain, 3 commits (0103492, 8f1a559, 0b2b3e3). Measurements indesign/solvers-s4b-status.md.What changes
benchmark/solvers/cases.jl:hcube_hex N K [λ]: N³ Cartesian hexahedra of the unit cube refined K times.hcube_tet H K [λ]: Gmsh tetrahedra of the unit cube with mesh size H, physical groupsfixedup(x = 0) andtopsuf(x = 1) tagged with their closure (edges and vertices), refined K times. The hierarchy requires the same closed
Dirichlet boundary on every level.
mech_casetakes the λ of the neo-Hookean law (λ = 10, ν = 0.45, is the default ofmech_cube;1.5gives ν = 0.3).The mechanics are those of
mech_cube: clamped at x = 0, sheared 0.1 at x = 1, 5 load steps, order 1.hem_plate_c n k: the EM plate 8 × 0.8 × 40 as (7n, 2n, 19n) Cartesian hexahedra refined k times, clamped at z = 0,electrodes on y = 0 (φ = 0) and y = 0.8 (φ = 0.2, the field of
em_plate_c) with u_y = 0 on both (closed tags inheritedby every level); carries the hierarchy and the test-space builders of the two fields.
benchmark/solvers/krylov.jl: configurationshmg_<krylov>[_lagN][_degK][_rngA][_lu|_mumps]—HMultigridSolverwith CG orGMRES,
reuse = N, Chebyshev degree K, range A, coarsest level by LU, MUMPS or (default) one GAMG V-cycle with the rigidmodes of the coarse space (
PETScSolver(:preonly, :gamg; nullspace = near_nullspace(coarse trial space))).fshmg_<split>[_lagN][_lu](S4-B step 5): HyperFEM'sFieldSplitSolverwith one h-multigrid V-cycle per block (coarse GAMG per block,or LU), against S2's
fs_additiveon the same fine mesh.benchmark/solvers/run_s4b.sh: modestet,hex(ν = 0.45),tetl,hexl(ν = 0.3) andem(hem_plate_c).Results (our measurement: Mac M5 Max, 6 Julia threads, PETSc serial, Krylov rtol 1e-10, Newton rtol 1e-8; HyperFEM
ab24cd8)Seconds per Newton iteration (CG iterations per Newton iteration), ν = 0.45, same Newton trajectory in every run:
cg_gamghmg_cg_lag3hcube_hex 4 4(5 levels)hcube_tet 0.15 3(4 levels)hcube_tet 0.12 3(4 levels)EM plate (u, φ), GMRES:
hem_plate_c 1 3(555k)fs_additive10.14 (97.5),fshmg_additive_lag34.09 (55.8),fshmg_schur_lag33.33 (49.9): ×2.5–3.0;hem_plate_c 1 2(71k) 0.84 vs 0.71: ×1.2.Requires HyperFEM with
HMultigridSolver(branchs4b-hmultigrid; the benchmark environment develops../HyperFEM.jl).