Home
last modified time | relevance | path

Searched refs:shift_amount (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/impls/aij/seq/
H A Daijfact.c285 rtmp[i] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqAIJ()
348 sctx.shift_amount = sctx.shift_fraction * sctx.shift_top; in MatLUFactorNumeric_SeqAIJ()
383 … shifted up by %e fraction top_value %e\n", sctx.nshift, (double)sctx.shift_amount, (double)sctx.s… in MatLUFactorNumeric_SeqAIJ()
385 … of shift_nz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatLUFactorNumeric_SeqAIJ()
456 rtmp[ics[r[i]]] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqAIJ_inplace()
498 sctx.shift_amount = sctx.shift_fraction * sctx.shift_top; in MatLUFactorNumeric_SeqAIJ_inplace()
531 … shifted up by %e fraction top_value %e\n", sctx.nshift, (double)sctx.shift_amount, (double)sctx.s… in MatLUFactorNumeric_SeqAIJ_inplace()
533 … of shift_nz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatLUFactorNumeric_SeqAIJ_inplace()
629 sctx.shift_amount = 0.; in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
649 rtmp[r[i]] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqAIJ_InplaceWithPerm()
[all …]
H A Dinode.c1312 rtmp1[i] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqAIJ_Inode()
1395 rtmp1[i] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1396 rtmp2[i + 1] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1531 rtmp1[i] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1532 rtmp2[i + 1] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1533 rtmp3[i + 2] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1721 rtmp1[i] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1722 rtmp2[i + 1] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1723 rtmp3[i + 2] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
1724 rtmp4[i + 3] += sctx.shift_amount; in MatLUFactorNumeric_SeqAIJ_Inode()
[all …]
/petsc/src/mat/impls/baij/seq/
H A Dbaijfact.c514 rtmp[i] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatLUFactorNumeric_SeqBAIJ_1()
576 sctx.shift_amount = sctx.shift_fraction * sctx.shift_top; in MatLUFactorNumeric_SeqBAIJ_1()
603 … shifted up by %e fraction top_value %e\n", sctx.nshift, (double)sctx.shift_amount, (double)sctx.s… in MatLUFactorNumeric_SeqBAIJ_1()
605 … of shift_nz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatLUFactorNumeric_SeqBAIJ_1()
778 sctx.shift_amount = 0.; in MatCholeskyFactorNumeric_SeqBAIJ_N()
802 if (sctx.nshift) rtmp[k] += sctx.shift_amount; in MatCholeskyFactorNumeric_SeqBAIJ_N()
878 …r of shiftpd tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqBAIJ_N()
880 …r of shiftnz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqBAIJ_N()
928 if (sctx.nshift) rtmp[k] += sctx.shift_amount; in MatCholeskyFactorNumeric_SeqBAIJ_N_NaturalOrdering()
1006 …r of shiftnz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqBAIJ_N_NaturalOrdering()
[all …]
/petsc/src/mat/impls/sbaij/seq/
H A Dsbaijfact.c1250 if (sctx.nshift) rtmp[k] += sctx.shift_amount; in MatCholeskyFactorNumeric_SeqSBAIJ_1_inplace()
1334 …r of shiftnz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_inplace()
1336 …r of shiftpd tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_inplace()
1416 rtmp[k] += sctx.shift_amount; /* shift the diagonal of the matrix */ in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering()
1489 … shifted up by %e fraction top_value %e\n", sctx.nshift, (double)sctx.shift_amount, (double)sctx.s… in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering()
1491 … of shift_nz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering()
1545 if (sctx.nshift) rtmp[k] += sctx.shift_amount; in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering_inplace()
1630 …r of shiftnz tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering_inplace()
1632 …r of shiftpd tries %" PetscInt_FMT ", shift_amount %g\n", sctx.nshift, (double)sctx.shift_amount)); in MatCholeskyFactorNumeric_SeqSBAIJ_1_NaturalOrdering_inplace()
/petsc/include/petsc/private/
H A Dmatimpl.h767 PetscReal shift_amount, shift_lo, shift_hi, shift_top, shift_fraction; member
797 if (!sctx->nshift) sctx->shift_amount = info->shiftamount; in MatPivotCheck_nz()
798 else sctx->shift_amount *= 2.0; in MatPivotCheck_nz()
821 sctx->shift_amount = sctx->shift_fraction * sctx->shift_top; in MatPivotCheck_pd()
837 sctx->shift_amount = 0.0; in MatPivotCheck_inblocks()