petsc4py.PETSc.DMPlexTransform#
- class petsc4py.PETSc.DMPlexTransform#
Bases:
Object
Mesh transformations.
Methods Summary
apply
(dm)Apply a mesh transformation.
create
([comm])Create a mesh transformation.
destroy
()Destroy a mesh transformation.
getType
()Return the transformation type name.
setDM
(dm)Set the
DM
for the transformation.Configure the transformation from the options database.
setType
(tr_type)Set the transformation type.
setUp
()Setup a mesh transformation.
view
([viewer])View the mesh transformation.
Methods Documentation
- apply(dm)#
Apply a mesh transformation.
Collective.
- create(comm=None)#
Create a mesh transformation.
Collective.
See also
- destroy()#
Destroy a mesh transformation.
Collective.
See also
Source code at petsc4py/PETSc/DMPlex.pyx:3490
- Return type:
- getType()#
Return the transformation type name.
Not collective.
See also
Source code at petsc4py/PETSc/DMPlex.pyx:3503
- Return type:
- setFromOptions()#
Configure the transformation from the options database.
Collective.
Source code at petsc4py/PETSc/DMPlex.pyx:3550
- Return type:
- setType(tr_type)#
Set the transformation type.
Collective.
See also
Source code at petsc4py/PETSc/DMPlex.pyx:3527
- Parameters:
tr_type (DMPlexTransformType | str)
- Return type:
- setUp()#
Setup a mesh transformation.
Collective.
Source code at petsc4py/PETSc/DMPlex.pyx:3517
- Return type: