Home
last modified time | relevance | path

Searched refs:nbv (Results 1 – 25 of 566) sorted by relevance

12345678910>>...23

/dports/science/py-abipy/abipy-0.9.0/abipy/abio/
H A Dtimer.py25 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
29nbv.new_code_cell("parser = abilab.AbinitTimerParser()\nparser.parse(%s)" % str(filenames)),
30 nbv.new_code_cell("display(parser.summarize())"),
31 nbv.new_markdown_cell("# This is a markdown cell"),
32 nbv.new_code_cell("parser.plot_stacked_hist();"),
33 nbv.new_code_cell("parser.plot_efficiency(what='good', nmax=5);"),
34 nbv.new_code_cell("parser.plot_efficiency(what='bad', nmax=5);"),
35 nbv.new_markdown_cell("# This is a markdown cell"),
36 nbv.new_code_cell("parser.plot_pie();"),
38 nbv.new_code_cell("""\
/dports/math/freefem++/FreeFem-sources-4.6/src/bamglib/
H A DMeshRead.cpp115 f_in >> nbv; in Read()
117 nbvx = nbv; in Read()
123 nbiv = nbv; in Read()
246 assert(i1 <= nbv && i2 <= nbv); in Read()
369 nbvx = nbv; in Read_am_fmt()
410 nbvx = nbv; in Read_am()
498 nbv = np; in Read_nopo()
506 nbvx = nbv; in Read_nopo()
639 nbvx = nbv; in Read_ftq()
689 nbvx = nbv; in Read_msh()
[all …]
H A DMesh2.cpp905 R2 AB = vertices[nbv - 2].r - vertices[nbv - 1].r; in NewPoints()
1671 nbv = iv; in SplitInternalEdgeWithBorderVertices()
1764 nbv = iv; in InsertNewPoints()
3061 nbv = 0; in PreInit()
3199 nbv++; in GeomToTriangles1()
3552 nbv = 0; in GeomToTriangles0()
3565 if (nbv < nbvx) vertices[nbv] = Gh[i]; in GeomToTriangles0()
3569 nbv++; in GeomToTriangles0()
4316 nbv = Th.nbv; in Triangles()
4730 int nbnewv = nbv - nbv; // nb of new vrtices in CrackMesh()
[all …]
H A DMeshGeom.cpp53 if (nbt <= 0 || nbv <= 0) { in ConsGeometry()
313 for (i = 0; i < nbv; i++) in ConsGeometry()
316 Gh.nbv = k; in ConsGeometry()
338 for (i = 0; i < nbv; i++) in ConsGeometry()
439 for (i = 0; i < Gh.nbv; i++) in ConsGeometry()
488 nbiv = nbv = nbvx = 0; in EmptyGeometry()
504 vertices = nbv ? new GeometricalVertex[nbv] : NULL; in Geometry()
737 Int4 *hv = new Int4[nbv]; in AfterRead()
761 cout << " Number of distinte vertices " << nbv - k << " Over " << nbv << endl; in AfterRead()
799 for (i = 0; i < nbv; i++) in AfterRead()
[all …]
H A DMeshWrite.cpp210 Edge **head = new Edge *[nbv]; in Write_nop5()
379 f << Int4(nbv + nbv); in Write_nopo()
413 f << (Int4)2 * nbv; in Write_nopo()
451 f << nbv << nbInT; in Write_am()
459 for (i = 0; i < nbv; i++) { in Write_am()
502 for (i = 0; i < nbv; i++) in Write_ftq()
514 for (i = 0; i < nbv; i++) in Write_msh()
535 float coord[nbv][2]; in Write_hdf5()
538 for (i = 0; i < nbv; i++) { in Write_hdf5()
577 for (i = 0; i < nbv; i++) in Write_amdba()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/bamg/bamglib/
H A DMeshRead.cpp119 nbvx=nbv; in Read()
125 nbiv = nbv; in Read()
257 assert(i1 <= nbv && i2 <= nbv); in Read()
397 nbvx = nbv; in Read_am_fmt()
446 nbvx = nbv; in Read_am()
536 nbv = np; in Read_nopo()
545 nbvx = nbv; in Read_nopo()
709 nbvx = nbv; in Read_ftq()
772 nbvx = nbv; in Read_msh()
820 nbvx = nbv; in Read_amdba()
[all …]
H A DMesh2.cpp903 R2 AB = vertices[nbv-2].r - vertices[nbv-1].r ; in NewPoints()
1786 nbv = iv; in InsertNewPoints()
2139 vertices[nbv].ReferenceNumber=nbv;// circular link in NewPointsOld()
2353 nbv = kkk; in NewPointsOld()
3184 nbv=0; in PreInit()
3330 nbv++;} in GeomToTriangles1()
3694 nbv = 0; in GeomToTriangles0()
3713 nbv++; in GeomToTriangles0()
4483 nbv = Th.nbv; in Triangles()
4923 int nbnewv = nbv - nbv; // nb of new vrtices in CrackMesh()
[all …]
H A DMeshWrite.cpp148 for (i=0;i<nbv;i++) in Write_nop5()
339 f << Int4(nbv+nbv) ; in Write_nopo()
377 f << (Int4) 2*nbv; in Write_nopo()
378 for (i=0;i<nbv;i++) in Write_nopo()
402 for (i=0;i<nbv;i++) in Write_am_fmt()
424 f << nbv << nbInT ; in Write_am()
433 for (i=0;i<nbv;i++) in Write_am()
442 for (i=0;i<nbv;i++) in Write_am()
487 for (i=0;i<nbv;i++) in Write_ftq()
503 for (i=0;i<nbv;i++) in Write_msh()
[all …]
/dports/cad/opencascade/opencascade-7.6.0/src/IGESSelect/
H A DIGESSelect_RebuildDrawings.cxx89 Standard_Integer nbv = draw->NbViews(); in Performing() local
91 if (nbv > 0) views = new IGESDraw_HArray1OfViewKindEntity (1,nbv); in Performing()
95 if (nbv > 0) origs = new TColgp_HArray1OfXY (1,nbv); in Performing()
96 for (Standard_Integer iv = 1; iv <= nbv; iv ++) { in Performing()
125 Standard_Integer nbv = draw->NbViews(); in Performing() local
127 if (nbv > 0) views = new IGESDraw_HArray1OfViewKindEntity (1,nbv); in Performing()
131 if (nbv > 0) origs = new TColgp_HArray1OfXY (1,nbv); in Performing()
133 if (nbv > 0) { rots = new TColStd_HArray1OfReal (1,nbv); rots->Init(0.0); } in Performing()
135 for (Standard_Integer iv = 1; iv <= nbv; iv ++) { in Performing()
/dports/math/freefem++/FreeFem-sources-4.6/src/medit/
H A Dsftcpy.c135 nbv = *ptr; in coreps()
136 ptr += (7 * nbv); in coreps()
147 nbv = *ptr; in coreps()
148 printf("nbv = %d\n", nbv); in coreps()
187 nbv = *ptr; in coreps()
192 for (k = 1; k < nbv; k++) { in coreps()
196 ttoken[nit].depth /= nbv; in coreps()
197 ptr += (7 * nbv); in coreps()
241 nbv = *ptr; in coreps()
264 fprintf(file, "%g %g %g %g sgm\n\n", v[nbv - 1].x, v[nbv - 1].y, v[0].x, v[0].y); in coreps()
[all …]
/dports/science/medit/medit-2012.02.05_5/sources/
H A Dsftcpy.c116 nbv = *ptr; in coreps()
117 ptr += (7 * nbv); in coreps()
128 nbv = *ptr; in coreps()
164 nbv = *ptr; in coreps()
168 for (k=1; k<nbv; k++) in coreps()
171 ptr += (7 * nbv); in coreps()
212 nbv = *ptr; in coreps()
220 for (i=0; i<nbv; i++) in coreps()
228 for (i=0; i<nbv-1; i++) in coreps()
230 fprintf(file,"%g %g %g %g sgm\n\n",v[nbv-1].x,v[nbv-1].y,v[0].x,v[0].y); in coreps()
[all …]
/dports/math/freefem++/FreeFem-sources-4.6/plugin/seq/
H A Dsplitmesh12.cpp68 int nbv = Th.nv; // nombre de sommet in SplitMesh12() local
84 Vertex3 *v = new Vertex3[nbv + nbt + nbe + nbnv]; in SplitMesh12()
91 for (int i = 0; i < nbv; i++) { in SplitMesh12()
129 int ii = nbv + nbt + i; // numero du in SplitMesh12()
130 int jj = nbv + k; // numero du in SplitMesh12()
158 Vertex3 dir(v[nbv + k] - v[nbv + kk]); in SplitMesh12()
163 vv->x = v[nbv + kk].x + rr * dir.x; in SplitMesh12()
164 vv->y = v[nbv + kk].y + rr * dir.y; in SplitMesh12()
165 vv->z = v[nbv + kk].z + rr * dir.z; in SplitMesh12()
172 int ivt[4] = {ij == 0 ? nbv + k : nbv + kk, i1, i2, static_cast< int >(vv - v)}; in SplitMesh12()
[all …]
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/
H A Dsim_util.cpp406 nonbonded_verlet_t* nbv = fr->nbv.get(); in do_nb_verlet() local
409 if (!nbv->useGpu()) in do_nb_verlet()
1060 nonbonded_verlet_t* nbv = fr->nbv.get(); in setupGpuForceReductions() local
1068 stateGpu->getForces(), nbv->getNumAtoms(AtomLocality::Local), nbv->getGridIndices(), in setupGpuForceReductions()
1159 nonbonded_verlet_t* nbv = fr->nbv.get(); in do_force() local
1347 Nbnxm::gpu_init_atomdata(nbv->gpu_nbv, nbv->nbat.get()); in do_force()
1362 nbv->getGridIndices(), top->idef, Nbnxm::gpu_get_xq(nbv->gpu_nbv), in do_force()
1363 Nbnxm::gpu_get_f(nbv->gpu_nbv), Nbnxm::gpu_get_fshift(nbv->gpu_nbv)); in do_force()
1419 Nbnxm::gpu_upload_shiftvec(nbv->gpu_nbv, nbv->nbat.get()); in do_force()
1422 Nbnxm::gpu_copy_xq_to_gpu(nbv->gpu_nbv, nbv->nbat.get(), AtomLocality::Local); in do_force()
[all …]
H A Dresethandler.cpp143 nonbonded_verlet_t* nbv, in resetCountersImpl() argument
182 if (nbv && nbv->useGpu()) in resetCountersImpl()
184 Nbnxm::gpu_reset_timings(nbv); in resetCountersImpl()
192 if ((nbv && nbv->useGpu()) || pme_gpu_task_enabled(pme)) in resetCountersImpl()
/dports/science/plumed/plumed2-2.7.2/patches/gromacs-2021.diff/src/gromacs/mdlib/
H A Dsim_util.cpp412 nonbonded_verlet_t* nbv = fr->nbv.get(); in do_nb_verlet() local
415 if (!nbv->useGpu()) in do_nb_verlet()
1066 nonbonded_verlet_t* nbv = fr->nbv.get(); in setupGpuForceReductions() local
1074 stateGpu->getForces(), nbv->getNumAtoms(AtomLocality::Local), nbv->getGridIndices(), in setupGpuForceReductions()
1165 nonbonded_verlet_t* nbv = fr->nbv.get(); in do_force() local
1353 Nbnxm::gpu_init_atomdata(nbv->gpu_nbv, nbv->nbat.get()); in do_force()
1368 nbv->getGridIndices(), top->idef, Nbnxm::gpu_get_xq(nbv->gpu_nbv), in do_force()
1369 Nbnxm::gpu_get_f(nbv->gpu_nbv), Nbnxm::gpu_get_fshift(nbv->gpu_nbv)); in do_force()
1425 Nbnxm::gpu_upload_shiftvec(nbv->gpu_nbv, nbv->nbat.get()); in do_force()
1428 Nbnxm::gpu_copy_xq_to_gpu(nbv->gpu_nbv, nbv->nbat.get(), AtomLocality::Local); in do_force()
[all …]
/dports/math/geogram/geogram-1.7.7/src/lib/exploragram/hexdom/
H A Dpolygon.cpp54 index_t nbv = pts.size(); in dump_contour() local
178 FOR(q, nbv / 2) { in parity_of_original_points()
181 det(pts[(q * 2 + 0 + d) % nbv] - pts[(q * 2 + 1 + d) % nbv], in parity_of_original_points()
182 pts[(q * 2 + 2 + d) % nbv] - pts[(q * 2 + 1 + d) % nbv]))); in parity_of_original_points()
193 FOR(q, nbv / 2) { in middle_point_quadrangulate()
194 quads.push_back(nbv); in middle_point_quadrangulate()
519 if (nbv == 4) { in try_quadrangulate()
526 if (nbv % 2 != 0) { in try_quadrangulate()
709 if (nbv == 3) { in try_triangulate_minweight()
715 geo_assert(nbv > 3); in try_triangulate_minweight()
[all …]
/dports/science/py-abipy/abipy-0.9.0/abipy/electrons/
H A Deskw.py98 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
101 nbv.new_code_cell("eskw = abilab.abiopen('%s')" % self.filepath),
102 nbv.new_code_cell("print(eskw)"),
103 nbv.new_code_cell("eskw.ebands.plot();"),
104 nbv.new_code_cell("eskw.ebands.kpoints.plot();"),
105nbv.new_code_cell("# eskw.ebands.plot_transitions(omega_ev=3.0, qpt=(0, 0, 0), atol_ev=0.1);"),
106 nbv.new_code_cell("""\
H A Dgsr.py253 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
257 nbv.new_code_cell("print(gsr)"),
258 nbv.new_code_cell("gsr.ebands.plot();"),
259 nbv.new_code_cell("gsr.ebands.kpoints.plot();"),
261 nbv.new_code_cell("""\
621 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
629 nbv.new_code_cell("ebands_plotter.ipw_select_plot()"),
630 nbv.new_code_cell("#anim = ebands_plotter.animate();"),
631 nbv.new_code_cell("edos_plotter = robot.get_edos_plotter()"),
632 nbv.new_code_cell("edos_plotter.ipw_select_plot()"),
[all …]
/dports/math/freefem++/FreeFem-sources-4.6/examples/bamg/NACA012/
H A Dplot.fv4 integer nbv,dim,nbfield
24 sizeof SOL nbfield ,nbv,dim
25 print *,'2 --------',nbv,dim,nbfield
26 new sol(nbfield,nbv)
29 new mach(nbv)
32 do j=1,nbv
39 set ssom D2 scal MACH mach nbv
/dports/cad/gmsh/gmsh-4.9.2-source/Graphics/
H A DdrawScales.cpp104 int nbv = opt->nbIso; in drawScaleValues() local
111 if(horizontal && width < nbv * maxw) { in drawScaleValues()
113 nbv = 1; in drawScaleValues()
115 nbv = 2; in drawScaleValues()
119 nbv = 1; in drawScaleValues()
121 nbv = 2; in drawScaleValues()
132 for(int i = 0; i < nbv + 1; i++) { in drawScaleValues()
145 if(opt->nbIso > 2 && (nbv == 1 || nbv == 2)) { in drawScaleValues()
146 vbox = (vbox * nbv - box) / nbv; in drawScaleValues()
147 nbv++; in drawScaleValues()
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/Geo/
H A DGModelIO_PLY.cpp64 int nbv = 0, nbf = 0; in readPLY() local
95 Msg::Info("%d elements", nbv); in readPLY()
98 vertexVector.resize(nbv); in readPLY()
100 for(int i = 0; i < nbv; i++) { in readPLY()
134 std::size_t num_coords = 3 * nbv; in readPLY()
139 for(int i = 0; i < nbv; i++) { in readPLY()
229 int nbv, nbf; in readPLY2() local
233 sscanf(buffer, "%d", &nbv); in readPLY2()
236 Msg::Info("%d nodes", nbv); in readPLY2()
238 vertexVector.resize(nbv); in readPLY2()
[all …]
/dports/science/py-abipy/abipy-0.9.0/abipy/wannier90/
H A Dabiwan.py375 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
379 nbv.new_code_cell("print(abiwan.to_string(verbose=0))"),
380 nbv.new_code_cell("abiwan.ebands.plot();"),
381 nbv.new_code_cell("abiwan.ebands.kpoints.plot();"),
382 nbv.new_code_cell("abiwan.hwan.plot();"),
384 nbv.new_code_cell("ebands_kpath = abiwan.interpolate_ebands()"),
385 nbv.new_code_cell("ebands_kpath.plot();"),
659 nbformat, nbv, nb = self.get_nbformat_nbv_nb(title=None)
665 nbv.new_code_cell("robot.get_dataframe()"),
666 nbv.new_code_cell("robot.plot_hwanr();"),
[all …]
/dports/net/openldap25-client/openldap-2.5.9/servers/slapd/
H A Dfilterentry.c275 struct berval nbv = BER_BVNULL; in test_mra_filter() local
310 nbv = *bv; in test_mra_filter()
317 memfree( nbv.bv_val, memctx ); in test_mra_filter()
385 struct berval nbv = BER_BVNULL; in test_mra_filter() local
400 nbv = *bv; in test_mra_filter()
407 memfree( nbv.bv_val, memctx ); in test_mra_filter()
442 nbv = BER_BVNULL; in test_mra_filter() local
496 nbv = *bv; in test_mra_filter()
501 &nbv, &value, &text ); in test_mra_filter()
508 if ( !BER_BVISNULL( &nbv ) && nbv.bv_val != bv->bv_val ) { in test_mra_filter()
[all …]
/dports/net/openldap25-server/openldap-2.5.9/servers/slapd/
H A Dfilterentry.c275 struct berval nbv = BER_BVNULL; in test_mra_filter() local
310 nbv = *bv; in test_mra_filter()
317 memfree( nbv.bv_val, memctx ); in test_mra_filter()
385 struct berval nbv = BER_BVNULL; in test_mra_filter() local
400 nbv = *bv; in test_mra_filter()
407 memfree( nbv.bv_val, memctx ); in test_mra_filter()
442 nbv = BER_BVNULL; in test_mra_filter() local
496 nbv = *bv; in test_mra_filter()
501 &nbv, &value, &text ); in test_mra_filter()
508 if ( !BER_BVISNULL( &nbv ) && nbv.bv_val != bv->bv_val ) { in test_mra_filter()
[all …]
/dports/net/openldap24-server/openldap-2.4.59/servers/slapd/
H A Dfilterentry.c275 struct berval nbv = BER_BVNULL; in test_mra_filter() local
310 nbv = *bv; in test_mra_filter()
317 memfree( nbv.bv_val, memctx ); in test_mra_filter()
385 struct berval nbv = BER_BVNULL; in test_mra_filter() local
400 nbv = *bv; in test_mra_filter()
407 memfree( nbv.bv_val, memctx ); in test_mra_filter()
442 nbv = BER_BVNULL; in test_mra_filter() local
496 nbv = *bv; in test_mra_filter()
501 &nbv, &value, &text ); in test_mra_filter()
508 if ( !BER_BVISNULL( &nbv ) && nbv.bv_val != bv->bv_val ) { in test_mra_filter()
[all …]

12345678910>>...23