1: #define PETSCDM_DLL 2: 3: #include src/dm/da/daimpl.h 8: /*@ 9: DACreatePF - Creates an appropriately dimensioned PF mathematical function object 10: from a DA. 12: Collective on DA 14: Input Parameter: 15: . da - initial distributed array 17: Output Parameter: 18: . pf - the mathematical function object 20: Level: advanced 23: .keywords: distributed array, grid function 25: .seealso: DACreate1d(), DACreate2d(), DACreate3d(), DADestroy(), DACreateGlobalVector() 26: @*/ 27: PetscErrorCode DACreatePF(DA da,PF *pf) 28: { 34: PFCreate(da->comm,da->dim,da->w,pf); 35: return(0); 36: } 37: