Searched refs:thetaft (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/snes/tutorials/network/power/ |
| H A D | pffunctions.c | 103 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormJacobian_Power_private() local 133 thetaft = thetaf - thetat; in FormJacobian_Power_private() 147 …values[0] = Vmf * Vmt * (Gft * -PetscSinScalar(thetaft) + Bft * PetscCosScalar(thetaft)); … in FormJacobian_Power_private() 148 …alues[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() 150 …values[3] = Vmf * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft)); … in FormJacobian_Power_private() 161 … values[0] = Vmf * Vmt * (Bft * PetscSinScalar(thetaft) + Gft * PetscCosScalar(thetaft)); in FormJacobian_Power_private() 162 …ues[1] = -2.0 * Bff * Vmf + Vmt * (-Bft * PetscCosScalar(thetaft) + Gft * PetscSinScalar(thetaft)); in FormJacobian_Power_private() 163 … values[2] = Vmf * Vmt * (-Bft * PetscSinScalar(thetaft) + Gft * -PetscCosScalar(thetaft)); in FormJacobian_Power_private() 164 values[3] = Vmf * (-Bft * PetscCosScalar(thetaft) + Gft * PetscSinScalar(thetaft)); in FormJacobian_Power_private() [all …]
|
| H A D | power2.c | 65 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormFunction_Subnet() local 90 thetaft = thetaf - thetat; in FormFunction_Subnet() 94 …] += Gff * Vmf * Vmf + Vmf * Vmt * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft)); in FormFunction_Subnet() 95 …+= -Bff * Vmf * Vmf + Vmf * Vmt * (-Bft * PetscCosScalar(thetaft) + Gft * PetscSinScalar(thetaft)); in FormFunction_Subnet() 230 PetscScalar Vmf, Vmt, thetaf, thetat, thetaft, thetatf; in FormJacobian_Subnet() local 260 thetaft = thetaf - thetat; in FormJacobian_Subnet() 274 …values[0] = Vmf * Vmt * (Gft * -PetscSinScalar(thetaft) + Bft * PetscCosScalar(thetaft)); … in FormJacobian_Subnet() 275 …alues[1] = 2.0 * Gff * Vmf + Vmt * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft))… in FormJacobian_Subnet() 276 …values[2] = Vmf * Vmt * (Gft * PetscSinScalar(thetaft) + Bft * -PetscCosScalar(thetaft)); … in FormJacobian_Subnet() 277 …values[3] = Vmf * (Gft * PetscCosScalar(thetaft) + Bft * PetscSinScalar(thetaft)); … in FormJacobian_Subnet() [all …]
|