PetscWeakFormSetRiemannSolver#

Set the list of Riemann solver pointwise functions for a given key in a PetscWeakForm

Synopsis#

#include "petscds.h" 
PetscErrorCode PetscWeakFormSetRiemannSolver(PetscWeakForm wf, DMLabel label, PetscInt val, PetscInt f, PetscInt part, PetscInt n, void (**r)(PetscInt, PetscInt, const PetscReal[], const PetscReal[], const PetscScalar[], const PetscScalar[], PetscInt, const PetscScalar[], PetscScalar[], void *))

Not Collective

Input Parameters#

  • wf - The PetscWeakForm

  • label - The label selecting the mesh region, or NULL for the entire domain

  • val - The label value selecting the mesh region

  • f - The field number

  • part - The equation part, or 0 if unused

  • n - The number of Riemann solver pointwise functions to set

  • r - The array of Riemann solver pointwise functions, or NULL to clear the key

See Also#

PetscWeakForm, PetscWeakFormGetRiemannSolver(), PetscWeakFormSetIndexRiemannSolver()

Level#

intermediate

Location#

src/dm/dt/interface/dtweakform.c


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