Lines Matching refs:branch

61           EDGE_Power      branch;  in FormFunction_Subnet()  local
68 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &keye, (void **)&branch, NULL)); in FormFunction_Subnet()
69 if (!branch->status) continue; in FormFunction_Subnet()
70 Gff = branch->yff[0]; in FormFunction_Subnet()
71 Bff = branch->yff[1]; in FormFunction_Subnet()
72 Gft = branch->yft[0]; in FormFunction_Subnet()
73 Bft = branch->yft[1]; in FormFunction_Subnet()
74 Gtf = branch->ytf[0]; in FormFunction_Subnet()
75 Btf = branch->ytf[1]; in FormFunction_Subnet()
76 Gtt = branch->ytt[0]; in FormFunction_Subnet()
77 Btt = branch->ytt[1]; in FormFunction_Subnet()
225 EDGE_Power branch; in FormJacobian_Subnet() local
233 PetscCall(DMNetworkGetComponent(networkdm, e, 0, &key, (void **)&branch, NULL)); in FormJacobian_Subnet()
234 if (!branch->status) continue; in FormJacobian_Subnet()
236 Gff = branch->yff[0]; in FormJacobian_Subnet()
237 Bff = branch->yff[1]; in FormJacobian_Subnet()
238 Gft = branch->yft[0]; in FormJacobian_Subnet()
239 Bft = branch->yft[1]; in FormJacobian_Subnet()
240 Gtf = branch->ytf[0]; in FormJacobian_Subnet()
241 Btf = branch->ytf[1]; in FormJacobian_Subnet()
242 Gtt = branch->ytt[0]; in FormJacobian_Subnet()
243 Btt = branch->ytt[1]; in FormJacobian_Subnet()
514 …++) PetscCall(DMNetworkAddComponent(networkdm, edges[i], componentkey[0], &pfdata1->branch[i], 0)); in main()
532 …++) PetscCall(DMNetworkAddComponent(networkdm, edges[i], componentkey[0], &pfdata2->branch[i], 0)); in main()
556 PetscCall(PetscFree(pfdata1->branch)); in main()
562 PetscCall(PetscFree(pfdata2->branch)); in main()