Home
last modified time | relevance | path

Searched refs:network (Results 1 – 25 of 39) sorted by relevance

12

/petsc/src/dm/impls/network/
H A Dnetwork.c30 DM_Network *network = (DM_Network *)dm->data; in DMNetworkInitializeHeaderComponentData() local
34 np = network->cloneshared->pEnd - network->cloneshared->pStart; in DMNetworkInitializeHeaderComponentData()
35 if (network->header) in DMNetworkInitializeHeaderComponentData()
37 network->header[p].maxcomps = defaultnumcomp; in DMNetworkInitializeHeaderComponentData()
38 PetscCall(SetUpNetworkHeaderComponentValue(dm, &network->header[p], &network->cvalue[p])); in DMNetworkInitializeHeaderComponentData()
60 DM_Network *network = (DM_Network *)dm->data; in DMNetworkGetPlex() local
63 *plexdm = network->plex; in DMNetworkGetPlex()
85 DM_Network *network = (DM_Network *)dm->data; in DMNetworkGetNumSubNetworks() local
88 if (nsubnet) *nsubnet = network->cloneshared->nsubnet; in DMNetworkGetNumSubNetworks()
89 if (Nsubnet) *Nsubnet = network->cloneshared->Nsubnet; in DMNetworkGetNumSubNetworks()
[all …]
H A Dnetworkcreate.c223 DM_Network *network = (DM_Network *)dm->data; in DMCreateGlobalVector_Network() local
226 PetscCall(DMCreateGlobalVector(network->plex, vec)); in DMCreateGlobalVector_Network()
234 DM_Network *network = (DM_Network *)dm->data; in DMCreateLocalVector_Network() local
237 PetscCall(DMCreateLocalVector(network->plex, vec)); in DMCreateLocalVector_Network()
244 DM_Network *network = (DM_Network *)dm->data; in DMNetworkInitializeToDefault_NonShared() local
247 network->Je = NULL; in DMNetworkInitializeToDefault_NonShared()
248 network->Jv = NULL; in DMNetworkInitializeToDefault_NonShared()
249 network->Jvptr = NULL; in DMNetworkInitializeToDefault_NonShared()
250 network->userEdgeJacobian = PETSC_FALSE; in DMNetworkInitializeToDefault_NonShared()
251 network->userVertexJacobian = PETSC_FALSE; in DMNetworkInitializeToDefault_NonShared()
[all …]
H A Dnetworkview.c99 DM_Network *network = (DM_Network *)dm->data; in DMView_Network_Matplotlib() local
127 optionShowRanks = network->vieweroptions.showallranks; in DMView_Network_Matplotlib()
128 showNoNodes = network->vieweroptions.shownovertices; in DMView_Network_Matplotlib()
129 showNoNumbering = network->vieweroptions.shownonumbering; in DMView_Network_Matplotlib()
203 …if (network->vieweroptions.dontshowglobal || optionRankIsSet) PetscCall(PetscStrlcat(options, " -n… in DMView_Network_Matplotlib()
211 if (network->vieweroptions.viewranks) { in DMView_Network_Matplotlib()
215 PetscCall(ISGetTotalIndices(network->vieweroptions.viewranks, &viewranks)); in DMView_Network_Matplotlib()
216 PetscCall(ISGetSize(network->vieweroptions.viewranks, &viewrankssize)); in DMView_Network_Matplotlib()
222 PetscCall(ISRestoreTotalIndices(network->vieweroptions.viewranks, &viewranks)); in DMView_Network_Matplotlib()
288 DM_Network *network = (DM_Network *)dm->data; in DMView_Network() local
[all …]
H A Dnetworkmonitor.c19 PetscErrorCode DMNetworkMonitorCreate(DM network, DMNetworkMonitor *monitorptr) in DMNetworkMonitorCreate() argument
26 PetscCall(PetscObjectGetComm((PetscObject)network, &comm)); in DMNetworkMonitorCreate()
32 monitor->network = network; in DMNetworkMonitorCreate()
132 PetscCall(DMNetworkGetVertexRange(monitor->network, &vStart, &vEnd)); in DMNetworkMonitorAdd()
133 PetscCall(DMNetworkGetEdgeRange(monitor->network, &eStart, &eEnd)); in DMNetworkMonitorAdd()
192 …PetscCall(DMNetworkGetGlobalVecOffset(monitor->network, node->element, ALL_COMPONENTS, &varoffset)… in DMNetworkMonitorView()
/petsc/src/dm/tests/
H A Dex10.c11 DM network; in main() local
29 PetscCall(DMNetworkCreate(PETSC_COMM_WORLD, &network)); in main()
32 PetscCall(DMNetworkRegisterComponent(network, "ecomp", 0, &ecompkey)); in main()
33 PetscCall(DMNetworkRegisterComponent(network, "vcomp", 0, &vcompkey)); in main()
56 PetscCall(DMNetworkSetNumSubNetworks(network, PETSC_DECIDE, 1)); in main()
57 PetscCall(DMNetworkAddSubnetwork(network, "Subnetwork 1", nedge, edgelist, NULL)); in main()
58 PetscCall(DMNetworkLayoutSetUp(network)); in main()
61 PetscCall(DMView(network, PETSC_VIEWER_STDOUT_WORLD)); in main()
64 PetscCall(DMNetworkGetSubnetwork(network, 0, &nv, &ne, &nodes, &edges)); in main()
67 PetscCall(DMNetworkAddComponent(network, edges[e], ecompkey, NULL, 1)); in main()
[all …]
/petsc/doc/manual/
H A Ddmnetwork.md15 1. Create a network object.
21 2. Create components and register them with the network. A “component”
22 is specific application data at a vertex/edge of the network required
47 4. A subnetwork is added to the network by calling
54 The output `netnum` is the global numbering of the subnetwork in the network.
58 As an example, consider a network comprised of 2 subnetworks that
59 are coupled. The topological information for the network is as
72 of this network is
88 the network by calling
94 6. After completing the previous steps, the network graph is set up, but
[all …]
/petsc/share/petsc/suppressions/
H A Dubsan62 alignment:src/ksp/ksp/tutorials/network/ex1.c
63 alignment:src/snes/tutorials/network/ex1.c
64 alignment:src/snes/tutorials/network/water/waterfunctions.c
65 alignment:src/snes/tutorials/network/power/power2.c
66 alignment:src/snes/tutorials/network/power/pffunctions.c
/petsc/src/snes/tutorials/network/output/
H A Dex1_4.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
7 type: network
36 type: network
H A Dex1.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
4 type: network
H A Dex1_5.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
4 type: network
H A Dex1_2.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
H A Dex1_6.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
H A Dex1_3.out1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
/petsc/src/dm/impls/network/tests/output/
H A Dex1_0.out3 type: network
17 type: network
H A Dex1_1.out3 type: network
24 type: network
H A Dex2_0.out2 type: network
H A Dex2_1.out2 type: network
/petsc/src/dm/tests/output/
H A Dex10_1.out3 type: network
27 type: network
/petsc/src/snes/tutorials/network/
H A Dex1options28 #========= Power network ==========
53 #========= Water network ==========
/petsc/.gitlab/
H A DCODEOWNERS16 /src/*/*/network/ @abhyshr @hongzhangsun @knepley
17 /src/*/*/*/network/ @abhyshr @hongzhangsun @knepley
/petsc/src/ksp/ksp/tutorials/network/output/
H A Dex3_1.out2 type: network
H A Dex4_1.out2 type: network
H A Dex3_2.out2 type: network
H A Dex4_2.out2 type: network
H A Dex3_3.out2 type: network

12