Home
last modified time | relevance | path

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

/petsc/src/vec/vec/utils/
H A Dvsection.c195 PetscErrorCode PetscSectionGetField_Internal(PetscSection section, PetscSection sectionGlobal, Vec … in PetscSectionGetField_Internal() argument
205 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in PetscSectionGetField_Internal()
213 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in PetscSectionGetField_Internal()
217 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in PetscSectionGetField_Internal()
233 PetscErrorCode PetscSectionRestoreField_Internal(PetscSection section, PetscSection sectionGlobal, … in PetscSectionRestoreField_Internal() argument
/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c10 PetscSection section, sectionGlobal, adjSec, aSec; in DMPlexComputeAnchorAdjacencies() local
15 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMPlexComputeAnchorAdjacencies()
132 PetscCall(PetscSectionGetOffset(sectionGlobal, qAdj, &qAdjOff)); in DMPlexComputeAnchorAdjacencies()
245 …PetscSection section, sectionGlobal, leafSectionAdj, rootSectionAdj, sectionAdj, anchorSecti… in DMPlexCreateAdjacencySection_Static() local
259 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMPlexCreateAdjacencySection_Static()
453 PetscCall(PetscSectionGetOffset(sectionGlobal, padj, &ngoff)); in DMPlexCreateAdjacencySection_Static()
528 PetscCall(PetscSectionGetOffset(sectionGlobal, padj, &ngoff)); in DMPlexCreateAdjacencySection_Static()
566 PetscCall(PetscSectionGetOffsetRange(sectionGlobal, &globalOffStart, &globalOffEnd)); in DMPlexCreateAdjacencySection_Static()
581 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in DMPlexCreateAdjacencySection_Static()
597 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in DMPlexCreateAdjacencySection_Static()
[all …]
H A Dplex.c2892 PetscSection sectionGlobal, sectionLocal; in DMCreateMatrix_Plex() local
2903 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMCreateMatrix_Plex()
2905 PetscCall(PetscSectionGetConstrainedStorageSize(sectionGlobal, &localSize)); in DMCreateMatrix_Plex()
2938 PetscCall(PetscSectionGetChart(sectionGlobal, &pStart, &pEnd)); in DMCreateMatrix_Plex()
2939 PetscCall(PetscSectionGetNumFields(sectionGlobal, &num_fields)); in DMCreateMatrix_Plex()
2948 PetscCall(PetscSectionGetDof(sectionGlobal, p, &dof)); in DMCreateMatrix_Plex()
2949 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &offset)); in DMCreateMatrix_Plex()
2950 PetscCall(PetscSectionGetConstraintDof(sectionGlobal, p, &cdof)); in DMCreateMatrix_Plex()
2974 PetscCall(PetscSectionGetFieldComponents(sectionGlobal, field, &num_comp)); in DMCreateMatrix_Plex()
2975 PetscCall(PetscSectionGetFieldDof(sectionGlobal, p, field, &dof)); in DMCreateMatrix_Plex()
[all …]
/petsc/src/dm/interface/
H A Ddmi.c414 PetscSection section, sectionGlobal; in DMCreateSectionSubDM() local
420 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMCreateSectionSubDM()
422 …PetscCheck(sectionGlobal, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONG, "Must set default… in DMCreateSectionSubDM()
426 …if (is) PetscCall(PetscSectionSelectFields_Private(section, sectionGlobal, numFields, fields, numC… in DMCreateSectionSubDM()
H A Ddm.c1115 PetscSection section, sectionGlobal; in DMGetLocalToGlobalMapping() local
1123 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMGetLocalToGlobalMapping()
1134 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &off)); in DMGetLocalToGlobalMapping()
1950 PetscSection section, sectionGlobal; in DMCreateFieldIS() local
1971 PetscCall(DMGetGlobalSection(dm, &sectionGlobal)); in DMCreateFieldIS()
1974 PetscCall(PetscSectionGetChart(sectionGlobal, &pStart, &pEnd)); in DMCreateFieldIS()
1982 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in DMCreateFieldIS()
2005 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in DMCreateFieldIS()
2007 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in DMCreateFieldIS()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c515 PetscSection section, sectionGlobal; in VecView_Plex_Local_HDF5_Internal() local
536 PetscCall(DMGetGlobalSection(dmBC, &sectionGlobal)); in VecView_Plex_Local_HDF5_Internal()
591 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in VecView_Plex_Local_HDF5_Internal()
607 PetscCall(PetscSectionGetDof(sectionGlobal, p, &gdof)); in VecView_Plex_Local_HDF5_Internal()
611 PetscCall(PetscSectionGetOffset(sectionGlobal, p, &goff)); in VecView_Plex_Local_HDF5_Internal()
629 …PetscCall(PetscSectionGetField_Internal(section, sectionGlobal, gv, f, pStart[t], pEnd[t], &is, &s… in VecView_Plex_Local_HDF5_Internal()
656 …else PetscCall(PetscSectionRestoreField_Internal(section, sectionGlobal, gv, f, pStart[t], pEnd[t]… in VecView_Plex_Local_HDF5_Internal()
/petsc/src/dm/impls/network/
H A Dnetwork.c2469 PetscSection sectionGlobal; in DMCreateMatrix_Network() local
2495 PetscCall(DMGetGlobalSection(network->plex, &sectionGlobal)); in DMCreateMatrix_Network()
2496 PetscCall(PetscSectionGetConstrainedStorageSize(sectionGlobal, &localSize)); in DMCreateMatrix_Network()