Searched refs:cellWeights (Results 1 – 3 of 3) sorted by relevance
39 PetscReal *cellWeights; member
1362 …de != PETSC_OWN_POINTER || forest->cellWeights == weights) PetscCall(PetscMalloc1(cEnd - cStart, &… in DMForestSetCellWeights()1363 PetscCall(PetscArraycpy(forest->cellWeights, weights, cEnd - cStart)); in DMForestSetCellWeights()1367 if (forest->cellWeightsCopyMode == PETSC_OWN_POINTER) PetscCall(PetscFree(forest->cellWeights)); in DMForestSetCellWeights()1368 forest->cellWeights = weights; in DMForestSetCellWeights()1396 *weights = forest->cellWeights; in DMForestGetCellWeights()1704 forest->cellWeights = NULL; in DMCreate_Forest()
1108 …if (size > 1 && (pforest->partition_for_coarsening || forest->cellWeights || forest->weightCapacit… in DMSetUp_pforest()1116 …PetscCheck(!forest->cellWeights && forest->weightCapacity == 1. && forest->weightsFactor == 1., Pe… in DMSetUp_pforest()