sfepy.discrete.iga.mappings module

Reference mappings for isogeometric analysis.

class sfepy.discrete.iga.mappings.IGMapping(domain, cells, nurbs=None)[source]

Reference mapping for isogeometric analysis based on Bezier extraction.

Parameters:
domainIGDomain instance

The mapping domain.

cellsarray

The mapping region cells. (All domain cells required.)

nurbsNurbsPatch instance, optional

If given, the nurbs is used instead of domain.nurbs. The nurbs has to be obtained by degree elevation of domain.nurbs.

get_geometry()[source]

Return reference element geometry as a GeometryElement instance.

get_mapping(qp_coors, weights)[source]

Get the mapping for given quadrature points and weights.

Returns:
cmapCMapping instance

The reference mapping.

Notes

Does not set total volume of the C mapping structure!

get_physical_qps(qp_coors)[source]

Get physical quadrature points corresponding to given reference Bezier element quadrature points.

Returns:
qpsarray

The physical quadrature points ordered element by element, i.e. with shape (n_el, n_qp, dim).