Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/network/power/
H A Dpffunctions.c103 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormJacobian_Power_private() local
132 Vmt = xarr[offsetto + 1]; in FormJacobian_Power_private()
147 …values[0] = Vmf * Vmt * (Gft * -PetscSinScalar(thetaft) + Bft * PetscCosScalar(thetaft)); … in FormJacobian_Power_private()
148 …values[1] = 2.0 * Gff * Vmf + Vmt * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft)… in FormJacobian_Power_private()
149 …values[2] = Vmf * Vmt * (Gft * PetscSinScalar(thetaft) + Bft * -PetscCosScalar(thetaft)); … in FormJacobian_Power_private()
161 … values[0] = Vmf * Vmt * (Bft * PetscSinScalar(thetaft) + Gft * PetscCosScalar(thetaft)); in FormJacobian_Power_private()
162 …values[1] = -2.0 * Bff * Vmf + Vmt * (-Bft * PetscCosScalar(thetaft) + Gft * PetscSinScalar(thetaf… in FormJacobian_Power_private()
163 … values[2] = Vmf * Vmt * (-Bft * PetscSinScalar(thetaft) + Gft * -PetscCosScalar(thetaft)); 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()
[all …]
H A Dpower2.c65 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormFunction_Subnet() local
89 Vmt = xarr[offsetto + 1]; in FormFunction_Subnet()
94 …farr[offsetfrom] += Gff * Vmf * Vmf + Vmf * Vmt * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinS… in FormFunction_Subnet()
95 …farr[offsetfrom + 1] += -Bff * Vmf * Vmf + Vmf * Vmt * (-Bft * PetscCosScalar(thetaft) + Gft * Pet… 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()
230 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormJacobian_Subnet() local
259 Vmt = xarr[offsetto + 1]; in FormJacobian_Subnet()
274 …values[0] = Vmf * Vmt * (Gft * -PetscSinScalar(thetaft) + Bft * PetscCosScalar(thetaft)); … in FormJacobian_Subnet()
275 …values[1] = 2.0 * Gff * Vmf + Vmt * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft)… in FormJacobian_Subnet()
[all …]