Lines Matching refs:pipe

110   Pipe               pipe;  in WASHIFunction()  local
170 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &type, (void **)&pipe, NULL)); in WASHIFunction()
178 pipe->dt = dt; in WASHIFunction()
179 pipe->xold = (PipeField *)(xoldarr + varoffset); in WASHIFunction()
182 PetscCall(DMDAGetLocalInfo(pipe->da, &info)); in WASHIFunction()
183 PetscCall(PipeIFunctionLocal_Lax(&info, t, pipex, pipexdot, pipef, pipe)); in WASHIFunction()
206 nend = pipe->nnodes - 1; in WASHIFunction()
233 Pipe pipe; in WASHSetInitialSolution() local
247 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &type, (void **)&pipe, NULL)); in WASHSetInitialSolution()
250 PetscCall(PipeComputeSteadyState(pipe, wash->Q0, wash->H0)); in WASHSetInitialSolution()
251 PetscCall(VecGetSize(pipe->x, &nx)); in WASHSetInitialSolution()
253 PetscCall(VecGetArrayRead(pipe->x, &xarray)); in WASHSetInitialSolution()
271 PetscCall(VecRestoreArrayRead(pipe->x, &xarray)); in WASHSetInitialSolution()
415 if (rank == 0) PetscCall(PetscFree2(wash->junction, wash->pipe)); in WashNetworkCleanUp()
595 wash->pipe = pipes; in WashNetworkCreate()
613 Pipe pipe, pipes; in main() local
659 pipes = wash->pipe; in main()
741 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &type, (void **)&pipe, NULL)); in main()
743 …wash->nnodes_loc += pipe->nnodes; /* local total number of nodes, will be used by PipesView… in main()
744 PetscCall(PipeSetParameters(pipe, 600.0, /* length */ in main()
748 PetscCall(PipeSetUp(pipe)); in main()
753 PetscCall(PipeCreateJacobian(pipe, NULL, &J)); in main()
825 PetscCall(DMNetworkGetComponent(networkdm, i, 0, &key, (void **)&pipe, NULL)); in main()
826 PetscCall(PipeDestroy(&pipe)); in main()