Home
last modified time | relevance | path

Searched refs:ltype (Results 1 – 7 of 7) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/include/petsc4py/
H A Dpetsc4py.i248 $1 = %static_cast(val,$ltype);
251 const Type & ($*ltype temp, Type val, int ecode = 0) {
254 temp = %static_cast(val,$*ltype);
267 Type *INPUT ($*ltype temp, int res = 0) {
273 Type &INPUT ($*ltype temp, int res = 0) {
281 Type *OUTPUT ($*ltype temp=0) "$1 = &temp;";
283 Type &OUTPUT ($*ltype temp=0) "$1 = &temp;";
332 PetscEnum *OUTPUT ($*ltype temp) "$1 = &temp;"
533 ($*ltype temp = NULL) "$1 = &temp;";
/petsc/src/ksp/pc/impls/factor/
H A Dfactimpl.c182 MatSolverType ltype; in PCFactorSetMatSolverType_Factor() local
185 PetscCall(MatFactorGetSolverType(lu->fact, &ltype)); in PCFactorSetMatSolverType_Factor()
186 PetscCall(PetscStrcmp(stype, ltype, &flg)); in PCFactorSetMatSolverType_Factor()
187 …"Cannot change solver matrix package from %s to %s after PC has been setup or used", ltype, stype); in PCFactorSetMatSolverType_Factor()
/petsc/src/dm/tutorials/
H A Dswarm_ex3.c60 PetscErrorCode DMLocatePoints_DMDARegular(DM dm, Vec pos, DMPointLocationType ltype, PetscSF cellSF) in DMLocatePoints_DMDARegular() argument
/petsc/src/dm/impls/da/
H A Ddageometry.c266 PetscErrorCode DMLocatePoints_DA_Regular(DM dm, Vec pos, DMPointLocationType ltype, PetscSF cellSF) in DMLocatePoints_DA_Regular() argument
/petsc/src/dm/interface/
H A Ddmcoordinates.c1258 PetscErrorCode DMLocatePoints(DM dm, Vec v, DMPointLocationType ltype, PetscSF *cellSF) in DMLocatePoints() argument
1274 PetscUseTypeMethod(dm, locatepoints, v, ltype, *cellSF); in DMLocatePoints()
/petsc/src/mat/impls/is/
H A Dmatis.c3503 MatType ltype; in MatGetDiagonalBlock_IS() local
3509 PetscCall(MatGetType(a->A, &ltype)); in MatGetDiagonalBlock_IS()
3510 PetscCall(MatConvert(a->dA, ltype, MAT_INPLACE_MATRIX, &a->dA)); in MatGetDiagonalBlock_IS()
3530 MatType ltype; in MatCreateSubMatrices_IS()
3534 PetscCall(MatGetType(a->A,&ltype)); in MatCreateSubMatrices_IS()
3543 PetscCall(MatConvert(sA,ltype,MAT_INPLACE_MATRIX,&sA)); in MatCreateSubMatrices_IS()
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c1245 PetscErrorCode DMLocatePoints_Plex(DM dm, Vec v, DMPointLocationType ltype, PetscSF cellSF) in DMLocatePoints_Plex() argument
1267 …PetscCheck(ltype != DM_POINTLOCATION_NEAREST || hash, PetscObjectComm((PetscObject)dm), PETSC_ERR_… in DMLocatePoints_Plex()
1398 if (ltype == DM_POINTLOCATION_NEAREST && hash && numFound < numPoints) { in DMLocatePoints_Plex()
1429 if (ltype == DM_POINTLOCATION_REMOVE && numFound < numPoints) { in DMLocatePoints_Plex()