Home
last modified time | relevance | path

Searched refs:scoord (Results 1 – 25 of 35) sorted by relevance

12

/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/base/
H A Dgeometric_utilities.cc52 if (scoord[1] < 0.0) in to_spherical()
60 scoord[2] = std::acos(position(2) / scoord[0]); in to_spherical()
64 return scoord; in to_spherical()
73 Assert(scoord[0] >= 0., NegativeRadius(scoord[0])); in from_spherical()
75 Assert(scoord[1] >= 0. && scoord[1] < 2. * numbers::PI, in from_spherical()
82 ccoord[0] = scoord[0] * std::cos(scoord[1]); in from_spherical()
83 ccoord[1] = scoord[0] * std::sin(scoord[1]); in from_spherical()
88 Assert(scoord[2] >= 0. && scoord[2] <= numbers::PI, in from_spherical()
91 ccoord[0] = scoord[0] * std::sin(scoord[2]) * std::cos(scoord[1]); in from_spherical()
92 ccoord[1] = scoord[0] * std::sin(scoord[2]) * std::sin(scoord[1]); in from_spherical()
[all …]
/dports/games/openspades/openspades-0.1.3/Resources/Shaders/Shadow/
H A DModel.fs40 vec4 scoord = shadowMapCoord1.xyzw;
41 float v = shadow2D(shadowMapTexture1, scoord.xyz).x;
44 vec4 scoord = shadowMapCoord2.xyzw;
45 float v = shadow2D(shadowMapTexture2, scoord.xyz).x;
48 vec4 scoord = shadowMapCoord3.xyzw;
49 float v = shadow2D(shadowMapTexture3, scoord.xyz).x;
58 vec4 scoord = shadowMapCoord1.xyzw;
59 float v = shadow2D(shadowMapTexture1, scoord.xyz).x;
62 vec4 scoord = shadowMapCoord2.xyzw;
63 float v = shadow2D(shadowMapTexture2, scoord.xyz).x;
[all …]
H A DModelSparse.fs34 vec4 scoord = shadowMapCoord.xyzw;
36 vec2 pagetableFract = fract(scoord.xy * pagetableSize);
37 vec2 pagetableInt = floor(scoord.xy * pagetableSize);
56 vec3 physCoord2 = vec3(physCoord, scoord.z);
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/GLSLES/
H A Dvarianceshadowreceiverfp.glsles37 float4 scoord = In.shadowCoord / In.shadowCoord.w;
42 // One could use scoord.xy to look up the shadow map for depth testing, but
59 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
60 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
91 float zDeviation = scoord.z - datum.x;
100 visibility = (all(abs(scoord.xy-0.5)<=0.5-filterBorder)) ? visibility : 1.0;
144 float4 scoord = In.shadowCoord / In.shadowCoord.w;
149 // One could use scoord.xy to look up the shadow map for depth testing, but
166 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
167 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
[all …]
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/GLSLES/
H A Dvarianceshadowreceiverfp.glsles37 float4 scoord = In.shadowCoord / In.shadowCoord.w;
42 // One could use scoord.xy to look up the shadow map for depth testing, but
59 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
60 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
91 float zDeviation = scoord.z - datum.x;
100 visibility = (all(abs(scoord.xy-0.5)<=0.5-filterBorder)) ? visibility : 1.0;
144 float4 scoord = In.shadowCoord / In.shadowCoord.w;
149 // One could use scoord.xy to look up the shadow map for depth testing, but
166 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
167 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
[all …]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Samples/Media/materials/programs/Cg/
H A Dvarianceshadowreceiverfp.cg37 float4 scoord = In.shadowCoord / In.shadowCoord.w;
42 // One could use scoord.xy to look up the shadow map for depth testing, but
59 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
60 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
91 float zDeviation = scoord.z - datum.x;
94 …float ztest = (scoord.z < datum.x) ? 1.0:0.0; // filtering depth ok, because used only for small …
100 visibility = (all(abs(scoord.xy-0.5)<=0.5-filterBorder)) ? visibility : 1.0;
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/Cg/
H A Dvarianceshadowreceiverfp.cg37 float4 scoord = In.shadowCoord / In.shadowCoord.w;
42 // One could use scoord.xy to look up the shadow map for depth testing, but
59 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
60 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
91 float zDeviation = scoord.z - datum.x;
94 …float ztest = (scoord.z < datum.x) ? 1.0:0.0; // filtering depth ok, because used only for small …
100 visibility = (all(abs(scoord.xy-0.5)<=0.5-filterBorder)) ? visibility : 1.0;
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/
H A Dcp_symmetry.F73 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:, :) :: coord, scoord local
153 ALLOCATE (scoord(3, natom), atype(natom))
157 CALL real_to_scaled(scoord(1:3, i), particle_set(i)%r(1:3), cell)
160 CALL crys_sym_gen(crys_sym, scoord, atype, cell%hmat, delta=eps_geo, iounit=iw)
173 DEALLOCATE (scoord, atype)
H A Dhfx_libint_interface.F489 CALL real_to_scaled(scoord(1:3), A, cell)
490 CALL real_to_scaled(scoord(4:6), B, cell)
491 CALL real_to_scaled(scoord(7:9), C, cell)
584 CALL real_to_scaled(scoord(1:3), B, cell)
585 CALL real_to_scaled(scoord(4:6), A, cell)
586 CALL real_to_scaled(scoord(7:9), C, cell)
679 CALL real_to_scaled(scoord(1:3), A, cell)
680 CALL real_to_scaled(scoord(4:6), B, cell)
681 CALL real_to_scaled(scoord(7:9), D, cell)
773 CALL real_to_scaled(scoord(1:3), B, cell)
[all …]
H A Dcryssym.F48 REAL(KIND=dp), DIMENSION(:, :), ALLOCATABLE :: scoord component
84 IF (ALLOCATED(csym%scoord)) THEN
85 DEALLOCATE (csym%scoord)
156 ALLOCATE (csym%scoord(3, nat))
157 csym%scoord(1:3, 1:nat) = scoor(1:3, 1:nat)
284 TRANSPOSE(csym%hmat), csym%scoord, csym%atype, &
494 ri(1:3) = csym%scoord(1:3, ia)
499 rb(1:3) = csym%scoord(1:3, ib)
H A Dkpoint_methods.F123 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:, :) :: coord, scoord local
147 ALLOCATE (coord(3, natom), scoord(3, natom), atype(natom))
153 CALL real_to_scaled(scoord(1:3, i), coord(1:3, i), cell)
157 ALLOCATE (scoord(3, natom), atype(natom))
160 CALL real_to_scaled(scoord(1:3, i), particle_set(i)%r(1:3), cell)
169 CALL crys_sym_gen(crys_sym, scoord, atype, cell%hmat, delta=kpoint%eps_geo, iounit=iounit)
216 DEALLOCATE (scoord, atype)
/dports/science/cp2k-data/cp2k-7.1.0/src/
H A Dcp_symmetry.F73 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:, :) :: coord, scoord local
153 ALLOCATE (scoord(3, natom), atype(natom))
157 CALL real_to_scaled(scoord(1:3, i), particle_set(i)%r(1:3), cell)
160 CALL crys_sym_gen(crys_sym, scoord, atype, cell%hmat, delta=eps_geo, iounit=iw)
173 DEALLOCATE (scoord, atype)
H A Dhfx_libint_interface.F489 CALL real_to_scaled(scoord(1:3), A, cell)
490 CALL real_to_scaled(scoord(4:6), B, cell)
491 CALL real_to_scaled(scoord(7:9), C, cell)
584 CALL real_to_scaled(scoord(1:3), B, cell)
585 CALL real_to_scaled(scoord(4:6), A, cell)
586 CALL real_to_scaled(scoord(7:9), C, cell)
679 CALL real_to_scaled(scoord(1:3), A, cell)
680 CALL real_to_scaled(scoord(4:6), B, cell)
681 CALL real_to_scaled(scoord(7:9), D, cell)
773 CALL real_to_scaled(scoord(1:3), B, cell)
[all …]
H A Dcryssym.F48 REAL(KIND=dp), DIMENSION(:, :), ALLOCATABLE :: scoord component
84 IF (ALLOCATED(csym%scoord)) THEN
85 DEALLOCATE (csym%scoord)
156 ALLOCATE (csym%scoord(3, nat))
157 csym%scoord(1:3, 1:nat) = scoor(1:3, 1:nat)
284 TRANSPOSE(csym%hmat), csym%scoord, csym%atype, &
494 ri(1:3) = csym%scoord(1:3, ia)
499 rb(1:3) = csym%scoord(1:3, ib)
H A Dkpoint_methods.F123 REAL(KIND=dp), ALLOCATABLE, DIMENSION(:, :) :: coord, scoord local
147 ALLOCATE (coord(3, natom), scoord(3, natom), atype(natom))
153 CALL real_to_scaled(scoord(1:3, i), coord(1:3, i), cell)
157 ALLOCATE (scoord(3, natom), atype(natom))
160 CALL real_to_scaled(scoord(1:3, i), particle_set(i)%r(1:3), cell)
169 CALL crys_sym_gen(crys_sym, scoord, atype, cell%hmat, delta=kpoint%eps_geo, iounit=iounit)
216 DEALLOCATE (scoord, atype)
/dports/math/reduce/Reduce-svn5758-src/packages/excalc/
H A Dexaux.red42 begin scalar x,scoord;
44 scoord := coord!*;
54 coord!* := scoord
H A Dframes.red95 begin scalar osubfg,scoord,v,y,w,metricu!*,metricd!*;
100 scoord := pickupcoords(y,scoord);
102 if null atom car scoord
103 then <<remflag({caar scoord},'covariant);
104 scoord := for each j in scoord
107 if length scoord neq dimex!*
109 w := !*pf2matwrtcoords(v,scoord);
117 coord!* := scoord;
118 naturalframe2coframe := pair(scoord,
/dports/biology/infernal/infernal-1.1.3/src/
H A Ddisplay.c156 ESL_ALLOC(ali->scoord, sizeof(int) * ali->len); in CreateFancyAli()
169 ali->ccoord[pos] = ali->scoord[pos] = 0; in CreateFancyAli()
194 esl_stack_IPop(pda, &spos_r); ali->scoord[pos] = spos_r; in CreateFancyAli()
364 ali->scoord[pos] = spos_l; in CreateFancyAli()
425 if (ali->scoord[pos] != 0) { in CreateFancyAli()
426 ali->sqfrom = ali->scoord[pos]; in CreateFancyAli()
431 if (ali->scoord[pos] != 0) ali->sqto = ali->scoord[pos]; in CreateFancyAli()
511 if (ali->scoord[i] != 0) { in PrintFancyAli()
512 sqi = ali->scoord[i]; in PrintFancyAli()
518 if (ali->scoord[i] != 0) sqj = ali->scoord[i]; in PrintFancyAli()
[all …]
/dports/biology/p5-Bio-Das-Lite/Bio-Das-Lite-2.11/lib/Bio/Das/
H A DLite.pm1319 for my $scoord (@{$src->{'coordinateSystem'}}) {
1324 if (lc $cat eq lc $scoord->{'category'} &&
1325 $auth eq $scoord->{'name'} &&
1326 (!$ver || lc $ver eq lc $scoord->{'version'}) &&
1327 (!$org || lc $org eq lc $scoord->{'organismName'})) {
1331 return 1 if(lc $scoord->{'category'} eq lc $m);
/dports/science/healpix/Healpix_3.50/src/idl/visu/
H A Dproj2fits.pro95 scoord = decode_coord(coord, flon=flon, flat=flat)
180 sxaddpar,head_Out,'LONPOLE',longpole,' [Deg] Native longitude of '+scoord+' pole'
181 sxaddpar,head_Out,'LATPOLE',latpole ,' [Deg] Native latitude of '+scoord+' pole'
209 SXADDPAR,head_out,'HISTORY', proj_small+' projection, '+scoord+' coordinates'
H A Dgnom2fits.pro58 scoord = decode_coord(coord, flon=flon, flat=flat)
94 SXADDPAR,head_out,'HISTORY','Gnomonic projection : '+scoord+' coordinates'
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/base/
H A Dgeometric_utilities.h74 from_spherical(const std::array<double, dim> &scoord);
/dports/astro/gnuastro/gnuastro-0.16/bin/segment/
H A Dclumps.c311 size_t *scoord=gal_pointer_allocate(GAL_TYPE_SIZE_T, ndim, 0, __func__, in clumps_find_make_sn_table() local
387 ndim, dsize, scoord); in clumps_find_make_sn_table()
407 if( icoord[j]==scoord[j] in clumps_find_make_sn_table()
408 || icoord[j]==scoord[j]+tile->dsize[j]-1 ) in clumps_find_make_sn_table()
508 free(scoord); in clumps_find_make_sn_table()
/dports/math/py-sympy/sympy-1.9/sympy/solvers/ode/
H A Dlie_group.py85 scoord = newcoord[-1]
87 sol = solve([r - rcoord, s - scoord], x, y, dict=True)
96 num = simplify(scoord.diff(x) + scoord.diff(y)*h)
105 deq = deq.subs([(r, rcoord), (s, scoord)])
115 return [Eq(f(x), solve(scoord - C1, y)[0])]
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/Docs/shadows/src/
H A DOgreShadows.tex668 vec4 scoord = pShadowCoord / pShadowCoord.w;
673 // One could use scoord.xy to look up the shadow map for depth testing, but
690 tcoord.x = (scoord.x * uSTexWidth) - 0.5;
691 tcoord.y = (scoord.y * uSTexHeight) - 0.5;
710 float viz00 = (z00 <= scoord.z) ? 0.0 : 1.0;
712 float viz01 = (z01 <= scoord.z) ? 0.0 : 1.0;
714 float viz10 = (z10 <= scoord.z) ? 0.0 : 1.0;
716 float viz11 = (z11 <= scoord.z) ? 0.0 : 1.0;
733 //float zvalue = texture2D(uShadowMap, scoord.xy).x;
734 //float visibility = (zvalue <= scoord.z) ? 0.0 : 1.0;
[all …]

12