PetscObjectCreate

Creates a PetscObject

Synopsis

#include "petsc.h"    
PetscErrorCode PETSC_DLLEXPORT PetscObjectCreate(MPI_Comm comm, PetscObject *obj)
Collective on PetscObject

Input Parameter

comm -An MPI communicator

Output Parameter

obj -The object

Level:beginner
Location:
src/sys/src/objects/destroy.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages