Lines Matching refs:offsetp
1091 PetscInt offsetp; in DMNetworkGetIndex() local
1094 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetp)); in DMNetworkGetIndex()
1095 header = (DMNetworkComponentHeader)(network->componentdataarray + offsetp); in DMNetworkGetIndex()
1109 PetscInt offsetp; in DMNetworkGetSubnetID() local
1112 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetp)); in DMNetworkGetSubnetID()
1113 header = (DMNetworkComponentHeader)(network->componentdataarray + offsetp); in DMNetworkGetSubnetID()
1222 PetscInt offsetp, offsetd; in DMNetworkGetLocalVecOffset() local
1226 PetscCall(PetscSectionGetOffset(network->plex->localSection, p, &offsetp)); in DMNetworkGetLocalVecOffset()
1228 *offset = offsetp; in DMNetworkGetLocalVecOffset()
1234 *offset = offsetp + header->offsetvarrel[compnum]; in DMNetworkGetLocalVecOffset()
1266 PetscInt offsetp, offsetd; in DMNetworkGetGlobalVecOffset() local
1270 PetscCall(PetscSectionGetOffset(network->plex->globalSection, p, &offsetp)); in DMNetworkGetGlobalVecOffset()
1271 if (offsetp < 0) offsetp = -(offsetp + 1); /* Convert to actual global offset for ghost vertex */ in DMNetworkGetGlobalVecOffset()
1274 *offsetg = offsetp; in DMNetworkGetGlobalVecOffset()
1279 *offsetg = offsetp + header->offsetvarrel[compnum]; in DMNetworkGetGlobalVecOffset()
1496 PetscInt arr_size, p, offset, offsetp, ncomp, i, *headerarr; in DMNetworkComponentSetUp() local
1509 PetscCall(PetscSectionGetOffset(network->DataSection, p, &offsetp)); in DMNetworkComponentSetUp()
1512 headerinfo = (DMNetworkComponentHeader)(componentdataarray + offsetp); in DMNetworkComponentSetUp()
1535 offset = offsetp + header->hsize + header->offset[i]; in DMNetworkComponentSetUp()