Searched refs:cellWeightsCopyMode (Results 1 – 2 of 2) sorted by relevance
40 PetscCopyMode cellWeightsCopyMode; member
1362 …if (forest->cellWeightsCopyMode != PETSC_OWN_POINTER || forest->cellWeights == weights) PetscCall(… in DMForestSetCellWeights()1364 forest->cellWeightsCopyMode = PETSC_OWN_POINTER; in DMForestSetCellWeights()1367 if (forest->cellWeightsCopyMode == PETSC_OWN_POINTER) PetscCall(PetscFree(forest->cellWeights)); in DMForestSetCellWeights()1369 forest->cellWeightsCopyMode = copyMode; in DMForestSetCellWeights()1705 forest->cellWeightsCopyMode = PETSC_USE_POINTER; in DMCreate_Forest()