petsc-3.7.7 2017-09-25
Report Typos and Errors

PetscObjectComposedDataSetScalarstar

attach scalar array data to a PetscObject

Synopsis

#include "petsc/private/petscimpl.h"
PetscErrorCode PetscObjectComposedDataSetScalarstar(PetscObject obj,int id,PetscScalar *data)
Not collective

Input parameters

obj - the object to which data is to be attached
id - the identifier for the data
data - the data to be attached

Notes The data identifier can best be determined through a call to PetscObjectComposedDataRegister()

Level:developer
Location:
include/petsc/private/petscimpl.h
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages