Home
last modified time | relevance | path

Searched refs:ghostvtex (Results 1 – 6 of 6) sorted by relevance

/petsc/src/snes/tutorials/network/power/
H A Dpffunctions.c43 PetscBool ghostvtex; in FormJacobian_Power_private() local
50 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[v], &ghostvtex)); in FormJacobian_Power_private()
63 if (!ghostvtex) { in FormJacobian_Power_private()
199 if (!ghostvtex && bus->ide == PV_BUS) { in FormJacobian_Power_private()
252 PetscBool ghostvtex; in FormFunction_Power() local
260 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[v], &ghostvtex)); in FormFunction_Power()
278 if (!ghostvtex) { in FormFunction_Power()
329 if (!ghostvtex) { in FormFunction_Power()
336 if (!ghostvtex) { in FormFunction_Power()
355 PetscBool ghostvtex, sharedv; in SetInitialGuess_Power() local
[all …]
H A Dpower2.c30 PetscBool ghostvtex; in FormFunction_Subnet() local
34 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[v], &ghostvtex)); in FormFunction_Subnet()
51 if (!ghostvtex) { in FormFunction_Subnet()
102 if (!ghostvtex) { in FormFunction_Subnet()
109 if (!ghostvtex) { in FormFunction_Subnet()
176 PetscBool ghostvtex; in FormJacobian_Subnet() local
180 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[v], &ghostvtex)); in FormJacobian_Subnet()
191 if (!ghostvtex) { in FormJacobian_Subnet()
326 if (!ghostvtex && bus->ide == PV_BUS) { in FormJacobian_Subnet()
375 PetscBool ghostvtex; in SetInitialValues_Subnet() local
[all …]
/petsc/src/snes/tutorials/network/water/
H A Dwaterfunctions.c27 PetscBool ghostvtex; in FormFunction_Water() local
77 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[i], &ghostvtex)); in FormFunction_Water()
78 if (ghostvtex) continue; in FormFunction_Water()
201 PetscBool ghostvtex, sharedv; in SetInitialGuess_Water() local
208 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[i], &ghostvtex)); in SetInitialGuess_Water()
210 if (ghostvtex || sharedv) continue; in SetInitialGuess_Water()
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busdmnetwork.c363 PetscBool ghostvtex; in SetInitialGuess() local
387 PetscCall(DMNetworkIsGhostVertex(networkdm, v, &ghostvtex)); in SetInitialGuess()
388 if (ghostvtex) continue; in SetInitialGuess()
524 PetscBool ghostvtex; in FormIFunction() local
531 PetscCall(DMNetworkIsGhostVertex(networkdm, v, &ghostvtex)); in FormIFunction()
542 if (!ghostvtex) { in FormIFunction()
600 if (!ghostvtex) { in FormIFunction()
659 if (!ghostvtex) { in FormIFunction()
689 if (!ghostvtex) { in FormIFunction()
780 PetscBool ghostvtex; in AlgFunction() local
[all …]
/petsc/src/snes/tutorials/network/
H A Dex1.c93 PetscBool ghostvtex; in FormJacobian_subPower() local
117 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[i], &ghostvtex)); in FormJacobian_subPower()
118 if (ghostvtex) continue; in FormJacobian_subPower()
140 PetscBool ghostvtex; in FormFunction_Dummy() local
150 PetscCall(DMNetworkIsGhostVertex(networkdm, vtx[i], &ghostvtex)); in FormFunction_Dummy()
151 if (ghostvtex) continue; in FormFunction_Dummy()
/petsc/src/dm/impls/network/
H A Dnetworkcreate.c87 PetscBool ghostvtex; in VecView_Network_MPI() local
137 PetscCall(DMNetworkIsGhostVertex(networkdm, v, &ghostvtex)); in VecView_Network_MPI()
138 if (ghostvtex) continue; in VecView_Network_MPI()