Home
last modified time | relevance | path

Searched refs:pcell (Results 1 – 25 of 252) sorted by relevance

1234567891011

/dports/science/py-pyscf/pyscf-2.0.1/pyscf/lib/test/
H A Dtest_numint_uniform_grid.py101 pcell.mesh = [30]*3
139 pcell.mesh = [30]*3
153 out = eval_mat(pcell, vxc[0], hermi=0)
157 out = eval_mat(pcell, vxc[0], hermi=1)
173 out = eval_mat(pcell, vxc[0])
194 out = eval_rho(pcell, dm1, kpts=kpts)
277 out = eval_rho(pcell, dm1, kpts=kpts)
311 out = eval_rho(pcell, dm1)
314 out = eval_rho(pcell, dm1, hermi=1)
334 out = eval_rho(pcell, dm1)
[all …]
/dports/games/flare-engine/flare-engine-1.12/src/
H A DMenuPowers.cpp88 return pcell; in getBonusCurrent()
555 if (!pcell) in checkRequirements()
590 if (!pcell) in checkRequirementStatus()
606 if (!pcell) in checkUnlocked()
618 if (!pcell->requires_point && pcell->upgrade_level <= 1 && checkRequirements(pcell)) in checkUnlocked()
629 if (!pcell) in checkUnlock()
729 if (!pcell || !pcell->next) in upgradePower()
794pcell != bonus_pcell || (pcell->passive_on && powers->powers[pcell->id].passive && (!checkRequirem… in setUnlockedPowers()
837 if (pcell && pcell->requires_point) in getPointsUsed()
881 if (pcell && pcell->upgrade_level > 0) { in createTooltip()
[all …]
H A DMenuPowers.h81 MenuPowersCell* getBonusCurrent(MenuPowersCell* pcell);
104 bool checkRequirements(MenuPowersCell* pcell);
105 bool checkRequirementStatus(MenuPowersCell* pcell);
106 bool checkUnlocked(MenuPowersCell* pcell);
107 bool checkUnlock(MenuPowersCell* pcell);
108 bool checkUpgrade(MenuPowersCell* pcell);
109 void lockCell(MenuPowersCell* pcell);
110 bool isBonusCell(MenuPowersCell* pcell);
111 bool isCellVisible(MenuPowersCell* pcell);
115 void upgradePower(MenuPowersCell* pcell, bool ignore_tab);
[all …]
/dports/textproc/catdoc/catdoc-0.95/src/
H A Dxlsparse.c220 unsigned char **pcell; in process_item() local
235 *pcell=NULL; in process_item()
240 unsigned char **pcell; in process_item() local
245 *pcell=NULL; in process_item()
252 unsigned char **pcell; in process_item() local
272 *pcell=malloc(1); in process_item()
273 **pcell = 0; in process_item()
282 unsigned char **pcell; in process_item() local
293 unsigned char **pcell; in process_item() local
304 unsigned char **pcell; in process_item() local
[all …]
/dports/graphics/R-cran-s2/s2/src/s2/
H A Ds2crossing_edge_query.cc213 S2PaddedCell pcell(S2CellId::FromFace(segment.face), 0); in VisitCells() local
214 S2CellId edge_root = pcell.ShrinkToFit(edge_bound); in VisitCells()
234 if (!VisitCells(pcell, edge_bound)) return false; in VisitCells()
268 S2_DCHECK_EQ(pcell.padding(), 0); in VisitCells()
270 iter_.Seek(pcell.id().range_min()); in VisitCells()
271 if (iter_.done() || iter_.id() > pcell.id().range_max()) { in VisitCells()
275 if (iter_.id() == pcell.id()) { in VisitCells()
280 R2Point center = pcell.middle().lo(); in VisitCells()
283 return ClipVAxis(edge_bound, center[1], 0, pcell); in VisitCells()
286 return ClipVAxis(edge_bound, center[1], 1, pcell); in VisitCells()
[all …]
H A Dmutable_s2shape_index.cc960 if (shrunk_id != pcell.id()) { in UpdateFaceEdges()
1093 const R2Rect& middle = pcell.middle(); in UpdateEdges()
1140 pcell.GetChildIJ(pos, &i, &j); in UpdateEdges()
1255 S2_DCHECK_EQ(pcell.id(), iter.id()); in AbsorbIndexCell()
1272 if (!tracker->at_cellid(pcell.id())) { in AbsorbIndexCell()
1275 tracker->DrawTo(pcell.GetExitVertex()); in AbsorbIndexCell()
1320 tracker->MoveTo(pcell.GetCenter()); in AbsorbIndexCell()
1359 cell_map_.erase(pcell.id()); in AbsorbIndexCell()
1408 if (!tracker->at_cellid(pcell.id())) { in MakeIndexCell()
1411 tracker->DrawTo(pcell.GetCenter()); in MakeIndexCell()
[all …]
/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Ds2crossing_edge_query.cc213 S2PaddedCell pcell(S2CellId::FromFace(segment.face), 0); in VisitCells() local
214 S2CellId edge_root = pcell.ShrinkToFit(edge_bound); in VisitCells()
234 if (!VisitCells(pcell, edge_bound)) return false; in VisitCells()
268 S2_DCHECK_EQ(pcell.padding(), 0); in VisitCells()
270 iter_.Seek(pcell.id().range_min()); in VisitCells()
271 if (iter_.done() || iter_.id() > pcell.id().range_max()) { in VisitCells()
275 if (iter_.id() == pcell.id()) { in VisitCells()
280 R2Point center = pcell.middle().lo(); in VisitCells()
283 return ClipVAxis(edge_bound, center[1], 0, pcell); in VisitCells()
286 return ClipVAxis(edge_bound, center[1], 1, pcell); in VisitCells()
[all …]
H A Ds2padded_cell_test.cc33 void CompareS2CellToPadded(const S2Cell& cell, const S2PaddedCell& pcell, in CompareS2CellToPadded() argument
35 EXPECT_EQ(cell.id(), pcell.id()); in CompareS2CellToPadded()
36 EXPECT_EQ(cell.level(), pcell.level()); in CompareS2CellToPadded()
37 EXPECT_EQ(padding, pcell.padding()); in CompareS2CellToPadded()
38 EXPECT_EQ(cell.GetBoundUV().Expanded(padding), pcell.bound()); in CompareS2CellToPadded()
40 EXPECT_EQ(R2Rect::FromPoint(center_uv).Expanded(padding), pcell.middle()); in CompareS2CellToPadded()
41 EXPECT_EQ(cell.GetCenter(), pcell.GetCenter()); in CompareS2CellToPadded()
51 S2PaddedCell pcell(id, padding); in TEST() local
52 CompareS2CellToPadded(cell, pcell, padding); in TEST()
58 pcell.GetChildIJ(pos, &i, &j); in TEST()
[all …]
H A Dmutable_s2shape_index.cc960 if (shrunk_id != pcell.id()) { in UpdateFaceEdges()
1093 const R2Rect& middle = pcell.middle(); in UpdateEdges()
1140 pcell.GetChildIJ(pos, &i, &j); in UpdateEdges()
1255 S2_DCHECK_EQ(pcell.id(), iter.id()); in AbsorbIndexCell()
1272 if (!tracker->at_cellid(pcell.id())) { in AbsorbIndexCell()
1275 tracker->DrawTo(pcell.GetExitVertex()); in AbsorbIndexCell()
1320 tracker->MoveTo(pcell.GetCenter()); in AbsorbIndexCell()
1359 cell_map_.erase(pcell.id()); in AbsorbIndexCell()
1408 if (!tracker->at_cellid(pcell.id())) { in MakeIndexCell()
1411 tracker->DrawTo(pcell.GetCenter()); in MakeIndexCell()
[all …]
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Ds2crossing_edge_query.cc213 S2PaddedCell pcell(S2CellId::FromFace(segment.face), 0); in VisitCells() local
214 S2CellId edge_root = pcell.ShrinkToFit(edge_bound); in VisitCells()
234 if (!VisitCells(pcell, edge_bound)) return false; in VisitCells()
268 S2_DCHECK_EQ(pcell.padding(), 0); in VisitCells()
270 iter_.Seek(pcell.id().range_min()); in VisitCells()
271 if (iter_.done() || iter_.id() > pcell.id().range_max()) { in VisitCells()
275 if (iter_.id() == pcell.id()) { in VisitCells()
280 R2Point center = pcell.middle().lo(); in VisitCells()
283 return ClipVAxis(edge_bound, center[1], 0, pcell); in VisitCells()
286 return ClipVAxis(edge_bound, center[1], 1, pcell); in VisitCells()
[all …]
H A Ds2padded_cell_test.cc33 void CompareS2CellToPadded(const S2Cell& cell, const S2PaddedCell& pcell, in CompareS2CellToPadded() argument
35 EXPECT_EQ(cell.id(), pcell.id()); in CompareS2CellToPadded()
36 EXPECT_EQ(cell.level(), pcell.level()); in CompareS2CellToPadded()
37 EXPECT_EQ(padding, pcell.padding()); in CompareS2CellToPadded()
38 EXPECT_EQ(cell.GetBoundUV().Expanded(padding), pcell.bound()); in CompareS2CellToPadded()
40 EXPECT_EQ(R2Rect::FromPoint(center_uv).Expanded(padding), pcell.middle()); in CompareS2CellToPadded()
41 EXPECT_EQ(cell.GetCenter(), pcell.GetCenter()); in CompareS2CellToPadded()
51 S2PaddedCell pcell(id, padding); in TEST() local
52 CompareS2CellToPadded(cell, pcell, padding); in TEST()
58 pcell.GetChildIJ(pos, &i, &j); in TEST()
[all …]
H A Dmutable_s2shape_index.cc960 if (shrunk_id != pcell.id()) { in UpdateFaceEdges()
1093 const R2Rect& middle = pcell.middle(); in UpdateEdges()
1140 pcell.GetChildIJ(pos, &i, &j); in UpdateEdges()
1255 S2_DCHECK_EQ(pcell.id(), iter.id()); in AbsorbIndexCell()
1272 if (!tracker->at_cellid(pcell.id())) { in AbsorbIndexCell()
1275 tracker->DrawTo(pcell.GetExitVertex()); in AbsorbIndexCell()
1320 tracker->MoveTo(pcell.GetCenter()); in AbsorbIndexCell()
1359 cell_map_.erase(pcell.id()); in AbsorbIndexCell()
1408 if (!tracker->at_cellid(pcell.id())) { in MakeIndexCell()
1411 tracker->DrawTo(pcell.GetCenter()); in MakeIndexCell()
[all …]
/dports/science/py-phonopy/phonopy-2.11.0/test/structure/
H A Dtest_cells.py111 pcell = get_primitive(convcell_nacl, primitive_matrix_nacl)
112 helper_methods.compare_cells_with_order(pcell, primcell_nacl)
119 pcell = get_primitive(convcell_nacl,
122 svecs, multi = pcell.get_smallest_vectors()
160 pcell = ph_nacl.primitive
162 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map])
175 pcell = ph_nacl.primitive
177 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map],
197 pcell = ph_nacl.primitive
200 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map],
[all …]
H A Dtest_symmetry.py86 pcell = ph_nacl.primitive
88 idx = [scell.u2u_map[i] for i in scell.s2u_map[pcell.p2s_map]]
101 pcell = ph_nacl.primitive
103 idx = [scell.u2u_map[i] for i in scell.s2u_map[pcell.p2s_map]]
104 idx2 = _get_mapping_between_cells(pcell, pcell)
105 np.testing.assert_array_equal(idx2, np.arange(len(pcell)))
109 uborns, uepsilon, ph_nacl.unitcell, primitive=pcell)
/dports/science/phonopy/phonopy-2.11.0/test/structure/
H A Dtest_cells.py111 pcell = get_primitive(convcell_nacl, primitive_matrix_nacl)
112 helper_methods.compare_cells_with_order(pcell, primcell_nacl)
119 pcell = get_primitive(convcell_nacl,
122 svecs, multi = pcell.get_smallest_vectors()
160 pcell = ph_nacl.primitive
162 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map])
175 pcell = ph_nacl.primitive
177 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map],
197 pcell = ph_nacl.primitive
200 spairs = ShortestPairs(scell.cell, pos, pos[pcell.p2s_map],
[all …]
H A Dtest_symmetry.py86 pcell = ph_nacl.primitive
88 idx = [scell.u2u_map[i] for i in scell.s2u_map[pcell.p2s_map]]
101 pcell = ph_nacl.primitive
103 idx = [scell.u2u_map[i] for i in scell.s2u_map[pcell.p2s_map]]
104 idx2 = _get_mapping_between_cells(pcell, pcell)
105 np.testing.assert_array_equal(idx2, np.arange(len(pcell)))
109 uborns, uepsilon, ph_nacl.unitcell, primitive=pcell)
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/lib/pbc/test/
H A Dtest_pbc_fill_int.py67 pcell = copy.copy(cell)
68 pcell._atm, pcell._bas, pcell._env = \
75 pbcopt = _pbcintor.PBCOpt(pcell).init_rcut_cond(pcell, 1e-9)
94 pcell = copy.copy(cell)
95 pcell._atm, pcell._bas, pcell._env = \
109 pbcopt = _pbcintor.PBCOpt(pcell).init_rcut_cond(pcell, 1e-9)
/dports/games/agame/game/
H A Dgame.c219 struct cell_t *pcell = NULL; in game_tick() local
331 cell = pcell = NULL; in game_tick()
333 pcell = cell; in game_tick()
336 …if(cell && pcell && (cell->contents) && (cell->contents == pcell->contents) && !cell->exploding &&… in game_tick()
353 cell = pcell = NULL; in game_tick()
355 pcell = cell; in game_tick()
358 …if(cell && pcell && (cell->contents) && (cell->contents == pcell->contents) && !cell->exploding &&… in game_tick()
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/pbc/df/
H A Dincore.py126 pcell = copy.copy(cell)
127 pcell._atm, pcell._bas, pcell._env = \
175 pbcopt = _pbcintor.PBCOpt(pcell).init_rcut_cond(pcell)
/dports/print/ghostscript8-x11/ghostscript-8.71/base/
H A Dgswts.c1060 bits32 **pcell; in wts_sort_cell() local
1067 pcell[i] = &cell[i]; in wts_sort_cell()
1071 free(pcell); in wts_sort_cell()
1158 bits32 **pcell; in wts_sort_blue() local
1173 free(pcell); in wts_sort_blue()
1178 pcell[i] = &cell[i]; in wts_sort_blue()
1182 pcell[i] = (pcell[i] - cell) + ref; in wts_sort_blue()
1201 gmin = *pcell[j]; in wts_sort_blue()
1206 pcell[jmin] = pcell[i]; in wts_sort_blue()
1244 *pcell[j] -= gmin; in wts_sort_blue()
[all …]
/dports/print/ghostscript8-base/ghostscript-8.71/base/
H A Dgswts.c1060 bits32 **pcell; in wts_sort_cell() local
1067 pcell[i] = &cell[i]; in wts_sort_cell()
1071 free(pcell); in wts_sort_cell()
1158 bits32 **pcell; in wts_sort_blue() local
1173 free(pcell); in wts_sort_blue()
1178 pcell[i] = &cell[i]; in wts_sort_blue()
1182 pcell[i] = (pcell[i] - cell) + ref; in wts_sort_blue()
1201 gmin = *pcell[j]; in wts_sort_blue()
1206 pcell[jmin] = pcell[i]; in wts_sort_blue()
1244 *pcell[j] -= gmin; in wts_sort_blue()
[all …]
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/g++.dg/ubsan/
H A Dpr86406.C29 ECell_const_ptr pcell = NULL_CELL; in openCellLayoutView() local
31 return handleChangeFlags (p_user_interface, pcell); in openCellLayoutView()
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/g++.dg/ubsan/
H A Dpr86406.C29 ECell_const_ptr pcell = NULL_CELL; in openCellLayoutView() local
31 return handleChangeFlags (p_user_interface, pcell); in openCellLayoutView()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/g++.dg/ubsan/
H A Dpr86406.C29 ECell_const_ptr pcell = NULL_CELL; in openCellLayoutView() local
31 return handleChangeFlags (p_user_interface, pcell); in openCellLayoutView()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/g++.dg/ubsan/
H A Dpr86406.C29 ECell_const_ptr pcell = NULL_CELL; in openCellLayoutView() local
31 return handleChangeFlags (p_user_interface, pcell); in openCellLayoutView()

1234567891011