Poisson_problem_h.py¶
In this script, we implement the hMSEM for the Poisson problem with a manufactured solution in the crazy_mesh.
⭕ To access the source code, click on the [source] button at the right
side or click on
[Poisson_problem_h.py]
.
Dependence may exist. In case of error, check import and install required
packages or download required scripts. © mathischeap.com
- Poisson_problem_h.Poisson_h(K, N, c, save=False)[source]¶
- Parameters:
K (int) – We use a crazy mesh of
elements. The domain decomposition is based on this crazy mesh.
N (int) – We use mimetic polynomials of degree
.
c (float) – The deformation factor of the crazy mesh is
.
save – Bool. If we save the coefficients of the variables.
- Returns:
A tuple of several outputs:
The
of solution
.
The
of solution
.
The
of solution
.
The
of the projection,
.
The
of
.
The
of
.
- Example:
>>> K = 2 >>> N = 3 >>> c = 0 >>> Poisson_h(K, N, c) hMSEM L^2-error of u^h: 0.153538250...
↩️ Back to Ph.D. thesis complements (ptc).