Searched refs:volConst (Results 1 – 1 of 1) sorted by relevance
57 PetscReal *volConst; /* Volume constraints for each label value */ in AdaptMesh() local77 PetscCall(PetscMalloc1(Nv, &volConst)); in AdaptMesh()81 volConst[v] = PETSC_MAX_REAL; in AdaptMesh()83 PetscCall(PetscOptionsGetReal(NULL, NULL, opt, &volConst[v], NULL)); in AdaptMesh()119 if (volume > volConst[vidx]) { in AdaptMesh()123 if (volume < volConst[vidx] * ratio) { in AdaptMesh()141 PetscCall(PetscFree(volConst)); in AdaptMesh()