From 8496ba3f91789f3bb94372ba251f2dc7d41801d6 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Tue, 6 Jul 2010 14:04:48 +0000 Subject: [PATCH] comments added --- src/spicelib/devices/bsim3soi/b4soild.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/spicelib/devices/bsim3soi/b4soild.c b/src/spicelib/devices/bsim3soi/b4soild.c index 403903941..52d302188 100644 --- a/src/spicelib/devices/bsim3soi/b4soild.c +++ b/src/spicelib/devices/bsim3soi/b4soild.c @@ -9319,6 +9319,12 @@ line900: /* v3.1 */ /* v3.1 added ceqgcrg for RF */ + + /* OpenMP parallelization: + Temporary storage of right hand side values into instance storage space. + Update to matrix will be done by function B4SOILoadRhsMat() only when all + instances have their values stored. */ + here->B4SOINode_1 = m * ((ceqgate + ceqqg) + Igtoteq - ceqgcrg); /* v3.1 added ceqgcrg for RF end */ @@ -9466,6 +9472,10 @@ line900: geltd = here->B4SOIgrgeltd; #ifdef USE_OMP4SOI + /* OpenMP parallelization: + Temporary storage of matrix values into instance storage space. + Update to matrix will be done by function B4SOILoadRhsMat() only when all + instances have their values stored. */ if (here->B4SOIrgateMod == 1) { @@ -9965,6 +9975,13 @@ line1000: ; } #ifdef USE_OMP4SOI + +/* OpenMP parallelization: +Update of right hand side and matrix values from instance temporary storage. +Update to matrix will be done only when all instances of this model +have their values calculated and stored. Thus there is no further +synchronisation required.*/ + void B4SOILoadRhsMat(GENmodel *inModel, CKTcircuit *ckt) { unsigned int InstCount, idx;