PetscObjectComposedDataGetReal#

retrieve PetscReal data attached to a PetscObject set with PetscObjectComposedDataSetReal()

Synopsis#

#include "petsc/private/petscimpl.h"
PetscErrorCode PetscObjectComposedDataGetReal(PetscObject obj, PetscInt id, PetscReal data, PetscBool flag)

Not Collective

Input Parameters#

  • obj - the object from which data is to be retrieved

  • id - the identifier for the data

Output Parameters#

Note#

The data and flag variables are inlined, so they are not pointers.

See Also#

PetscObjectComposedDataSetInt(), PetscObjectComposedDataSetReal(), PetscObjectComposedDataSetIntstar(), PetscObjectComposedDataSetIntstar(), PetscObjectComposedDataGetInt(), PetscObject, PetscObjectCompose(), PetscObjectQuery()

Level#

developer

Location#

include/petsc/private/petscimpl.h


Edit on GitLab

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