Home
last modified time | relevance | path

Searched refs:wtype (Results 1 – 9 of 9) sorted by relevance

/petsc/src/sys/fileio/
H A Dsysio.c412 PetscDataType wtype = type; in PetscBinaryWrite() local
432 wtype = PETSC_CHAR; in PetscBinaryWrite()
441 wtype = PETSC_DOUBLE; in PetscBinaryWrite()
450 if (wtype == PETSC_INT) m *= sizeof(PetscInt); in PetscBinaryWrite()
451 else if (wtype == PETSC_SCALAR) m *= sizeof(PetscScalar); in PetscBinaryWrite()
453 else if (wtype == PETSC_COMPLEX) m *= sizeof(PetscComplex); in PetscBinaryWrite()
455 else if (wtype == PETSC_REAL) m *= sizeof(PetscReal); in PetscBinaryWrite()
456 else if (wtype == PETSC_DOUBLE) m *= sizeof(double); in PetscBinaryWrite()
457 else if (wtype == PETSC_FLOAT) m *= sizeof(float); in PetscBinaryWrite()
458 else if (wtype == PETSC_SHORT) m *= sizeof(short); in PetscBinaryWrite()
[all …]
/petsc/src/tao/leastsquares/tests/output/
H A Dchwirut2_5.out1 wtype=0
H A Dchwirut2_2_alt.out1 wtype=1
H A Dchwirut2_1_alt.out1 wtype=0
H A Dchwirut2_4.out1 wtype=0
H A Dchwirut2_3.out1 wtype=2
H A Dchwirut2_2.out1 wtype=1
H A Dchwirut2_1.out1 wtype=0
/petsc/src/tao/leastsquares/tests/
H A Dchwirut2.c49 PetscInt wtype = 0; in main() local
65 PetscCall(PetscOptionsGetInt(NULL, NULL, "-wtype", &wtype, &flg)); in main()
66 PetscCall(PetscPrintf(PETSC_COMM_WORLD, "wtype=%" PetscInt_FMT "\n", wtype)); in main()
97 if (wtype == 1) { in main()
99 } else if (wtype == 2) { in main()