Lines Matching refs:maxFaces

2155   const PetscInt        maxFaces = ls->maxFaces;  in PetscFVComputeGradient_LeastSquares()  local
2159 if (numFaces > maxFaces) { in PetscFVComputeGradient_LeastSquares()
2160 …PetscCheck(maxFaces >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONGSTATE, "Reconstruction has not been … in PetscFVComputeGradient_LeastSquares()
2161 …RANGE, "Number of input faces %" PetscInt_FMT " > %" PetscInt_FMT " maxfaces", numFaces, maxFaces); in PetscFVComputeGradient_LeastSquares()
2165 for (d = 0; d < dim; ++d) ls->B[d * maxFaces + f] = dx[f * dim + d]; in PetscFVComputeGradient_LeastSquares()
2170 …PetscCall(PetscFVLeastSquaresPseudoInverseSVD_Static(numFaces, maxFaces, dim, ls->B, ls->Binv, ls-… in PetscFVComputeGradient_LeastSquares()
2176 …PetscCall(PetscFVLeastSquaresPseudoInverse_Static(numFaces, maxFaces, dim, ls->B, ls->Binv, ls->ta… in PetscFVComputeGradient_LeastSquares()
2179 for (d = 0; d < dim; ++d) grad[f * dim + d] = ls->Binv[d * maxFaces + f]; in PetscFVComputeGradient_LeastSquares()
2216 static PetscErrorCode PetscFVLeastSquaresSetMaxFaces_LS(PetscFV fvm, PetscInt maxFaces) in PetscFVLeastSquaresSetMaxFaces_LS() argument
2225 ls->maxFaces = maxFaces; in PetscFVLeastSquaresSetMaxFaces_LS()
2226 m = ls->maxFaces; in PetscFVLeastSquaresSetMaxFaces_LS()
2228 nrhs = ls->maxFaces; in PetscFVLeastSquaresSetMaxFaces_LS()
2264 ls->maxFaces = -1; in PetscFVCreate_LeastSquares()
2290 PetscErrorCode PetscFVLeastSquaresSetMaxFaces(PetscFV fvm, PetscInt maxFaces) in PetscFVLeastSquaresSetMaxFaces() argument
2294 PetscTryMethod(fvm, "PetscFVLeastSquaresSetMaxFaces_C", (PetscFV, PetscInt), (fvm, maxFaces)); in PetscFVLeastSquaresSetMaxFaces()