LandauOMPTimers — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# LandauOMPTimers

Identifiers for the timing slots kept in `LandauCtx.times[]` for the `DMPLEX` Landau collision operator

## Synopsis

    #include "petscdmplex.h"
    typedef enum {
      LANDAU_EX2_TSSOLVE,
      LANDAU_MATRIX_TOTAL,
      LANDAU_OPERATOR,
      LANDAU_JACOBIAN_COUNT,
      LANDAU_JACOBIAN,
      LANDAU_MASS,
      LANDAU_F_DF,
      LANDAU_KERNEL,
      KSP_FACTOR,
      KSP_SOLVE,
      LANDAU_NUM_TIMERS
    } LandauOMPTimers;

## Values

- `LANDAU_EX2_TSSOLVE` - total `TSSolve()` time of the Landau example

- `LANDAU_MATRIX_TOTAL` - total time spent constructing the Jacobian and mass matrices

- `LANDAU_OPERATOR` - time inside the Landau operator evaluation

- `LANDAU_JACOBIAN_COUNT` - number of Jacobian evaluations (stored as a count, reused as a timer slot)

- `LANDAU_JACOBIAN` - time inside Jacobian construction

- `LANDAU_MASS` - time inside mass-matrix construction

- `LANDAU_F_DF` - time evaluating the distribution function and its derivatives

- `LANDAU_KERNEL` - time inside the Landau collision kernel

- `KSP_FACTOR` - time inside the KSP factor stage when using a direct solver

- `KSP_SOLVE` - time inside `KSPSolve()`

- `LANDAU_NUM_TIMERS` - sentinel; equals the number of timer slots allocated in `LandauCtx`

## See Also

`LandauCtx`, `DMPlexLandauCreateVelocitySpace()`

## Level

developer

## Location

include/petsclandau.h

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