KSTOK
We propose a fast MATLAB implementation of the mini-element (i.e. P 1-Bubble/P 1)
for the finite element approximation of the generalized Stokes equation in 2D and
3D. We use cell arrays to derive vectorized assembling functions. We also propose
a Uzawa conjugate gradient method as an iterative solver for the global Stokes sys-
tem. Numerical experiments show that our implementation has an (almost) optimal
time-scaling. For 3D problems, the proposed Uzawa conjugate gradient algorithm
outperforms MATLAB built-in linear solvers.
Cite As
Jonas Koko (2026). KSTOK (https://se.mathworks.com/matlabcentral/fileexchange/70996-kstok), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > Domain-Specific Modeling > Structural Mechanics >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
