Searched refs:maxmn (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 2065 PetscInt i, j, maxmn; in PetscFVLeastSquaresPseudoInverseSVD_Static() local 2073 maxmn = PetscMax(m, n); in PetscFVLeastSquaresPseudoInverseSVD_Static() 2074 for (j = 0; j < maxmn; j++) { in PetscFVLeastSquaresPseudoInverseSVD_Static() 2075 for (i = 0; i < maxmn; i++) Brhs[i + j * maxmn] = 1.0 * (i == j); in PetscFVLeastSquaresPseudoInverseSVD_Static() 2081 PetscCall(PetscBLASIntCast(maxmn, &ldb)); in PetscFVLeastSquaresPseudoInverseSVD_Static() 2169 PetscInt maxmn = PetscMax(numFaces, dim); in PetscFVComputeGradient_LeastSquares() local 2173 for (d = 0; d < dim; ++d) grad[f * dim + d] = ls->Binv[d + maxmn * f]; in PetscFVComputeGradient_LeastSquares() 2219 PetscInt dim, m, n, nrhs, minmn, maxmn; in PetscFVLeastSquaresSetMaxFaces_LS() local 2230 maxmn = PetscMax(m, n); in PetscFVLeastSquaresSetMaxFaces_LS() 2231 ls->workSize = 3 * minmn + PetscMax(2 * minmn, PetscMax(maxmn, nrhs)); /* required by LAPACK */ in PetscFVLeastSquaresSetMaxFaces_LS() [all …]
|