PetscDSGetBdResidual#

Get the pointwise boundary residual function for a given test field

Synopsis#

Not Collective

Input Parameters#

  • ds - The PetscDS

  • f - The test field number

Output Parameters#

  • f0 - boundary integrand for the test function term, see PetscBdPointFn

  • f1 - boundary integrand for the test function gradient term, see PetscBdPointFn

Note#

We are using a first order FEM model for the weak form:

\[ \int_\Gamma \phi {\vec f}_0(u, u_t, \nabla u, x, t) \cdot \hat n + \nabla\phi \cdot {\overleftrightarrow f}_1(u, u_t, \nabla u, x, t) \cdot \hat n \]

See Also#

PetscDS, PetscBdPointFn, PetscDSSetBdResidual()

Level#

intermediate

Location#

src/dm/dt/interface/dtds.c


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