Reference-physical domain mappings.
Base class for mappings.
Create mapping from reference to physical entities in a given region, given the integration kind (‘v’ or ‘s’).
This mapping can be used to compute the physical quadrature points.
Parameters: | region : Region instance
kind : ‘v’ or ‘s’
ig : int, optional
|
---|---|
Returns: | mapping : VolumeMapping or SurfaceMapping instance
|
Physical quadrature points in a region.
Get the jacobian of reference mapping corresponding to field.
Parameters: | field : Field instance
integral : Integral instance
region : Region instance, optional
integration : one of (‘volume’, ‘surface’, ‘surface_extra’)
|
---|---|
Returns: | jac : array
|
See also
Notes
Assumes the same element geometry in all element groups of the field!
General helper function for accessing reference mapping data.
Get data attribute name from reference mapping corresponding to field in region in quadrature points of the given integral and integration type.
Parameters: | name : str
field : Field instance
integral : Integral instance
region : Region instance, optional
integration : one of (‘volume’, ‘surface’, ‘surface_extra’)
|
---|---|
Returns: | data : array
|
Notes
Assumes the same element geometry in all element groups of the field!
Get the normals of element faces in region.
Parameters: | field : Field instance
integral : Integral instance
region : Region instance
|
---|---|
Returns: | normals : array
|
See also
Notes
Assumes the same element geometry in all element groups of the field!