1: 2: #include src/dm/da/daimpl.h 7: /*@ 8: DACreatePF - Creates an appropriately dimensioned PF mathematical function object 9: from a DA. 11: Collective on DA 13: Input Parameter: 14: . da - initial distributed array 16: Output Parameter: 17: . pf - the mathematical function object 19: Level: advanced 22: .keywords: distributed array, grid function 24: .seealso: DACreate1d(), DACreate2d(), DACreate3d(), DADestroy(), DACreateGlobalVector() 25: @*/ 26: PetscErrorCode DACreatePF(DA da,PF *pf) 27: { 33: PFCreate(da->comm,da->dim,da->w,pf); 34: return(0); 35: } 36: