Searched refs:maxFaces (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 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() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | petscfvimpl.h | 94 PetscInt maxFaces, workSize; member
|