Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/network/power/
H A Dpffunctions.c101 PetscScalar Gff, Bff, Gft, Bft, Gtf, Btf, Gtt, Btt; in FormJacobian_Power_private() local
114 Btf = branch->ytf[1]; in FormJacobian_Power_private()
176 …values[0] = Vmt * Vmf * (Gtf * -PetscSinScalar(thetatf) + Btf * PetscCosScalar(thetaft)); … in FormJacobian_Power_private()
177 …values[1] = 2.0 * Gtt * Vmt + Vmf * (Gtf * PetscCosScalar(thetatf) + Btf * PetscSinScalar(thetatf)… in FormJacobian_Power_private()
178 …values[2] = Vmt * Vmf * (Gtf * PetscSinScalar(thetatf) + Btf * -PetscCosScalar(thetatf)); … in FormJacobian_Power_private()
179 …values[3] = Vmt * (Gtf * PetscCosScalar(thetatf) + Btf * PetscSinScalar(thetatf)); … in FormJacobian_Power_private()
190 … values[0] = Vmt * Vmf * (Btf * PetscSinScalar(thetatf) + Gtf * PetscCosScalar(thetatf)); in FormJacobian_Power_private()
191 …values[1] = -2.0 * Btt * Vmt + Vmf * (-Btf * PetscCosScalar(thetatf) + Gtf * PetscSinScalar(thetat… in FormJacobian_Power_private()
192 … values[2] = Vmt * Vmf * (-Btf * PetscSinScalar(thetatf) + Gtf * -PetscCosScalar(thetatf)); in FormJacobian_Power_private()
193 values[3] = Vmt * (-Btf * PetscCosScalar(thetatf) + Gtf * PetscSinScalar(thetatf)); in FormJacobian_Power_private()
[all …]
H A Dpower2.c63 PetscScalar Gff, Bff, Gft, Bft, Gtf, Btf, Gtt, Btt; in FormFunction_Subnet() local
75 Btf = branch->ytf[1]; in FormFunction_Subnet()
97 …farr[offsetto] += Gtt * Vmt * Vmt + Vmt * Vmf * (Gtf * PetscCosScalar(thetatf) + Btf * PetscSinSca… in FormFunction_Subnet()
98 …farr[offsetto + 1] += -Btt * Vmt * Vmt + Vmt * Vmf * (-Btf * PetscCosScalar(thetatf) + Gtf * Petsc… in FormFunction_Subnet()
228 PetscScalar Gff, Bff, Gft, Bft, Gtf, Btf, Gtt, Btt; in FormJacobian_Subnet() local
241 Btf = branch->ytf[1]; in FormJacobian_Subnet()
303 …values[0] = Vmt * Vmf * (Gtf * -PetscSinScalar(thetatf) + Btf * PetscCosScalar(thetaft)); … in FormJacobian_Subnet()
304 …values[1] = 2.0 * Gtt * Vmt + Vmf * (Gtf * PetscCosScalar(thetatf) + Btf * PetscSinScalar(thetatf)… in FormJacobian_Subnet()
305 …values[2] = Vmt * Vmf * (Gtf * PetscSinScalar(thetatf) + Btf * -PetscCosScalar(thetatf)); … in FormJacobian_Subnet()
306 …values[3] = Vmt * (Gtf * PetscCosScalar(thetatf) + Btf * PetscSinScalar(thetatf)); … in FormJacobian_Subnet()
[all …]