Home
last modified time | relevance | path

Searched refs:matfd (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/matfd/
H A Dfdmatrix.c170 PetscErrorCode MatFDColoringSetParameters(MatFDColoring matfd, PetscReal error, PetscReal umin) in MatFDColoringSetParameters() argument
173 PetscValidHeaderSpecific(matfd, MAT_FDCOLORING_CLASSID, 1); in MatFDColoringSetParameters()
174 PetscValidLogicalCollectiveReal(matfd, error, 2); in MatFDColoringSetParameters()
175 PetscValidLogicalCollectiveReal(matfd, umin, 3); in MatFDColoringSetParameters()
176 if (error != (PetscReal)PETSC_DEFAULT) matfd->error_rel = error; in MatFDColoringSetParameters()
177 if (umin != (PetscReal)PETSC_DEFAULT) matfd->umin = umin; in MatFDColoringSetParameters()
195 PetscErrorCode MatFDColoringSetBlockSize(MatFDColoring matfd, PetscInt brows, PetscInt bcols) in MatFDColoringSetBlockSize() argument
198 PetscValidHeaderSpecific(matfd, MAT_FDCOLORING_CLASSID, 1); in MatFDColoringSetBlockSize()
199 PetscValidLogicalCollectiveInt(matfd, brows, 2); in MatFDColoringSetBlockSize()
200 PetscValidLogicalCollectiveInt(matfd, bcols, 3); in MatFDColoringSetBlockSize()
[all …]
/petsc/src/mat/tests/
H A Dex249.c12 PetscViewer matfd, rowfd, colfd; in main() local
30 PetscCall(PetscViewerBinaryOpen(PETSC_COMM_WORLD, matfile, FILE_MODE_READ, &matfd)); in main()
36 PetscCall(MatLoad(A, matfd)); in main()
48 PetscCall(PetscViewerDestroy(&matfd)); in main()