Home
last modified time | relevance | path

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

/petsc/doc/manual/
H A Ddmnetwork.md168 DMNetworkGetLocalVecOffset(DM dm, PetscInt p, PetscInt compnum, PetscInt *offset);
172 DMNetworkGetGlobalVecOffset(DM dm, PetscInt p, PetscInt compnum, PetscInt *offsetg).
192 DMNetworkGetComponent(DM dm, PetscInt p, PetscInt compnum, PetscInt *compkey, void **component, Pet…
195 input `compnum` is the component number, output `compkey` is the key set by `DMNetworkRegisterCompo…
199 PetscInt Start,End,numcomps,key,v,compnum;
205 for (compnum=0; compnum < numcomps; compnum++) {
206 DMNetworkGetComponent(dm, v, compnum, &key, &component, &nvar);
/petsc/src/dm/impls/network/
H A Dnetwork.c1219 PetscErrorCode DMNetworkGetLocalVecOffset(DM dm, PetscInt p, PetscInt compnum, PetscInt *offset) in DMNetworkGetLocalVecOffset() argument
1227 if (compnum == ALL_COMPONENTS) { in DMNetworkGetLocalVecOffset()
1234 *offset = offsetp + header->offsetvarrel[compnum]; in DMNetworkGetLocalVecOffset()
1263 PetscErrorCode DMNetworkGetGlobalVecOffset(DM dm, PetscInt p, PetscInt compnum, PetscInt *offsetg) in DMNetworkGetGlobalVecOffset() argument
1273 if (compnum == ALL_COMPONENTS) { in DMNetworkGetGlobalVecOffset()
1279 *offsetg = offsetp + header->offsetvarrel[compnum]; in DMNetworkGetGlobalVecOffset()
1365 PetscInt compnum; in DMNetworkAddComponent() local
1427 compnum = header->ndata; in DMNetworkAddComponent()
1429 header->size[compnum] = component->size; in DMNetworkAddComponent()
1431 header->key[compnum] = componentkey; in DMNetworkAddComponent()
[all …]