| network.c (c90b701ee8da86c6fb76d5aea9fecd2a44e0e5b8) | network.c (94ef8dde638caef1d0cd84a7dc8a2db65fcda8b6) |
|---|---|
| 1#include <petsc/private/dmnetworkimpl.h> /*I "petscdmnetwork.h" I*/ 2#include <petscdmplex.h> 3#include <petscsf.h> 4 5/*@ 6 DMNetworkSetSizes - Sets the local and global vertices and edges. 7 8 Collective on DM --- 120 unchanged lines hidden (view full) --- 129 ndata = network->header[i].ndata; 130 ierr = PetscSectionAddDof(network->DataSection,i,network->dataheadersize);CHKERRQ(ierr); 131 network->header[i].offset[ndata] = 0; 132 } 133 ierr = PetscMalloc1(network->pEnd-network->pStart,&network->cvalue);CHKERRQ(ierr); 134 PetscFunctionReturn(0); 135} 136 | 1#include <petsc/private/dmnetworkimpl.h> /*I "petscdmnetwork.h" I*/ 2#include <petscdmplex.h> 3#include <petscsf.h> 4 5/*@ 6 DMNetworkSetSizes - Sets the local and global vertices and edges. 7 8 Collective on DM --- 120 unchanged lines hidden (view full) --- 129 ndata = network->header[i].ndata; 130 ierr = PetscSectionAddDof(network->DataSection,i,network->dataheadersize);CHKERRQ(ierr); 131 network->header[i].offset[ndata] = 0; 132 } 133 ierr = PetscMalloc1(network->pEnd-network->pStart,&network->cvalue);CHKERRQ(ierr); 134 PetscFunctionReturn(0); 135} 136 |
| 137/*@ | 137/*@C |
| 138 DMNetworkRegisterComponent - Registers the network component 139 140 Logically collective on DM 141 142 Input Parameters 143+ dm - the network object 144. name - the component name 145- size - the storage size in bytes for this component data --- 1419 unchanged lines hidden --- | 138 DMNetworkRegisterComponent - Registers the network component 139 140 Logically collective on DM 141 142 Input Parameters 143+ dm - the network object 144. name - the component name 145- size - the storage size in bytes for this component data --- 1419 unchanged lines hidden --- |