Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexproject.c856 PetscDiscType disctype; in DMProjectLocal_Generic_Plex() local
858 PetscCall(PetscDSGetDiscType_Internal(ds, f, &disctype)); in DMProjectLocal_Generic_Plex()
859 if (disctype == PETSC_DISC_FE) { in DMProjectLocal_Generic_Plex()
866 } else if (disctype == PETSC_DISC_FV) { in DMProjectLocal_Generic_Plex()
879 PetscDiscType disctype; in DMProjectLocal_Generic_Plex() local
881 PetscCall(PetscDSGetDiscType_Internal(dsIn, f, &disctype)); in DMProjectLocal_Generic_Plex()
882 if (disctype == PETSC_DISC_FE) { in DMProjectLocal_Generic_Plex()
887 } else if (disctype == PETSC_DISC_FV) { in DMProjectLocal_Generic_Plex()
903 PetscDiscType disctype; in DMProjectLocal_Generic_Plex() local
916 PetscCall(PetscDSGetDiscType_Internal(dsIn, f, &disctype)); in DMProjectLocal_Generic_Plex()
[all …]
/petsc/src/dm/dt/interface/
H A Ddtds.c4006 PetscErrorCode PetscDSGetDiscType_Internal(PetscDS ds, PetscInt f, PetscDiscType *disctype) in PetscDSGetDiscType_Internal() argument
4014 PetscAssertPointer(disctype, 3); in PetscDSGetDiscType_Internal()
4015 *disctype = PETSC_DISC_NONE; in PetscDSGetDiscType_Internal()
4021 if (id == PETSCFE_CLASSID) *disctype = PETSC_DISC_FE; in PetscDSGetDiscType_Internal()
4022 else *disctype = PETSC_DISC_FV; in PetscDSGetDiscType_Internal()