PetscDSSetDiscretization#

Sets the discretization object for the given field

Synopsis#

Not collective

Input Parameters#

  • prob - The PetscDS object

  • f - The field number

  • disc - The discretization object

See Also#

PetscDS, PetscFE, PetscFV, PetscDSGetDiscretization(), PetscDSAddDiscretization(), PetscDSGetNumFields(), PetscDSCreate()

Level#

beginner

Location#

src/dm/dt/interface/dtds.c

Examples#

src/snes/tutorials/ex63.c.html
src/tao/tutorials/ex3.c.html


Edit on GitLab

Index of all DT routines
Table of Contents for all manual pages
Index of all manual pages