| /petsc/src/snes/tutorials/network/power/ |
| H A D | PFReadData.c | 29 pf->nload = 0; in PFReadMatPowerData() 43 if (!((Pd == 0.0) && (Qd == 0.0))) pf->nload++; in PFReadMatPowerData() 56 PetscCall(PetscCalloc1(pf->nload, &pf->load)); in PFReadMatPowerData() 97 Bus[busi].lidx[Bus[busi].nload++] = loadi; in PFReadMatPowerData() 98 …PetscCheck(Bus[busi].nload <= NLOAD_AT_BUS_MAX, PETSC_COMM_SELF, PETSC_ERR_SUP, "Exceeded maximum … in PFReadMatPowerData() 192 PetscCall(PetscMalloc1(pf->nload, &newload)); in PFReadMatPowerData() 195 …for (j = 0; j < pf->bus[i].nload; j++) PetscCall(PetscMemcpy(&newload[loadj++], &pf->load[pf->bus[… in PFReadMatPowerData()
|
| H A D | power.h | 43 PetscInt nload; member 135 …PetscInt nbus, ngen, nbranch, nload; /* # of buses,gens,branches, and loads (includes elements… member
|
| H A D | power.c | 143 if (pfdata->bus[i - vStart].nload) { in main() 144 …for (j = 0; j < pfdata->bus[i - vStart].nload; j++) PetscCall(DMNetworkAddComponent(networkdm, i, … in main()
|
| H A D | power2.c | 521 if (pfdata1->bus[i].nload) { in main() 522 …for (j = 0; j < pfdata1->bus[i].nload; j++) PetscCall(DMNetworkAddComponent(networkdm, vtx[i], com… in main() 539 if (pfdata2->bus[i].nload) { in main() 540 …for (j = 0; j < pfdata2->bus[i].nload; j++) PetscCall(DMNetworkAddComponent(networkdm, vtx[i], com… in main()
|
| H A D | pffunctions.c | 24 } else if (pfdata->bus[i].nload) { in GetListofEdges_Power()
|
| /petsc/src/snes/tutorials/network/output/ |
| H A D | ex1_3.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| H A D | ex1_2.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| H A D | ex1_6.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| H A D | ex1.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| H A D | ex1_5.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| H A D | ex1_4.out | 1 Power network: nb = 9, ngen = 3, nload = 3, nbranch = 9
|
| /petsc/src/snes/tutorials/network/ |
| H A D | ex1.c | 506 …MT ", nbranch = %" PetscInt_FMT "\n", pfdata->nbus, pfdata->ngen, pfdata->nload, pfdata->nbranch)); in main() 586 if (pfdata->bus[i].nload) { in main() 587 …for (j = 0; j < pfdata->bus[i].nload; j++) PetscCall(DMNetworkAddComponent(networkdm, vtx[i], appc… in main()
|
| /petsc/src/ts/tutorials/power_grid/stability_9bus/ |
| H A D | ex9busadj.c | 25 const PetscInt nload = 3; /* Number of loads */ variable 293 for (i = 0; i < nload; i++) { in ResidualFunction() 658 for (i = 0; i < nload; i++) { in ResidualJacobian()
|
| H A D | ex9busoptfd.c | 21 const PetscInt nload = 3; /* Number of loads */ variable 294 for (i = 0; i < nload; i++) { in ResidualFunction() 660 for (i = 0; i < nload; i++) { in ResidualJacobian()
|
| H A D | ex9bus.c | 52 const PetscInt nload = 3; /* Number of loads */ variable 522 for (i = 0; i < nload; i++) { in ResidualFunction() 930 for (i = 0; i < nload; i++) { in ResidualJacobian()
|
| H A D | ex9busopt.c | 30 const PetscInt nload = 3; /* Number of loads */ variable 439 for (i = 0; i < nload; i++) { in ResidualFunction() 802 for (i = 0; i < nload; i++) { in ResidualJacobian()
|