Home
last modified time | relevance | path

Searched refs:ndot (Results 1 – 25 of 188) sorted by relevance

12345678

/dports/science/lammps/lammps-stable_29Sep2021/src/
H A Drcb.cpp42 ndot = maxdot = 0; in RCB()
129 if (ndot > maxdot) { in compute()
130 maxdot = ndot; in compute()
169 counters[3] = ndot; in compute()
266 nlist = ndot; in compute()
475 if (ndot > 0) memcpy(dotmark,dotmark_select,ndot*sizeof(int)); in compute()
593 ndot = ndotnew; in compute()
617 nfinal = ndot; in compute()
667 maxdot = ndot; in compute_old()
795 nlist = ndot; in compute_old()
[all …]
/dports/net/aget/aget-0.4.1/
H A DMisc.c178 int ndot, i; in updateProgressBar() local
182 ndot = (int)(rat * 100); in updateProgressBar()
184 if ((ndot < prev + 5) && (ndot != 100)) in updateProgressBar()
187 for (i = 0; i < ndot; i += 2) in updateProgressBar()
189 for (i = ndot - 1; i < 100; i += 2) in updateProgressBar()
191 printf("[%d%% completed]\n", ndot); in updateProgressBar()
192 prev = ndot; in updateProgressBar()
/dports/games/torcs/torcs-1.3.7/src/modules/simu/simuv3/
H A Ddifferential.cpp62 tdble ndot; in updateSpool() local
75 ndot = SimDeltaTime * (DrTq - inTq) / I; in updateSpool()
76 spinVel = differential->inAxis[0]->spinVel + ndot; in updateSpool()
79 ndot = SimDeltaTime * BrTq / I; in updateSpool()
81 if (((ndot * spinVel) < 0.0) && (fabs(ndot) > fabs(spinVel))) { in updateSpool()
82 ndot = -spinVel; in updateSpool()
84 if ((spinVel == 0.0) && (ndot < 0.0)) ndot = 0; in updateSpool()
86 spinVel += ndot; in updateSpool()
H A Dwheel.cpp290 tdble ndot; // rotation acceleration in SimUpdateFreeWheels() local
298 ndot = SimDeltaTime * wheel->spinTq / I; in SimUpdateFreeWheels()
299 wheel->spinVel -= ndot; in SimUpdateFreeWheels()
302 ndot = SimDeltaTime * BrTq / I; in SimUpdateFreeWheels()
304 if (fabs(ndot) > fabs(wheel->spinVel)) { in SimUpdateFreeWheels()
305 ndot = -wheel->spinVel; in SimUpdateFreeWheels()
308 wheel->spinVel += ndot; in SimUpdateFreeWheels()
/dports/science/sparta/sparta-20Oct2021/src/
H A Drcb.cpp54 ndot = maxdot = 0; in RCB()
135 ndot = nkeep = noriginal = n; in compute()
137 if (ndot > maxdot) { in compute()
138 maxdot = ndot; in compute()
144 for (i = 0; i < ndot; i++) { in compute()
172 for (i = 0; i < ndot; i++) { in compute()
188 counters[3] = ndot; in compute()
265 if (ndot > maxlist) { in compute()
273 nlist = ndot; in compute()
562 ndot = ndotnew; in compute()
[all …]
/dports/games/torcs/torcs-1.3.7/src/modules/simu/simuv2/
H A Ddifferential.cpp104 tdble ndot; in updateSpool() local
117 ndot = SimDeltaTime * (DrTq - inTq) / I; in updateSpool()
118 spinVel = differential->inAxis[0]->spinVel + ndot; in updateSpool()
121 ndot = SimDeltaTime * BrTq / I; in updateSpool()
123 if (((ndot * spinVel) < 0.0) && (fabs(ndot) > fabs(spinVel))) { in updateSpool()
124 ndot = -spinVel; in updateSpool()
126 if ((spinVel == 0.0) && (ndot < 0.0)) ndot = 0; in updateSpool()
128 spinVel += ndot; in updateSpool()
H A Dwheel.cpp319 tdble ndot; // rotation acceleration in SimUpdateFreeWheels() local
327 ndot = SimDeltaTime * wheel->spinTq / I; in SimUpdateFreeWheels()
328 wheel->spinVel -= ndot; in SimUpdateFreeWheels()
331 ndot = SimDeltaTime * BrTq / I; in SimUpdateFreeWheels()
333 if (fabs(ndot) > fabs(wheel->spinVel)) { in SimUpdateFreeWheels()
334 ndot = -wheel->spinVel; in SimUpdateFreeWheels()
337 wheel->spinVel += ndot; in SimUpdateFreeWheels()
/dports/science/tinker/tinker/source/
H A Drandom.f262 subroutine sphere (ndot,dot)
265 integer i,ndot
274 tot = dble(ndot)
275 tot1 = dble(ndot-1)
276 do i = 1, ndot
280 if (i.eq.1 .or. i.eq.ndot) then
/dports/net/mDNSResponder/mDNSResponder-1310.140.1/ServiceRegistration/
H A Dwireutils.c262 const char *ndot; in dns_names_equal_text() local
265 ndot = strchr(name2, '.'); in dns_names_equal_text()
266 if (ndot == NULL) { in dns_names_equal_text()
267 ndot = name2 + strlen(name2); in dns_names_equal_text()
269 for (s = name2; s < ndot; s++) { in dns_names_equal_text()
271 if (s + 4 <= ndot) { in dns_names_equal_text()
286 for (s = name2; s < ndot; s++, t++) { in dns_names_equal_text()
309 if (name1->next != NULL && *ndot == '.') { in dns_names_equal_text()
310 return dns_names_equal_text(name1->next, ndot + 1); in dns_names_equal_text()
312 if (name1->next == NULL && *ndot == 0) { in dns_names_equal_text()
/dports/astro/stellarium/stellarium-0.21.3/src/gui/
H A DCustomDeltaTEquationDialog.cpp33 ndot = core->getDeltaTCustomNDot(); in CustomDeltaTEquationDialog()
64 ui->lineEditNDot->setText(QString("%1").arg(ndot)); in createDialogContent()
83 conf->setValue("ndot", ndot); in saveSettings()
91 ndot = v.toDouble(); in setNDot()
92 core->setDeltaTCustomNDot(ndot); in setNDot()
/dports/science/siesta/siesta-4.1.5/Util/Vibra/Src/
H A Dparse.f56 integer i, i1, i2, ic, iw, ll, ndot, nexp, nsign
119 ndot = 0
151 if (isdot(i)) ndot = ndot + 1
157 if (ndot.gt.1) isreal = .false.
/dports/science/antioch/antioch-0.4.0-156-g90ffa43/test/
H A Dunits_unit.C163 int ndot(0); in test_factor()
167 if(ndot > 0)indice = rand() % ndot; in test_factor()
177 if(ndot > 0)indice = rand() % ndot; in test_factor()
186 ndot++; in test_factor()
/dports/science/siesta/siesta-4.1.5/Src/
H A Dparsing.f74 integer i, i1, i2, ic, iw, ll, ndot, nexp, nsign, ntot
142 ndot = 0
174 if (isdot(i)) ndot = ndot + 1
180 if (ndot.gt.1) isreal = .false.
/dports/science/gromacs/gromacs-2021.4/src/gromacs/trajectoryanalysis/modules/
H A Dsurfacearea.cpp170 const int ndot = 10 * tess * tess + 2; in ico_dot_arc() local
171 GMX_RELEASE_ASSERT(ndot >= densit, "Inconsistent surface dot formula"); in ico_dot_arc()
173 std::vector<real> xus(3 * ndot); in ico_dot_arc()
287 const int ndot = 30 * tess * tess + 2; in ico_dot_dod() local
290 std::vector<real> xus(3 * ndot); in ico_dot_dod()
494 const int ndot = ssize(xus) / 3; in make_unsp() local
504 while (i * i * i * 2 < ndot) in make_unsp()
512 snew(work, ndot); in make_unsp()
513 for (l = 0; l < ndot; l++) in make_unsp()
537 for (l = 0; l < ndot; l++) in make_unsp()
[all …]
/dports/astro/xplanet/xplanet-1.3.1/src/libmultiple/
H A DdrawSphere.cpp117 double incidence = acos(ndot(iX-plX, iY-plY, iZ-plZ, in drawSphere()
119 double phase = acos(ndot(oX-iX, oY-iY, oZ-iZ, in drawSphere()
164 double incidence = acos(ndot(iX-plX, iY-plY, iZ-plZ, in drawSphere()
166 double emission = acos(ndot(iX-plX, iY-plY, iZ-plZ, in drawSphere()
168 double phase = acos(ndot(oX-iX, oY-iY, oZ-iZ, in drawSphere()
190 darkening = ndot(X - iX, Y - iY, Z - iZ, in drawSphere()
/dports/www/wsdlpull/wsdlpull-1.24/win32/
H A Dw3c.h48 unsigned long ndot=0; in type() local
50 for(ndot=name.length(); ndot>0; ndot--) in type()
51 if(!strncmp( name.c_str()+ndot, ".", 1)) in type()
55 const char *szword=name.c_str()+ndot; in type()
/dports/astro/py-sgp4/python-sgp4-2.20/sgp4/
H A Dio.py149 satrec.ndot = float(line[33:43])
195 satrec.ndot = satrec.ndot / (xpdotp*1440.0); # ? * minperday
237 satrec.ndot, satrec.nddot, satrec.ecco, satrec.argpo, satrec.inclo, satrec.mo,
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/tools/partitioner/
H A Dhecmw_mesh_hash_sort.c659 size_t ndot; in HECMW_mesh_hsort_edge() local
664 ndot = ((size_t)n1 % e_hash_size) + ((size_t)n2 % e_hash_size); in HECMW_mesh_hsort_edge()
665 idx = ndot % e_hash_size; in HECMW_mesh_hsort_edge()
708 size_t ndot1, ndot; in HECMW_mesh_hsort_tsuf() local
714 ndot = ((size_t)n3 % t_hash_size) * (ndot1 % t_hash_size); in HECMW_mesh_hsort_tsuf()
715 idx = ndot % t_hash_size; in HECMW_mesh_hsort_tsuf()
761 size_t ndot1, ndot2, ndot; in HECMW_mesh_hsort_qsuf() local
768 ndot = (ndot1 % q_hash_size) * (ndot2 % q_hash_size); in HECMW_mesh_hsort_qsuf()
769 idx = ndot % q_hash_size; in HECMW_mesh_hsort_qsuf()
/dports/devel/9base/9base-6/sam/
H A Dxec.c93 f->ndot.r.p1 = f->ndot.r.p2 = addr.r.p2; in c_cmd()
102 f->ndot.r.p1 = f->ndot.r.p2 = addr.r.p1; in d_cmd()
262 f->ndot.r.p1 = addr.r.p1, f->ndot.r.p2 = addr.r.p2+delta; in s_cmd()
379 f->ndot.r.p1 = p; in append()
380 f->ndot.r.p2 = p+cp->ctext->n; in append()
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/sam/
H A Dxec.c93 f->ndot.r.p1 = f->ndot.r.p2 = addr.r.p2; in c_cmd()
102 f->ndot.r.p1 = f->ndot.r.p2 = addr.r.p1; in d_cmd()
262 f->ndot.r.p1 = addr.r.p1, f->ndot.r.p2 = addr.r.p2+delta; in s_cmd()
379 f->ndot.r.p1 = p; in append()
380 f->ndot.r.p2 = p+cp->ctext->n; in append()
/dports/editors/the/THE-3.3RC4/
H A Dcomplete.the152 ndot = 0
160 ndot = ndot+1
161 fn.ndot = substr(fn,nstr,dot-nstr)
166 ndot = ndot+1
167 fn.ndot = substr(fn,nstr)
/dports/astro/stellarium/stellarium-0.21.3/plugins/Satellites/src/gsatellite/
H A Dsgp4io.cpp129 &satrec.epochdays,&satrec.ndot, &satrec.nddot, &nexp, &satrec.bstar, in twoline2rv()
166 satrec.ndot = satrec.ndot / (xpdotp*1440.0); //* ? * minperday in twoline2rv()
/dports/games/egoboo/egoboo-2.8.1/src/game/
H A Dgraphic_prt.c1128 float ndot; // the dot product between either the up or the right vector in prt_instance_update_vertices() local
1138 ndot = fvec3_dot_product( pinst->nrm.v, world_up.v ); in prt_instance_update_vertices()
1141 if ( ndot < 1.0f - 1e-6 ) in prt_instance_update_vertices()
1151 factor = zdot / ( 1.0f - ndot * ndot ); in prt_instance_update_vertices()
1153 pinst->ref_right.x += 2.0f * factor * ( ndot * pinst->nrm.x - world_up.x ); in prt_instance_update_vertices()
1154 pinst->ref_right.y += 2.0f * factor * ( ndot * pinst->nrm.y - world_up.y ); in prt_instance_update_vertices()
1155 pinst->ref_right.z += 2.0f * factor * ( ndot * pinst->nrm.z - world_up.z ); in prt_instance_update_vertices()
1167 factor = zdot / ( 1.0f - ndot * ndot ); in prt_instance_update_vertices()
1169 pinst->ref_up.x += 2.0f * factor * ( ndot * pinst->nrm.x - world_up.x ); in prt_instance_update_vertices()
1170 pinst->ref_up.y += 2.0f * factor * ( ndot * pinst->nrm.y - world_up.y ); in prt_instance_update_vertices()
[all …]
/dports/science/simbody/simbody-Simbody-3.7/Simbody/src/
H A DRigidBodyNodeSpec_Ellipsoid.h276 const Vec3 ndot = w_F0M0 % n; // w_FM x n (9 flops) in calcAcrossJointVelocityJacobianDot() local
278 HDot_FM(0) = SpatialVec( Vec3(0), Vec3( 0, -ndot[2]*semi[1], ndot[1]*semi[2]) ); in calcAcrossJointVelocityJacobianDot()
279 HDot_FM(1) = SpatialVec( Vec3(0), Vec3( ndot[2]*semi[0], 0, -ndot[0]*semi[2]) ); in calcAcrossJointVelocityJacobianDot()
280 HDot_FM(2) = SpatialVec( Vec3(0), Vec3(-ndot[1]*semi[0], ndot[0]*semi[1], 0 ) ); in calcAcrossJointVelocityJacobianDot()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/plane-split-0.15.0/src/
H A Dbsp.rs27 let ndot = self.plane.normal.dot(poly.plane.normal); in cut() localVariable
28 debug!("\t\tNormals are aligned with {:?}", ndot); in cut()
29 let dist = self.plane.offset - ndot * poly.plane.offset; in cut()

12345678