/dports/games/spring/spring_98.0/rts/Sim/Path/QTPFS/ |
H A D | NodeLayer.cpp | 40 for (unsigned int hmx = n->xmin(); hmx < n->xmax(); hmx++) { in RegisterNode() local 41 nodeGrid[hmz * xsize + hmx] = n; in RegisterNode() 93 for (unsigned int hmx = r.x1; hmx < r.x2; hmx++) { in QueueUpdate() local 94 const unsigned int recIdx = (hmz - r.z1) * r.GetWidth() + (hmx - r.x1); in QueueUpdate() 96 const unsigned int chmx = Clamp(int(hmx), md->xsizeh, r.x2 - md->xsizeh - 1); in QueueUpdate() 99 layerUpdate->speedMods[recIdx] = CMoveMath::GetPosSpeedMod(*md, hmx, hmz); in QueueUpdate() 141 for (unsigned int hmx = r.x1; hmx < r.x2; hmx++) { in Update() local 142 const unsigned int sqrIdx = hmz * xsize + hmx; in Update() 143 const unsigned int recIdx = (hmz - r.z1) * r.GetWidth() + (hmx - r.x1); in Update() 146 const unsigned int chmx = Clamp(int(hmx), md->xsizeh, r.x2 - md->xsizeh - 1); in Update() [all …]
|
H A D | Node.cpp | 550 for (unsigned int hmx = minx; hmx < maxx; hmx++) { in UpdateMoveCost() local 570 for (unsigned int hmx = xmin(); hmx < xmax(); hmx++) { in UpdateMoveCost() local 737 const unsigned int hmx = xmin() - 1; in UpdateNeighborCache() local 741 ngb = nodes[hmz * gs->mapx + hmx]; in UpdateNeighborCache() 758 ngb = nodes[hmz * gs->mapx + hmx]; in UpdateNeighborCache() 775 for (unsigned int hmx = xmin(); hmx < xmax(); ) { in UpdateNeighborCache() local 776 ngb = nodes[hmz * gs->mapx + hmx]; in UpdateNeighborCache() 777 hmx = ngb->xmax(); in UpdateNeighborCache() 792 for (unsigned int hmx = xmin(); hmx < xmax(); ) { in UpdateNeighborCache() local 793 ngb = nodes[hmz * gs->mapx + hmx]; in UpdateNeighborCache() [all …]
|
/dports/games/spring/spring_98.0/rts/Map/SMF/ |
H A D | SMFMapFile.cpp | 61 const int hmx = header.mapx + 1; in ReadHeightmap() local 65 ifs.Read(heightmap, hmx * hmy * sizeof(short)); in ReadHeightmap() 67 for (int y = 0; y < hmx * hmy; ++y) { in ReadHeightmap() 75 const int hmx = header.mapx + 1; in ReadHeightmap() local 77 unsigned short* temphm = new unsigned short[hmx * hmy]; in ReadHeightmap() 80 ifs.Read(temphm, hmx * hmy * 2); in ReadHeightmap() 82 for (int y = 0; y < hmx * hmy; ++y) { in ReadHeightmap()
|
/dports/games/spring/spring_98.0/rts/Sim/Misc/ |
H A D | LosHandler.h | 176 inline bool InLos(int hmx, int hmz, int allyTeam) const { in InLos() argument 179 const int gx = hmx * SQUARE_SIZE * invLosDiv; in InLos() 183 inline bool InAirLos(int hmx, int hmz, int allyTeam) const { in InAirLos() argument 186 const int gx = hmx * SQUARE_SIZE * invAirDiv; in InAirLos()
|
/dports/games/spring/spring_98.0/rts/Sim/Path/Default/ |
H A D | PathHeatMap.cpp | 40 unsigned int PathHeatMap::GetHeatMapIndex(unsigned int hmx, unsigned int hmz) const { in GetHeatMapIndex() argument 44 hmx >>= xscale; in GetHeatMapIndex() 47 return (hmz * xsize + hmx); in GetHeatMapIndex()
|
H A D | PathFlowMap.hpp | 35 const float3& GetFlowVec(unsigned int hmx, unsigned int hmz) const;
|
H A D | PathFlowMap.cpp | 232 const float3& PathFlowMap::GetFlowVec(unsigned int hmx, unsigned int hmz) const { in GetFlowVec() argument 236 const unsigned int fCellIdx = (hmz / zscale) * xsize + (hmx / xscale); in GetFlowVec()
|
/dports/games/spring/spring_98.0/rts/Map/ |
H A D | ReadMap.cpp | 523 int hmx = lm.x1 * losSqSize; in HeightMapUpdateLOSCheck() local 525 SRectangle subrect(hmx, hmz, hmx, hmz + losSqSize); in HeightMapUpdateLOSCheck() 530 subrect = SRectangle(hmx + losSqSize, hmz, hmx + losSqSize, hmz + losSqSize); \ in HeightMapUpdateLOSCheck() 532 subrect.x1 = hmx + losSqSize; \ in HeightMapUpdateLOSCheck() 533 subrect.x2 = hmx + losSqSize; \ in HeightMapUpdateLOSCheck() 537 hmx = lmx * losSqSize; in HeightMapUpdateLOSCheck() 540 if (!(gu->spectatingFullView || losHandler->InLos(hmx, hmz, gu->myAllyTeam))) { in HeightMapUpdateLOSCheck() 552 subrect.x2 = hmx + losSqSize; in HeightMapUpdateLOSCheck()
|
/dports/math/scilab/scilab-6.1.1/scilab/modules/differential_equations/src/fortran/ |
H A D | lsode.f | 958 double precision atoli, ayi, big, ewti, h0, hmax, hmx, rh, rtoli, local 1221 245 hmx = abs(tn) + abs(h) 1222 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1295 345 hmx = abs(tn) + abs(h) 1296 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1304 350 hmx = abs(tn) + abs(h) 1305 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx
|
H A D | lsodi.f | 1148 double precision atoli, ayi, big, ewti, h0, hmax, hmx, rh, rtoli, 1428 245 hmx = abs(tn) + abs(h) 1429 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1507 345 hmx = abs(tn) + abs(h) 1508 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1516 350 hmx = abs(tn) + abs(h) 1517 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx
|
H A D | lsoda.f | 992 double precision atoli, ayi, big, ewti, h0, hmax, hmx, rh, rtoli, local 1311 245 hmx = abs(tn) + abs(h) 1312 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1414 345 hmx = abs(tn) + abs(h) 1415 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx 1425 350 hmx = abs(tn) + abs(h) 1426 ihit = abs(tn - tcrit) .le. 100.0d+0*uround*hmx
|
H A D | lsodar.f | 1112 double precision atoli, ayi, big, ewti, h0, hmax, hmx, rh, rtoli, local 1484 245 hmx = dabs(tn) + dabs(h) 1485 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx 1602 345 hmx = dabs(tn) + dabs(h) 1603 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx 1614 350 hmx = dabs(tn) + dabs(h) 1615 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx
|
/dports/science/py-scipy/scipy-1.7.1/scipy/integrate/odepack/ |
H A D | lsoda.f | 984 double precision atoli, ayi, big, ewti, h0, hmax, hmx, rh, rtoli, local 1303 245 hmx = dabs(tn) + dabs(h) 1304 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx 1404 345 hmx = dabs(tn) + dabs(h) 1405 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx 1413 350 hmx = dabs(tn) + dabs(h) 1414 ihit = dabs(tn - tcrit) .le. 100.0d0*uround*hmx
|
/dports/games/spring/spring_98.0/rts/Rendering/ |
H A D | QTPFSPathDrawer.cpp | 217 unsigned int hmx = (*it) % gs->mapx; in DrawSearchIteration() local 221 const QTPFS::QTNode* poppedNode = static_cast<const QTPFS::QTNode*>(nodeLayer.GetNode(hmx, hmz)); in DrawSearchIteration() 227 hmx = (*it) % gs->mapx; in DrawSearchIteration() 229 pushedNode = static_cast<const QTPFS::QTNode*>(nodeLayer.GetNode(hmx, hmz)); in DrawSearchIteration()
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/tests/unit/ |
H A D | unit_HMatrix.cpp | 100 Vector<Real> hmx; in unit_HMatrix() local 101 for(number_t k=0; k<5; k++) hmx = hm*x; in unit_HMatrix() 104 …out<<"|amx-hmx| = "<<norm(amx-hmx)<<" matrixVectorProductCount = "<<HMatrixNode<Real,FeDof>::count… in unit_HMatrix()
|
/dports/biology/infernal/infernal-1.1.3/easel/ |
H A D | esl_hmm.c | 764 ESL_HMX *hmx = esl_hmx_Create(400, hmm->M); in main() local 777 esl_hmx_GrowTo(hmx, sq->n, hmm->M); in main() 779 esl_hmm_Forward(sq->dsq, sq->n, hmm, hmx, &fwdsc); in main() 780 esl_hmm_Forward(sq->dsq, sq->n, bg, hmx, &nullsc); in main() 799 esl_hmx_Destroy(hmx); in main()
|
/dports/biology/hmmer/hmmer-3.3/easel/ |
H A D | esl_hmm.c | 764 ESL_HMX *hmx = esl_hmx_Create(400, hmm->M); in main() local 777 esl_hmx_GrowTo(hmx, sq->n, hmm->M); in main() 779 esl_hmm_Forward(sq->dsq, sq->n, hmm, hmx, &fwdsc); in main() 780 esl_hmm_Forward(sq->dsq, sq->n, bg, hmx, &nullsc); in main() 799 esl_hmx_Destroy(hmx); in main()
|
/dports/games/spring/spring_98.0/rts/Lua/ |
H A D | LuaPathFinder.cpp | 360 const unsigned int hmx = luaL_checkint(L, 1); in GetPathNodeCost() local 365 const float cost = pathManager->GetNodeExtraCost(hmx, hmz, synced); in GetPathNodeCost()
|
/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/tests/res/ |
H A D | unit_HMatrix.res | 3 |amx-hmx| = 4.28669792286e-16 matrixVectorProductCount = 18593
|
/dports/math/maxima/maxima-5.43.2/share/odepack/src/ |
H A D | dlsode.lisp | 78 (tdist 0.0) (tcrit 0.0) (rtoli 0.0) (rh 0.0) (hmx 0.0) 87 (type (double-float) atoli ayi big ewti h0 hmax hmx rh rtoli 390 (setf hmx (+ (abs tn) (abs h))) 391 (setf ihit (<= (abs (- tn tcrit)) (* 100.0 uround hmx))) 508 (setf hmx (+ (abs tn) (abs h))) 509 (setf ihit (<= (abs (- tn tcrit)) (* 100.0 uround hmx))) 517 (setf hmx (+ (abs tn) (abs h))) 518 (setf ihit (<= (abs (- tn tcrit)) (* 100.0 uround hmx)))
|
H A D | dlsodi.lisp | 87 (tcrit 0.0d0) (rtoli 0.0d0) (rh 0.0d0) (hmx 0.0d0) 96 (type (double-float) atoli ayi big ewti h0 hmax hmx rh 505 (setf hmx (+ (abs tn) (abs h))) 506 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx))) 682 (setf hmx (+ (abs tn) (abs h))) 683 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx))) 691 (setf hmx (+ (abs tn) (abs h))) 692 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx)))
|
H A D | dlsodpk.lisp | 103 (rcfn 0.0d0) (rcfl 0.0d0) (hmx 0.0d0) (hmax 0.0d0) (h0 0.0d0) 113 (type (double-float) atoli avdim ayi big ewti h0 hmax hmx 560 (setf hmx (+ (abs tn) (abs h))) 561 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx))) 794 (setf hmx (+ (abs tn) (abs h))) 795 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx))) 803 (setf hmx (+ (abs tn) (abs h))) 804 (setf ihit (<= (abs (- tn tcrit)) (* 100.0d0 uround hmx)))
|
/dports/biology/infernal/infernal-1.1.3/hmmer/src/ |
H A D | p7_bg.c | 473 …ESL_HMX *hmx = esl_hmx_Create(L, bg->fhmm->M); /* optimization target: this can be a 2-row matrix,… in p7_bg_FilterScore() local 476 esl_hmm_Forward(dsq, L, bg->fhmm, hmx, &nullsc); in p7_bg_FilterScore() 480 esl_hmx_Destroy(hmx); in p7_bg_FilterScore()
|
/dports/biology/hmmer/hmmer-3.3/src/ |
H A D | p7_bg.c | 473 …ESL_HMX *hmx = esl_hmx_Create(L, bg->fhmm->M); /* optimization target: this can be a 2-row matrix,… in p7_bg_FilterScore() local 476 esl_hmm_Forward(dsq, L, bg->fhmm, hmx, &nullsc); in p7_bg_FilterScore() 480 esl_hmx_Destroy(hmx); in p7_bg_FilterScore()
|
/dports/biology/infernal/infernal-1.1.3/src/impl_sse/ |
H A D | cm_optimized.c | 589 …ESL_HMX *hmx = esl_hmx_Create(L, bg->fhmm->M); /* optimization target: this can be a 2-row matrix,… in ccm_bg_FilterScore() local 592 esl_hmm_Forward(dsq, L, bg->fhmm, hmx, &nullsc); in ccm_bg_FilterScore() 596 esl_hmx_Destroy(hmx); in ccm_bg_FilterScore()
|