Home
last modified time | relevance | path

Searched refs:coordinateDMType (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/stag/ !
H A Dstagintern.c51 PetscCall(PetscStrallocpy(stag->coordinateDMType, (char **)&newstag->coordinateDMType)); in DMStagDuplicateWithoutSetup()
H A Dstagutils.c1114 PetscCall(PetscFree(stag->coordinateDMType)); in DMStagSetCoordinateDMType()
1115 PetscCall(PetscStrallocpy(dmtype, (char **)&stag->coordinateDMType)); in DMStagSetCoordinateDMType()
1400 …PetscCheck(stag->coordinateDMType, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "Yo… in DMStagSetUniformCoordinates()
1401 PetscCall(PetscStrcmp(stag->coordinateDMType, DMSTAG, &flg_stag)); in DMStagSetUniformCoordinates()
1402 PetscCall(PetscStrcmp(stag->coordinateDMType, DMPRODUCT, &flg_product)); in DMStagSetUniformCoordinates()
1407 …PetscObjectComm((PetscObject)dm), PETSC_ERR_SUP, "Unsupported DM Type %s", stag->coordinateDMType); in DMStagSetUniformCoordinates()
1447 PetscCall(PetscStrcmp(stag->coordinateDMType, DMSTAG, &flg)); in DMStagSetUniformCoordinatesExplicit()
1448 …PetscCheck(!stag->coordinateDMType || flg, PetscObjectComm((PetscObject)dm), PETSC_ERR_PLIB, "Refu… in DMStagSetUniformCoordinatesExplicit()
1508 PetscCall(PetscStrcmp(stag->coordinateDMType, DMPRODUCT, &flg)); in DMStagSetUniformCoordinatesProduct()
1509 …PetscCheck(!stag->coordinateDMType || flg, PetscObjectComm((PetscObject)dm), PETSC_ERR_PLIB, "Refu… in DMStagSetUniformCoordinatesProduct()
H A Dstag.c346 PetscCall(PetscFree(stag->coordinateDMType)); in DMDestroy_Stag()
764 …PetscCheck(stag->coordinateDMType, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "Be… in DMCreateCoordinateDM_Stag()
767 PetscCall(PetscStrcmp(stag->coordinateDMType, DMSTAG, &isstag)); in DMCreateCoordinateDM_Stag()
768 PetscCall(PetscStrcmp(stag->coordinateDMType, DMPRODUCT, &isproduct)); in DMCreateCoordinateDM_Stag()
775 …Comm((PetscObject)dm), PETSC_ERR_SUP, "Unsupported coordinate DM type %s", stag->coordinateDMType); in DMCreateCoordinateDM_Stag()
970 stag->coordinateDMType = NULL; in DMCreate_Stag()
/petsc/include/petsc/private/ !
H A Ddmstagimpl.h25 DMType coordinateDMType; /* DM type to create for coordinates */ member