Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/network/water/
H A Dwaterfunctions.c164 PetscBool netview = PETSC_FALSE; in GetListofEdges_Water() local
167 PetscCall(PetscOptionsHasName(NULL, NULL, "-water_view", &netview)); in GetListofEdges_Water()
173 …if (netview) PetscCall(PetscPrintf(PETSC_COMM_SELF, "edge %" PetscInt_FMT ", pipe v[%" PetscInt_FM… in GetListofEdges_Water()
178 …if (netview) PetscCall(PetscPrintf(PETSC_COMM_SELF, "edge %" PetscInt_FMT ", pump v[%" PetscInt_FM… in GetListofEdges_Water()
/petsc/src/snes/tutorials/network/power/
H A Dpffunctions.c9 PetscBool netview = PETSC_FALSE; in GetListofEdges_Power() local
12 PetscCall(PetscOptionsHasName(NULL, NULL, "-powernet_view", &netview)); in GetListofEdges_Power()
18 …if (netview) PetscCall(PetscPrintf(PETSC_COMM_SELF, "branch %" PetscInt_FMT ", bus[%" PetscInt_FMT… in GetListofEdges_Power()
20 if (netview) { in GetListofEdges_Power()