ses_flow_jr(), __ses_path_va_balance()
authoryu.dongliang <18588496441@163.com>
Tue, 10 Oct 2023 08:09:00 +0000 (16:09 +0800)
committeryu.dongliang <18588496441@163.com>
Tue, 10 Oct 2023 08:09:00 +0000 (16:09 +0800)
ses_step_va_balance.c
ses_steps.c

index c3df7d6f174b28531612b3afa7f2254b23e38f19..3829bfba21a3dac2e2938911ced29880d8c44ea6 100644 (file)
@@ -104,7 +104,7 @@ static int __ses_path_va_balance(ScfEfunction* f, ses_path_t* bridge, ses_flow_t
        p1->v  = el->v;
        p1->jv = el->jv;
 
-       scf_loge("p0: %lg + j%lg, p1: %lg + j%lg, bridge->r: %lg + j%lg\n", p0->v, p0->jv, p1->v, p1->jv, bridge->r, bridge->jr);
+       scf_loge("p0: %lg, p1: %lg, bridge->r: %lg\n", p0->v, p1->v, bridge->r);
 
        if (p0->v > p1->v) {
 
index 1afadcbbb75f3b56078b41b1ffbcd2fc1fae36c9..d36aa1a7ff02ded644d373690c371fd60fe4f96a 100644 (file)
@@ -231,8 +231,8 @@ void ses_flow_jr(ses_flow_t* flow)
                                flow->pr  += p->pr;
                                flow->jpr += p->jpr;
 
-                               scf_loge("flow->pr: %lg + j%lg, c%ldp%ld->pr: %lg + j%lg, vip c%ldp%ld->pr: %lg + j%lg\n",
-                                               flow->pr, flow->jpr, p->cid, p->id, p->pr, p->jpr, vip->cid, vip->id, vip->pr, vip->jpr);
+                               scf_loge("flow->pr: %lg, c%ldp%ld->pr: %lg, vip c%ldp%ld->pr: %lg\n",
+                                               flow->pr, p->cid, p->id, p->pr, vip->cid, vip->id, vip->pr);
                                break;
                        }
                }
@@ -258,8 +258,8 @@ void ses_flow_jr(ses_flow_t* flow)
                                flow->nr  += p->sr  - p0->pr;
                                flow->jnr += p->jsr - p0->jpr;
 
-                               scf_logw("flow->nr: %lg + j%lg, c%ldp%ld->sr: %lg + j%lg, p0 c%ldp%ld->pr: %lg + j%lg\n",
-                                               flow->nr, flow->jnr, p->cid, p->id, p->sr, p->jsr, p0->cid, p0->id, p0->pr, p0->jpr);
+                               scf_logw("flow->nr: %lg, c%ldp%ld->sr: %lg, p0 c%ldp%ld->pr: %lg\n",
+                                               flow->nr, p->cid, p->id, p->sr, p0->cid, p0->id, p0->pr);
 
                                p0 = p;
                        }
@@ -274,8 +274,8 @@ void ses_flow_jr(ses_flow_t* flow)
                        flow->jnr += vip->jsr - p0->jpr;
                }
 
-               scf_loge("flow->nr: %lg + j%lg, vip c%ldp%ld->sr: %lg + j%lg, p0 c%ldp%ld->pr: %lg + j%lg\n",
-                               flow->nr, flow->jnr, vip->cid, vip->id, vip->sr, vip->jsr, p0->cid, p0->id, p0->pr, p0->jpr);
+               scf_loge("flow->nr: %lg, vip c%ldp%ld->sr: %lg, p0 c%ldp%ld->pr: %lg\n",
+                               flow->nr, vip->cid, vip->id, vip->sr, p0->cid, p0->id, p0->pr);
        }
 }