feec.conforming_projectors#
Functions#
|
Calculate the mass-matrix of a 1d spline-space. |
|
Calculate the mixed mass-matrix of two 1d spline-spaces on the same domain. |
|
Calculate the "mixed mass-matrix" of a 1d spline-space with polynomials. |
|
Compute the matrix of the extension operator on the interface. |
|
Construct the conforming projection for a scalar space for a given regularity (0 continuous, -1 discontinuous). |
|
Construct the conforming projection for a scalar space for a given regularity (0 continuous, -1 discontinuous). |
|
Construct the conforming projection for a vector Hcurl space for a given regularity (0 continuous, -1 discontinuous). |
|
Construct the conforming projection for a single patch vector Hcurl space for a given regularity (0 continuous, -1 discontinuous). |
|
Compute the matrix of the (moment preserving) restriction operator on the interface. |
|
Calculate the coefficients for the one-dimensional moment correction. |
|
Given the domain, extract the vertices on their respective domains with local coordinates. |
|
Calculate the extension and restriction matrices for refining along an interface. |
|
Return the patch index of subdomain/boundary |
|
knot insertion for refinement of a 1d spline space. |
Classes#

|
Conforming projection from global broken V0 space to conforming global V0 space Defined by averaging of interface (including vertex) dofs and adding moment correction terms |
|
Conforming projection from global broken V1 space to conforming V1 global space Defined by averaging of (only) interface dofs and adding moment correction terms |
|
Details#
- class ConformingProjectionV0(V0h, mom_pres=False, p_moments=-1, hom_bc=False)[source]#
Bases:
FemLinearOperator
Conforming projection from global broken V0 space to conforming global V0 space Defined by averaging of interface (including vertex) dofs and adding moment correction terms
- Parameters:
- V0h: <FemSpace>
The discrete space
- p_moments: <int>
Number of polynomial moments to be preserved in the projection.
- hom_bc<bool>
Apply homogenous boundary conditions if True
- class ConformingProjectionV1(V1h, mom_pres=False, p_moments=-1, hom_bc=False)[source]#
Bases:
FemLinearOperator
Conforming projection from global broken V1 space to conforming V1 global space Defined by averaging of (only) interface dofs and adding moment correction terms
- Parameters:
- V1h: <FemSpace>
The discrete space
- p_moments: <int>
Number of polynomial moments to be preserved in the projection.
- hom_bc<bool>
Apply homogenous boundary conditions if True