petsc4py.PETSc.DMPlexTransform#
- class petsc4py.PETSc.DMPlexTransform#
Bases:
ObjectMesh 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
DMfor 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:3527
- Return type:
- getType()#
Return the transformation type name.
Not collective.
See also
Source code at petsc4py/PETSc/DMPlex.pyx:3540
- Return type:
- setFromOptions()#
Configure the transformation from the options database.
Collective.
Source code at petsc4py/PETSc/DMPlex.pyx:3587
- Return type:
- setType(tr_type)#
Set the transformation type.
Collective.
See also
Source code at petsc4py/PETSc/DMPlex.pyx:3564
- Parameters:
tr_type (DMPlexTransformType | str)
- Return type:
- setUp()#
Setup a mesh transformation.
Collective.
Source code at petsc4py/PETSc/DMPlex.pyx:3554
- Return type: