Home
last modified time | relevance | path

Searched refs:dspace (Results 1 – 5 of 5) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DFE.pyx499 cdef DualSpace dspace = DualSpace()
500 CHKERR(PetscFEGetDualSpace(self.fe, &dspace.dualspace))
501 CHKERR(PetscINCREF(dspace.obj))
502 return dspace
504 def setDualSpace(self, DualSpace dspace) -> None: argument
511 dspace
519 CHKERR(PetscFESetDualSpace(self.fe, dspace.dualspace))
/petsc/src/dm/impls/plex/
H A Dplexsection.c36 PetscDualSpace dspace; in DMPlexCreateSectionFields() local
42 PetscCall(PetscFEGetDualSpace(fe, &dspace)); in DMPlexCreateSectionFields()
43 PetscCall(PetscDualSpaceGetSymmetries(dspace, &perms, &flips)); in DMPlexCreateSectionFields()
44 PetscCall(PetscDualSpaceGetNumDof(dspace, &numDof)); in DMPlexCreateSectionFields()
50 PetscCall(PetscDualSpaceGetDM(dspace, &K)); in DMPlexCreateSectionFields()
60 PetscCall(PetscDualSpaceGetHeightSubspace(dspace, sph, &hspace)); in DMPlexCreateSectionFields()
H A Dplextree.c1165 PetscDualSpace dspace; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1183 PetscCall(PetscFEGetDualSpace(fe, &dspace)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1184 PetscCall(PetscDualSpaceGetDimension(dspace, &fSize)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1196 PetscCall(PetscFVGetDualSpace(fv, &dspace)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1197 PetscCall(PetscDualSpaceGetDimension(dspace, &fSize)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1199 PetscCall(PetscDualSpaceGetNumDof(dspace, &numDof)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1201 PetscCall(PetscDualSpaceGetSymmetries(dspace, &perms, &flips)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1214 PetscCall(PetscDualSpaceGetFunctional(dspace, i, &quad)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1227 PetscCall(PetscDualSpaceGetFunctional(dspace, i, &quad)); in DMPlexComputeAnchorMatrix_Tree_Direct()
H A Dplex.c6312 …ErrorCode DMPlexGetPointDualSpaceFEM(DM dm, PetscInt point, PetscInt field, PetscDualSpace *dspace) in DMPlexGetPointDualSpaceFEM() argument
6322 *dspace = NULL; in DMPlexGetPointDualSpaceFEM()
6334 PetscCall(PetscDualSpaceGetHeightSubspace(dsp, h, dspace)); in DMPlexGetPointDualSpaceFEM()
6336 *dspace = dsp; in DMPlexGetPointDualSpaceFEM()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c378 hid_t file, group, dset, dspace; in DMSequenceGetLength_HDF5_Internal() local
390 PetscCallHDF5Return(dspace, H5Dget_space, (dset)); in DMSequenceGetLength_HDF5_Internal()
391 PetscCallHDF5ReturnNoCheck(rdim, H5Sget_simple_extent_dims, (dspace, NULL, NULL)); in DMSequenceGetLength_HDF5_Internal()
393 PetscCallHDF5ReturnNoCheck(rdim, H5Sget_simple_extent_dims, (dspace, dims, NULL)); in DMSequenceGetLength_HDF5_Internal()