Home
last modified time | relevance | path

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

/petsc/src/dm/impls/forest/
H A Dforest.c1172 PetscErrorCode DMForestSetCellWeightFactor(DM dm, PetscReal weightsFactor) in DMForestSetCellWeightFactor() argument
1179 forest->weightsFactor = weightsFactor; in DMForestSetCellWeightFactor()
1206 PetscErrorCode DMForestGetCellWeightFactor(DM dm, PetscReal *weightsFactor) in DMForestGetCellWeightFactor() argument
1212 PetscAssertPointer(weightsFactor, 2); in DMForestGetCellWeightFactor()
1213 *weightsFactor = forest->weightsFactor; in DMForestGetCellWeightFactor()
1471 PetscReal weightsFactor; in DMSetFromOptions_Forest() local
1562 PetscCall(DMForestGetCellWeightFactor(dm, &weightsFactor)); in DMSetFromOptions_Forest()
1563 …t factor for cell refinement", "DMForestSetCellWeightFactor", weightsFactor, &weightsFactor, &flg)… in DMSetFromOptions_Forest()
1564 if (flg) PetscCall(DMForestSetCellWeightFactor(dm, weightsFactor)); in DMSetFromOptions_Forest()
1706 forest->weightsFactor = 1.; in DMCreate_Forest()
/petsc/include/petsc/private/
H A Ddmforestimpl.h41 PetscReal weightsFactor; member
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h1108 …oarsening || forest->cellWeights || forest->weightCapacity != 1. || forest->weightsFactor != 1.)) { in DMSetUp_pforest()
1116 …PetscCheck(!forest->cellWeights && forest->weightCapacity == 1. && forest->weightsFactor == 1., Pe… in DMSetUp_pforest()