Home
last modified time | relevance | path

Searched refs:cellWeights (Results 1 – 3 of 3) sorted by relevance

/petsc/include/petsc/private/
H A Ddmforestimpl.h39 PetscReal *cellWeights; member
/petsc/src/dm/impls/forest/
H A Dforest.c1362 …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()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h1108 …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()