feec.multipatch.utils_conga_2d#
Functions#
|
|
|
|
|
|
|
Compute the change of basis matrices K0 and K0^{-1} in V0h. |
|
Compute the change of basis matrices K1 and K1^{-1} in Hcurl space V1h. |
|
v, v_ref: FemField M_m: mass matrix in scipy format |
|
|
|
return orthogonal projection of E on V1h, given M1 the mass matrix |
|
write diagnostics to file |
Classes#

|
Class storing: |
Details#
- get_K0_and_K0_inv(V0h, uniform_patches=False)[source]#
Compute the change of basis matrices K0 and K0^{-1} in V0h.
With K0_ij = sigma^0_i(B_j) = B_jx(n_ix) * B_jy(n_iy) where sigma_i is the geometric (interpolation) dof and B_j is the tensor-product B-spline
- get_K1_and_K1_inv(V1h, uniform_patches=False)[source]#
Compute the change of basis matrices K1 and K1^{-1} in Hcurl space V1h.
With K1_ij = sigma^1_i(B_j) = int_{e_ix}(M_jx) * B_jy(n_iy) if i = horizontal edge [e_ix, n_iy] and j = (M_jx o B_jy) x-oriented MoB spline or = B_jx(n_ix) * int_{e_iy}(M_jy) if i = vertical edge [n_ix, e_iy] and j = (B_jx o M_jy) y-oriented BoM spline (above, ‘o’ denotes tensor-product for functions)
- ortho_proj_Hcurl(EE, V1h, domain_h, M1, backend_language='python')[source]#
return orthogonal projection of E on V1h, given M1 the mass matrix
- class DiagGrid(mappings=None, N_diag=None)[source]#
Bases:
object
- Class storing:
a diagnostic cell-centered grid
writing / quadrature utilities
a ref solution
to compare solutions from different FEM spaces on same domain