Home
last modified time | relevance | path

Searched refs:b0 (Results 1 – 6 of 6) sorted by relevance

/petsc/systems/Apple/OSX/examples/PETSc cocoa example/PETSc cocoa example/en.lproj/ !
H A DCredits.rtf7 \b0 \
12 \b0 \
17 \b0 \
22 \b0 \
27 \b0 \
/petsc/include/petsc/private/ !
H A Dpetscimpl.h754 PetscScalar b0 = (b); \
756 if (PetscIsNanScalar(b0)) { \
761 b1[0] = -PetscRealPart(b0); \
762 b1[1] = PetscRealPart(b0); \
763 b1[2] = -PetscImaginaryPart(b0); \
764 b1[3] = PetscImaginaryPart(b0); \
771 PetscReal b0 = (b), b1[3]; \
772 if (PetscIsNanReal(b0)) { \
777 b1[0] = -b0; \
778 b1[1] = b0; \
[all …]
/petsc/src/snes/impls/al/ !
H A Dal.c408 PetscReal a0, b0, b1, c0, c1, c2; in SNESSolve_NEWTONAL() local
421 b0 = 2 * (PetscRealPart(coefs1[0]) + psisqLambdaUpdate); in SNESSolve_NEWTONAL()
428 bs = 2 * (b1 * b0 - 2 * a0 * c1); in SNESSolve_NEWTONAL()
429 cs = b0 * b0 - 4 * a0 * c0; in SNESSolve_NEWTONAL()
440 deltaLambda = -0.5 * (b0 + b1 * deltaS) / a0; in SNESSolve_NEWTONAL()
445 PetscQuadraticRoots(a0, b0 + b1, c0 + c1 + c2, &dlambda1, &dlambda2); in SNESSolve_NEWTONAL()
446 deltaLambda = (b0 * dlambda1) > (b0 * dlambda2) ? dlambda1 : dlambda2; in SNESSolve_NEWTONAL()
/petsc/src/snes/tutorials/ !
H A Dex70.c222 Vec b0, b1; in StokesRhs() local
226 PetscCall(VecGetSubVector(s->b, s->isg[0], &b0)); in StokesRhs()
227 PetscCall(VecGetOwnershipRange(b0, &start, &end)); in StokesRhs()
235 PetscCall(VecSetValue(b0, row, val, INSERT_VALUES)); in StokesRhs()
237 PetscCall(VecRestoreSubVector(s->b, s->isg[0], &b0)); in StokesRhs()
657 Vec b0, b1; in StokesCalcResidual() local
665 PetscCall(VecGetSubVector(s->b, s->isg[0], &b0)); in StokesCalcResidual()
666 PetscCall(VecNorm(b0, NORM_2, &val)); in StokesCalcResidual()
668 PetscCall(VecRestoreSubVector(s->b, s->isg[0], &b0)); in StokesCalcResidual()
/petsc/src/vec/vec/interface/ !
H A Drvector.c214 PetscMPIInt b0 = (PetscMPIInt)flg, b1[2], b2[2]; in VecNorm() local
215 b1[0] = -b0; in VecNorm()
216 b1[1] = b0; in VecNorm()
/petsc/share/petsc/datafiles/meshes/ !
H A Dtestcase3D.cas9048 8 af b0 20 1e 1f
9054 b 20 b0 b1 22 23
9060 1f 20 b0 a9 1e 22
9072 20 21 b7 b0 1f 23
9202 a8 a9 b0 af 1e 0
9204 aa b1 b0 a9 22 0
9210 af b0 b7 b6 1f 0
9211 b1 b8 b7 b0 23 0