Home
last modified time | relevance | path

Searched refs:nconnedges (Results 1 – 4 of 4) sorted by relevance

/petsc/src/snes/tutorials/network/power/
H A Dpffunctions.c59 PetscInt nconnedges; in FormJacobian_Power_private() local
95 PetscCall(DMNetworkGetSupportingEdges(networkdm, vtx[v], &nconnedges, &connedges)); in FormJacobian_Power_private()
97 for (i = 0; i < nconnedges; i++) { in FormJacobian_Power_private()
267 PetscInt nconnedges; in FormFunction_Power() local
286 PetscCall(DMNetworkGetSupportingEdges(networkdm, vtx[v], &nconnedges, &connedges)); in FormFunction_Power()
287 for (i = 0; i < nconnedges; i++) { in FormFunction_Power()
H A Dpower2.c40 PetscInt nconnedges; in FormFunction_Subnet() local
59 PetscCall(DMNetworkGetSupportingEdges(networkdm, vtx[v], &nconnedges, &connedges)); in FormFunction_Subnet()
60 for (i = 0; i < nconnedges; i++) { in FormFunction_Subnet()
187 PetscInt nconnedges; in FormJacobian_Subnet() local
223 PetscCall(DMNetworkGetSupportingEdges(networkdm, vtx[v], &nconnedges, &connedges)); in FormJacobian_Subnet()
224 for (i = 0; i < nconnedges; i++) { in FormJacobian_Subnet()
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busdmnetwork.c537 PetscInt nconnedges; in FormIFunction() local
563 PetscCall(DMNetworkGetSupportingEdges(networkdm, v, &nconnedges, &connedges)); in FormIFunction()
565 for (i = 0; i < nconnedges; i++) { in FormIFunction()
788 PetscInt nconnedges; in AlgFunction() local
809 PetscCall(DMNetworkGetSupportingEdges(networkdm, v, &nconnedges, &connedges)); in AlgFunction()
811 for (i = 0; i < nconnedges; i++) { in AlgFunction()
/petsc/src/snes/tutorials/network/
H A Dex1.c208 PetscInt key, ncomp, nvar, nconnedges, k, e, keye, goffset[3]; in FormFunction() local
238 PetscCall(DMNetworkGetSupportingEdges(networkdm, vtx[v], &nconnedges, &connedges)); in FormFunction()
240 for (k = 0; k < nconnedges; k++) { in FormFunction()