Lines Matching refs:pipes
427 Pipe pipes = NULL; in WashNetworkCreate() local
478 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
520 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
561 PetscCall(PetscCalloc2(numVertices, &junctions, numEdges, &pipes)); in WashNetworkCreate()
578 for (i = 0; i < numEdges; i++) pipes[i].id = i; in WashNetworkCreate()
595 wash->pipe = pipes; in WashNetworkCreate()
613 Pipe pipe, pipes; in main() local
659 pipes = wash->pipe; in main()
673 PetscCall(PetscCalloc2(vEnd - vStart, &junctions, nedges, &pipes)); in main()
678 pipes[e - eStart].nnodes = nnodes; in main()
679 …PetscCall(DMNetworkAddComponent(networkdm, e, KeyPipe, &pipes[e - eStart], 2 * pipes[e - eStart].n… in main()
682 pipes[e - eStart].length = 600.0; in main()
683 …PetscCall(DMNetworkMonitorAdd(monitor, "Pipe Q", e, pipes[e - eStart].nnodes, 0, 2, 0.0, pipes[e -… in main()
684 …PetscCall(DMNetworkMonitorAdd(monitor, "Pipe H", e, pipes[e - eStart].nnodes, 1, 2, 0.0, pipes[e -… in main()
839 if (rank) PetscCall(PetscFree2(junctions, pipes)); in main()