Home
last modified time | relevance | path

Searched refs:nml (Results 1 – 25 of 1763) sorted by relevance

12345678910>>...71

/dports/science/cgribex/cgribex-1.9.4/app/
H A Dnamelist.c89 if ( nml ) in namelistDelete()
107 if ( nml->name ) free(nml->name); in namelistDelete()
117 if ( nml ) in namelistReset()
153 i+1, nml->entry[i]->name, nml->entry[i]->type, (int)nml->entry[i]->size, in namelistPrint()
154 nml->entry[i]->dis, nml->entry[i]->occ); in namelistPrint()
203 nml->entry[nml->size++] = nml_entry; in namelistAdd()
278 if (nml->line.linelc[j] == nml->line.linelc[nml->line.namitf]) in getnite()
383 len = nml->line.namitl - nml->line.namitf + 1; in rdnlsgl()
476 nml->line.lineac[nml->line.namitf] == '$' || in namelistRead()
477 nml->line.lineac[nml->line.namitf] == '&' ) in namelistRead()
[all …]
H A Dnamelist.h31 #define NML_ADD_INT(nml, name) namelistAdd(nml, #name, NML_INT, 0, sel##name, sizeof(sel##name)/siz… argument
32 #define NML_ADD_FLT(nml, name) namelistAdd(nml, #name, NML_DOUBLE, 0, sel##name, sizeof(sel##name)/… argument
33 #define NML_NUM(nml, name) nsel##name = namelistNum(nml, #name) argument
67 void namelistDelete(namelist_t *nml);
68 void namelistReset(namelist_t *nml);
69 int namelistAdd(namelist_t *nml, const char *name, int type, int dis, void *ptr, size_t size);
70 void namelistPrint(namelist_t *nml);
71 void namelistRead(FILE *nmlfp, namelist_t *nml);
72 int namelistNum(namelist_t *nml, const char *name);
H A Dgrib2.c212 namelist_t *nml = NULL; in main() local
520 NML_NUM(nml, bits); in main()
521 NML_NUM(nml, code); in main()
522 NML_NUM(nml, fcnum); in main()
523 NML_NUM(nml, day); in main()
524 NML_NUM(nml, hour); in main()
525 NML_NUM(nml, level); in main()
526 NML_NUM(nml, ltype); in main()
528 NML_NUM(nml, month); in main()
530 NML_NUM(nml, rec); in main()
[all …]
H A Dgrib.c291 namelist_t *nml = NULL; in main() local
640 NML_NUM(nml, bits); in main()
641 NML_NUM(nml, code); in main()
642 NML_NUM(nml, fcnum); in main()
643 NML_NUM(nml, day); in main()
644 NML_NUM(nml, hour); in main()
645 NML_NUM(nml, level); in main()
646 NML_NUM(nml, ltype); in main()
648 NML_NUM(nml, month); in main()
650 NML_NUM(nml, rec); in main()
[all …]
/dports/science/xcrysden/xcrysden-1.6.2/C/
H A DcryClip.c330 qn.x = nml[0].x - s020 * (nml[2].x - nml[0].x); in cryIsosurfClip()
331 qn.y = nml[0].y - s020 * (nml[2].y - nml[0].y); in cryIsosurfClip()
332 qn.z = nml[0].z - s020 * (nml[2].z - nml[0].z); in cryIsosurfClip()
339 qn.x = nml[0].x - s010 * (nml[1].x - nml[0].x); in cryIsosurfClip()
340 qn.y = nml[0].y - s010 * (nml[1].y - nml[0].y); in cryIsosurfClip()
341 qn.z = nml[0].z - s010 * (nml[1].z - nml[0].z); in cryIsosurfClip()
354 nml[3] = nml[2]; in cryIsosurfClip()
358 qn.x = nml[1].x - s121 * (nml[2].x - nml[1].x); in cryIsosurfClip()
359 qn.y = nml[1].y - s121 * (nml[2].y - nml[1].y); in cryIsosurfClip()
360 qn.z = nml[1].z - s121 * (nml[2].z - nml[1].z); in cryIsosurfClip()
[all …]
H A Dpolygonise_auxil.c277 nml[i].x = nml[i].y = nml[i].z = 0.0; in SurfNmlAver()
355 nml.x = .0; in TriangleWeightNormalS()
356 nml.y = .0; in TriangleWeightNormalS()
357 nml.z = .0; in TriangleWeightNormalS()
360 return(nml); in TriangleWeightNormalS()
389 nml.x = 0.0; in TriangleWeightNormal()
390 nml.y = 0.0; in TriangleWeightNormal()
391 nml.z = 0.0; in TriangleWeightNormal()
394 return(nml); in TriangleWeightNormal()
399 XYZ nml; in VertexNormal() local
[all …]
H A DxcPrimitives.c27 void xcParallelogram(int type, float p[4][3], float nml[3]);
83 xcParallelogram( int type, float p[4][3], float nml[3] ) in xcParallelogram()
89 glNormal3fv( nml ); in xcParallelogram()
97 glNormal3fv( nml ); in xcParallelogram()
114 glNormal3fv( nml ); in xcParallelogram()
121 glNormal3f( -nml[0], -nml[1], -nml[2] ); in xcParallelogram()
H A DxcIsoSpaceSel.c427 VecProduct3f( bc, ba, nml ); in Paralle2D()
428 if ( distfv( nml ) < 1.0e-6 ) { in Paralle2D()
432 VecProduct3f( bc, nml, bc_nml ); in Paralle2D()
514 poi_nml[i] = nml[i]; in Paralle2D()
530 if ( fabs(nml.vec[0]) < 1.0e-3 && in Center2D()
531 fabs(nml.vec[1]) < 1.0e-3 && in Center2D()
534 if ( (nml.vec[0] * nml.vec[1] * nml.vec[2]) < 1.0e-4 ) { in Center2D()
540 if ( fabs(nml.vec[1]) < 1.e-3 ) in Center2D()
542 if ( fabs(nml.vec[0]) < 1.e-3 ) in Center2D()
547 v[2] = - (nml.vec[0]*v[0] + nml.vec[1]*v[1]) / nml.vec[2]; in Center2D()
[all …]
/dports/science/siesta/siesta-4.1.5/Src/
H A Dmeshcomm.F53 integer, intent(out) :: nml(3), nmpl, ntml(3), ntpl
56 nml(1) = (MeshLim(2,1)-MeshLim(1,1)) + 1
57 nml(2) = (MeshLim(2,2)-MeshLim(1,2)) + 1
58 nml(3) = (MeshLim(2,3)-MeshLim(1,3)) + 1
59 nmpl = nml(1)*nml(2)*nml(3)
60 ntml = nml*nsm
94 nml(1) = (MeshLim(2,1)-MeshLim(1,1)) + 1
95 nml(2) = (MeshLim(2,2)-MeshLim(1,2)) + 1
96 nml(3) = (MeshLim(2,3)-MeshLim(1,3)) + 1
97 nmpl = nml(1)*nml(2)*nml(3)
[all …]
/dports/science/xcrysden/xcrysden-1.6.2/F/
H A Dconvexhull.f54 if(abs(nml(1)).lt.MAXERR2 .and. abs(nml(2)).lt.MAXERR2) then
64 zfi = dacos(nml(1) / dsqrt(nml(1)*nml(1) + nml(2)*nml(2)))
65 if(nml(2).gt.0.0d0) zfi=-zfi
68 xnml1 = nml(1)*coszfi - nml(2)*sinzfi
69 nml(2) = nml(1)*sinzfi + nml(2)*coszfi
72 yfi = dacos(nml(3) / dsqrt(nml(1)*nml(1) + nml(2)*nml(2) +
73 * nml(3)*nml(3)))
74 if(nml(1).gt.0.0d0) yfi=-yfi
79 nml(1) = xnml1*cosyfi + nml(3)*sinyfi
80 nml(3) = -xnml1*sinyfi + nml(3)*sinyfi
[all …]
H A Dcalplane.f14 REAL vec1(3),vec2(3),nml(3)
50 CALL FVecProduct(vec1,vec2,nml)
52 AH=nml(1)*DV1(1) + nml(2)*DV2(1) + nml(3)*DV3(1)
53 AK=nml(1)*DV1(2) + nml(2)*DV2(2) + nml(3)*DV3(2)
54 AL=nml(1)*DV1(3) + nml(2)*DV2(3) + nml(3)*DV3(3)
/dports/science/afni/afni-AFNI_21.3.16/tests/scripts/
H A Dtest_niml_parsing.py8 nml = pytest.importorskip("afnipy.niml_parsing") variable
34 assert nml.etree_to_json(ET.fromstring("""<e/>""")) == {"e": None}
35 assert nml.etree_to_json(ET.fromstring("""<e>text</e>""")) == {"e": "text"}
36 assert nml.etree_to_json(ET.fromstring("""<e name="value" />""")) == {
39 assert nml.etree_to_json(ET.fromstring("""<e name="value">text</e>""")) == {
42 assert nml.etree_to_json(ET.fromstring("""<e> <a>text</a> <b>text</b> </e>""")) == {
48 assert nml.etree_to_json(ET.fromstring("""<e> text <a>text</a> </e>""")) == {
54 atlas_niml = nml.read_atlas_niml(data.atlas_niml)
55 parsed_atlas_niml = nml.parse_dset_niml_json(
56 nml.etree_to_json(ET.fromstring(atlas_niml))
[all …]
/dports/games/tuxracer/tuxracer-0.61/src/
H A Dcourse_render.c131 nml = add_vectors( nml, n ); in calc_normals()
142 nml = add_vectors( nml, n ); in calc_normals()
154 nml = add_vectors( nml, n ); in calc_normals()
165 nml = add_vectors( nml, n ); in calc_normals()
177 nml = add_vectors( nml, n ); in calc_normals()
188 nml = add_vectors( nml, n ); in calc_normals()
200 nml = add_vectors( nml, n ); in calc_normals()
211 nml = add_vectors( nml, n ); in calc_normals()
226 nml = add_vectors( nml, n ); in calc_normals()
238 nml = add_vectors( nml, n ); in calc_normals()
[all …]
H A Dviewfrustum.c74 -frustum_planes[i].d, frustum_planes[i].nml ) ) ); in setup_view_frustum()
76 frustum_planes[i].nml = transform_vector( in setup_view_frustum()
77 plyr->view.inv_view_mat, frustum_planes[i].nml ); in setup_view_frustum()
80 frustum_planes[i].nml, in setup_view_frustum()
87 if ( frustum_planes[i].nml.x > 0 ) { in setup_view_frustum()
90 if ( frustum_planes[i].nml.y > 0 ) { in setup_view_frustum()
93 if ( frustum_planes[i].nml.z > 0 ) { in setup_view_frustum()
127 if ( dot_product( n, frustum_planes[i].nml ) + in clip_aabb_to_view_frustum()
133 if ( dot_product( p, frustum_planes[i].nml ) + in clip_aabb_to_view_frustum()
/dports/security/pgpin/pgp263in/src/
H A Dr3kd.s296 # 134 ml = nml;
336 # 144 ml = nml;
362 # 152 ml = nml;
388 # 160 ml = nml;
414 # 168 ml = nml;
550 # 201 ml = nml;
590 # 211 ml = nml;
616 # 219 ml = nml;
642 # 227 ml = nml;
668 # 235 ml = nml;
[all …]
/dports/math/libpgmath/flang-d07daf3/test/f90_correct/src/
H A Dfe87.f90253 write(8,nml=tdata)
254 write(8,nml=adata)
255 write(8,nml=xdata)
259 write(9,nml=tdata, decimal='comma')
260 write(9,nml=adata, decimal='comma')
268 read(8,nml=tdata)
269 read(8,nml=adata)
270 read(8,nml=xdata)
279 read(9,nml=tdata, decimal='comma')
280 read(9,nml=adata, decimal='comma')
[all …]
/dports/www/elinks/elinks-0.11.7/src/util/
H A Dmemlist.c107 struct memory_list *nml; in debug_add_to_ml() local
109 nml = mem_realloc(*ml, ML_SIZE(n + (*ml)->n)); in debug_add_to_ml()
110 if (!nml) return; in debug_add_to_ml()
112 *ml = nml; in debug_add_to_ml()
147 struct memory_list *nml; in debug_add_one_to_ml() local
149 nml = mem_realloc(*ml, ML_SIZE(1 + (*ml)->n)); in debug_add_one_to_ml()
150 if (!nml) return; in debug_add_one_to_ml()
152 *ml = nml; in debug_add_one_to_ml()
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gfortran.dg/
H A Dnamelist_56.f908 namelist /nml/ str, j namelist
12 read(nlstr,nml)
14 write(99,nml)
18 read(99,nml)

12345678910>>...71