Lines Matching refs:object
37 and data structures used for a particular implementation of an object
58 object. Essentially, these routines do some error checking of arguments
60 appropriate for the particular implementation of the object. The name of
73 Each type of object (for instance, a vector) is defined in its own
120 class. For example, the PETSc vector class object operations in
169 Each PETSc object begins with a `PetscClassId`, which is used for
184 you can verify that an object is valid of a particular class with
192 sequence of the function the object was passed in. This is to generate
195 To check for an object of any type, use
201 The `obj->ops` functions provide implementations of the standard methods of the object class. Each …
236 associated with this object.
239 data inside an object. If the `PetscViewer` is `NULL`, then it should cause the
240 object to print information on the object to `stdout`.
242 …s the `destroy(PetscObject)` function pointer which causes the reference count of the object to be
243 decreased by one or the object to be destroyed and all memory used by
244 the object to be freed when the reference count drops to zero. If the
245 object has any other objects composed with it, the `PetscObjectDestroy()` function is called on the…
248 second object with the first object and increases the reference count of
249 the second object. If an object with the same name was previously
250 composed, that object is dereferenced and replaced with the new object.
251 If the second object is `NULL` and an object with the same name has
252 already been composed, that object is dereferenced (the `PetscObjectDestroy()`
253 function is called on it, and that object is removed from the first
254 object). This is a way to remove, by name, an object that was previously
257 …s the `query(PetscObject,const char *name,PetscObject*)` function pointer which retrieves an object
258 that was previously composed with the first object via
259 `PetscObjectCompose()`. It retrieves a `NULL` if no object with that
263 a function pointer with an object. If the object already had a composed
265 `NULL`, the existing function is removed from the object. The string
271 function pointer that was associated with the object via
277 Since the object composition allows one to compose PETSc objects
279 convenience object `PetscContainer`, created with the routine
281 kind of data into a PETSc object that can then be composed with a PETSc
282 object. One can also use `PetscObjectContainerCompose()` and `PetscObjectContainerQuery()` to compo…
283 arbitrary pointers with a PETSc object.
289 for its object implementations. Other PETSc-compatible class
322 The PETSc object `compose()` and `query()` functions are as follows
358 Each PETSc object contains a `PetscFunctionList` object. The
403 the object while the `Use` version generates an error in that case.