Lines Matching refs:function
13 using a C `struct` that contains the data and function pointers for
27 For example, all matrix (`Mat`) classes share a function table of
59 and logging of profiling information and then call the function
61 the abstract function is `<class>Operation`, for instance,
118 Here `<class>ops` is a function table (like the `PetscOps` above)
119 that contains the function pointers for the operations specific to that
192 sequence of the function the object was passed in. This is to generate
202 of the class may have different function pointers in the array. Subtypes sometimes replace some of …
203 function pointers of the parent, so they play the role of virtual methods in C++.
205 PETSc code that calls these function pointers should be done via
223 The `Try` variant skips the function call if the method has not been set while the `Use` version ge…
230 These include the specific functions in the PETSc common function table.
231 The function pointers are not called directly; rather you should call
235 `PetscObjectGetComm()` calls the `getcomm(PetscObject,MPI_Comm*)` function point which obtains the …
238 `PetscObjectView()` calls the `view(PetscObject,PetscViewer)` function point which allows you to st…
242 `PetscObjectDestroy()` calls the `destroy(PetscObject)` function pointer which causes the referenc…
245 object has any other objects composed with it, the `PetscObjectDestroy()` function is called on the…
247 `PetscObjectCompose()` calls the `compose(PetscObject,const char *name,PetscObject)` function point…
253 function is called on it, and that object is removed from the first
257 `PetscObjectQuery()` calls the `query(PetscObject,const char *name,PetscObject*)` function pointer …
262 …)` calls the `composefunction(PetscObject,const char *name,void *func)` function pointer which ass…
263 a function pointer with an object. If the object already had a composed
264 function with the same name, the old one is replaced. If `func` is
265 `NULL`, the existing function is removed from the object. The string
266 `name` is the character string name of the function.
270 …()` calls the `queryfunction(PetscObject,const char *name,void **func)` function pointer which ret…
271 function pointer that was associated with the object via
273 function is loaded into memory at this time (if it has not been
319 The function `PetscObjectListAdd()` will create the initial
344 PETSc allows you to compose functions by specifying a name and function
402 The `Try` variant skips the function call if the method has not been composed with
424 function `XXXInitializePackage()`, for example