PetscDSGetDiscretization#

Returns the discretization object for the given field

Synopsis#

Not Collective

Input Parameters#

  • prob - The PetscDS object

  • f - The field number

Output Parameter#

  • disc - The discretization object

See Also#

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

Level#

beginner

Location#

src/dm/dt/interface/dtds.c


Edit on GitLab

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