Fields for isogeometric analysis.
Bezier extraction based NURBS field for isogeometric analysis.
Notes
The field has to cover the whole IGA domain. The field’s NURBS basis can have higher degree than the domain NURBS basis.
Convert the DOFs corresponding to the field to a dictionary of output data usable by Mesh.write().
Parameters: | dofs : array, shape (n_nod, n_component)
var_name : str
dof_names : tuple of str
key : str, optional
|
---|---|
Returns: | out : dict
|
Get element data dimensions.
Parameters: | ig : int
integral : Integral instance
integration : ‘volume’, ‘plate’, ‘surface’, ‘surface_extra’ or ‘point’
region_name : str
|
---|---|
Returns: | data_shape : 4 ints
|
Notes
Return indices of DOFs that belong to the given region and group.
Notes
ig, merge are not used.
Get DOF connectivity of the given type in the given region.
Set the values of DOFs given by the region using a function of space coordinates or value fun.
If fun is a function, the l2 projection that is global for all region facets is used to set the DOFs.
If dpn > 1, and fun is a function, it has to return the values DOF-by-DOF, i.e. a single one-dimensional vector with all values of the first component, then of the second one etc. concatenated together.
Parameters: | fun : float or array of length dpn or callable
region : Region
dpn : int, optional
warn : str, optional
|
---|---|
Returns: | nods : array, shape (n_dof,)
vals : array, shape (dpn, n_dof)
|