Searched refs:bNew (Results 1 – 1 of 1) sorted by relevance
3569 static PetscErrorCode DSBoundaryDuplicate_Internal(DSBoundary b, DSBoundary *bNew) in DSBoundaryDuplicate_Internal() argument3572 PetscCall(PetscNew(bNew)); in DSBoundaryDuplicate_Internal()3573 PetscCall(PetscWeakFormCreate(PETSC_COMM_SELF, &(*bNew)->wf)); in DSBoundaryDuplicate_Internal()3574 PetscCall(PetscWeakFormCopy(b->wf, (*bNew)->wf)); in DSBoundaryDuplicate_Internal()3575 PetscCall(PetscStrallocpy(b->name, (char **)&((*bNew)->name))); in DSBoundaryDuplicate_Internal()3576 PetscCall(PetscStrallocpy(b->lname, (char **)&((*bNew)->lname))); in DSBoundaryDuplicate_Internal()3577 (*bNew)->type = b->type; in DSBoundaryDuplicate_Internal()3578 (*bNew)->label = b->label; in DSBoundaryDuplicate_Internal()3579 (*bNew)->Nv = b->Nv; in DSBoundaryDuplicate_Internal()3580 PetscCall(PetscMalloc1(b->Nv, &(*bNew)->values)); in DSBoundaryDuplicate_Internal()[all …]