feec.conforming_projectors#

Functions#

calculate_mass_matrix(space_1d)

Calculate the mass-matrix of a 1d spline-space.

calculate_mixed_mass_matrix(domain_space, ...)

Calculate the mixed mass-matrix of two 1d spline-spaces on the same domain.

calculate_poly_basis_integral(space_1d[, ...])

Calculate the "mixed mass-matrix" of a 1d spline-space with polynomials.

construct_extension_operator_1D(domain, codomain)

Compute the matrix of the extension operator on the interface.

construct_h1_conforming_projection(Vh[, ...])

Construct the conforming projection for a scalar space for a given regularity (0 continuous, -1 discontinuous).

construct_h1_singlepatch_conforming_projection(Vh)

Construct the conforming projection for a scalar space for a given regularity (0 continuous, -1 discontinuous).

construct_hcurl_conforming_projection(Vh[, ...])

Construct the conforming projection for a vector Hcurl space for a given regularity (0 continuous, -1 discontinuous).

construct_hcurl_singlepatch_conforming_projection(Vh)

Construct the conforming projection for a single patch vector Hcurl space for a given regularity (0 continuous, -1 discontinuous).

construct_restriction_operator_1D(...[, ...])

Compute the matrix of the (moment preserving) restriction operator on the interface.

get_1d_moment_correction(space_1d[, p_moments])

Calculate the coefficients for the one-dimensional moment correction.

get_corners(domain, boundary_only)

Given the domain, extract the vertices on their respective domains with local coordinates.

get_extension_restriction(coarse_space_1d, ...)

Calculate the extension and restriction matrices for refining along an interface.

get_patch_index_from_face(domain, face)

Return the patch index of subdomain/boundary

knots_to_insert(coarse_grid, fine_grid[, tol])

knot insertion for refinement of a 1d spline space.

Classes#

Inheritance diagram of psydac.feec.conforming_projectors

ConformingProjectionV0(V0h[, mom_pres, ...])

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

ConformingProjectionV1(V1h[, mom_pres, ...])

Conforming projection from global broken V1 space to conforming V1 global space Defined by averaging of (only) interface dofs and adding moment correction terms

Local2GlobalIndexMap(ndim, n_patches, ...)

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