DMPlexTSComputeRHSFunctionFVMCEED#

Assemble the right-hand-side vector of a finite-volume TS step using the libCEED operator attached to a DMPLEX

Synopsis#

#include "petscdmplex.h" 
#include "petscts.h" 
PetscErrorCode DMPlexTSComputeRHSFunctionFVMCEED(DM dm, PetscReal time, Vec locX, Vec F, PetscCtx ctx)

Collective

Input Parameters#

  • dm - the DMPLEX for which libCEED operators have been created by DMCeedCreate()

  • time - the current time

  • locX - local solution vector including ghost values

  • F - the global right-hand-side vector to assemble

  • ctx - application context (unused)

Note#

This is normally installed as the TS RHS function callback via DMTSSetRHSFunctionLocal() when using libCEED for the finite-volume evaluation.

See Also#

TS: Scalable ODE and DAE Solvers, TS, DMPLEX, DMCeedCreate(), DMPlexSNESComputeResidualCEED(), DMTSSetRHSFunctionLocal()

Level#

developer

Location#

src/ts/utils/libceed/dmplextsceed.c

Examples#

src/ts/tutorials/ex11.c


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