Home
last modified time | relevance | path

Searched refs:n_norm (Results 1 – 25 of 27) sorted by relevance

12

/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/visualizer/
H A Dhecmw_vis_color_composite_sf.c16 double s[3], sina, cosa, ss, t, dis[3], dist, n_norm, v_norm, nv_sign; in find_surface_point() local
28 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_surface_point()
29 if (fabs(n_norm) > EPSILON) { in find_surface_point()
30 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_surface_point()
135 double v_f[3], t, n_norm, v_norm, nv_sign; in find_point_depth() local
147 if (fabs(n_norm) > EPSILON) { in find_point_depth()
148 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_point_depth()
185 double v_f[3], t, n_norm, v_norm, nv_sign; in find2_point_depth() local
196 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find2_point_depth()
197 if (fabs(n_norm) > EPSILON) { in find2_point_depth()
[all …]
H A Dhecmw_vis_new_refine.c151 double n_norm, n_c, n_p; in judge_inner_voxel_361() local
176 if (fabs(n_norm) > EPSILON) { in judge_inner_voxel_361()
177 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in judge_inner_voxel_361()
208 double n_norm, n_c, n_p; in judge_inner_voxel_351() local
233 if (fabs(n_norm) > EPSILON) { in judge_inner_voxel_351()
234 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in judge_inner_voxel_351()
272 if (fabs(n_norm) > EPSILON) { in judge_inner_voxel_351()
273 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in judge_inner_voxel_351()
305 double n_norm, n_c, n_p; in judge_inner_voxel_341() local
347 if (fabs(n_norm) > EPSILON) { in judge_inner_voxel_341()
[all …]
H A Dhecmw_vis_tetra_intersect.c119 double fp[4][3], n_f[3], n_norm, f_cen_point[3], sign_f, n_c, c_c[3]; in find_intersection_tetra() local
229 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_intersection_tetra()
230 if (fabs(n_norm) > EPSILON) { in find_intersection_tetra()
231 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_intersection_tetra()
275 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_intersection_tetra()
276 if (fabs(n_norm) > EPSILON) { in find_intersection_tetra()
277 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_intersection_tetra()
389 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_intersection_tetra()
390 if (fabs(n_norm) > EPSILON) { in find_intersection_tetra()
391 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_intersection_tetra()
H A Dhecmw_vis_color_composite_vr.c234 dis[3], dist, n_norm, v_norm, nv_sign; in find_surface_point() local
259 n_norm = sqrt(n_f[0] * n_f[0] + n_f[1] * n_f[1] + n_f[2] * n_f[2]); in find_surface_point()
260 if (fabs(n_norm) > EPSILON) { in find_surface_point()
261 for (j = 0; j < 3; j++) n_f[j] /= n_norm; in find_surface_point()
/dports/graphics/R-cran-s2/s2/src/s2/
H A Ds2latlng_rect_bounder.cc69 double n_norm = n.Norm(); in AddInternal() local
70 if (n_norm < 1.91346e-15) { in AddInternal()
120 double m_error = 6.06638e-16 * n_norm + 6.83174e-31; in AddInternal()
/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Ds2latlng_rect_bounder.cc69 double n_norm = n.Norm(); in AddInternal() local
70 if (n_norm < 1.91346e-15) { in AddInternal()
120 double m_error = 6.06638e-16 * n_norm + 6.83174e-31; in AddInternal()
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Ds2latlng_rect_bounder.cc69 double n_norm = n.Norm(); in AddInternal() local
70 if (n_norm < 1.91346e-15) { in AddInternal()
120 double m_error = 6.06638e-16 * n_norm + 6.83174e-31; in AddInternal()
/dports/science/opensph/sph-7de6c044339f649e3d19e61f735a6a24572b792a/gui/renderers/
H A DRayMarcher.cpp273 const Vector n_norm = getNormalized(n); in getSurfaceColor() local
274 const Float cosPhi = dot(n_norm, fixed.dirToSun); in getSurfaceColor()
282 Ray rayToSun(hit - 0.5_f * n_norm * cached.r[index][H], -fixed.dirToSun); in getSurfaceColor()
290 const Float f = fixed.brdf->transport(n_norm, -dir, fixed.dirToSun); in getSurfaceColor()
/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/
H A Dcs_lagr_orientation.c170 cs_real_t n_norm in _mean_rotation_phase_spheroid() local
176 n[0] = gradvf_ant[1][2] / n_norm; in _mean_rotation_phase_spheroid()
177 n[1] = gradvf_ant[0][2] / n_norm; in _mean_rotation_phase_spheroid()
178 n[2] = gradvf_ant[0][1] / n_norm; in _mean_rotation_phase_spheroid()
182 cs_real_t t_n = dtp * n_norm; in _mean_rotation_phase_spheroid()
/dports/cad/sumo/sumo-1.2.0/data/emissions/PHEMlight/
H A DPC_D_EU4.PHEMLight.veh119 c n_norm, pe_drag _norm
H A DPC_G_EU4.PHEMLight.veh118 c n_norm, pe_drag _norm
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/camera/
H A Dcamera.h162 camid cam_create(const char *n_name, vec3d *n_pos, vec3d *n_norm, object *n_object=NULL, int n_subm…
H A Dcamera.cpp906 camid cam_create(const char *n_name, vec3d *n_pos, vec3d *n_norm, object *n_object, int n_object_ho… in cam_create() argument
909 vm_vector_2_matrix_norm(&ori, n_norm); in cam_create()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/camera/
H A Dcamera.h162 camid cam_create(char *n_name, vec3d *n_pos, vec3d *n_norm, object *n_object=NULL, int n_submodel_p…
H A Dcamera.cpp878 camid cam_create(char *n_name, vec3d *n_pos, vec3d *n_norm, object *n_object, int n_object_host_sub… in cam_create() argument
881 vm_vector_2_matrix_norm(&ori, n_norm); in cam_create()
/dports/math/saga/saga-8.1.3/saga-gis/src/tools/terrain_analysis/ta_hydrology/
H A DFlow_AreaUpslope.cpp468 double n_norm = sqrt(nx*nx + ny*ny +nz*nz); in Set_MDInf() local
483 hs = -tan( acos( nz/n_norm ) ); // vb-code: hs = -Tan(arccos(nz / betrag_n)) in Set_MDInf()
H A DFlow_Parallel.cpp731 double n_norm = sqrt(nx*nx + ny*ny +nz*nz); in Set_MDInf() local
759 hs = -tan( acos( nz/n_norm ) ); // vb-code: hs = -Tan(arccos(nz / betrag_n)) in Set_MDInf()
/dports/science/tfel/tfel-3.4.0/docs/web/
H A DIsotropicLinearHardeningPlasticity.md107 \]{#eq:n_norm}
184 Finally, taking into account Equation @eq:n_norm, the von Mises stress satisfies:
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/grid/
H A Dmanifold_lib.cc421 const double n_norm = n.norm(); in get_intermediate_point() local
422 Assert(n_norm > 0, in get_intermediate_point()
426 n /= n_norm; in get_intermediate_point()
474 const double n_norm = n.norm(); in get_tangent_vector() local
475 Assert(n_norm > 0, in get_tangent_vector()
479 n /= n_norm; in get_tangent_vector()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/crypto/fipsmodule/bn/
H A Dbn_test.cc2776 BN_ULONG norm[16], n_norm[16]; in TEST_F() local
2779 OPENSSL_memset(n_norm, 0x99, sizeof(n_norm)); in TEST_F()
2783 ASSERT_TRUE(bn_set_words(n.get(), n_norm, 16)); in TEST_F()
2790 CHECK_ABI(rsaz_1024_norm2red_avx2, n_rsaz, n_norm); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/src/crypto/fipsmodule/bn/
H A Dbn_test.cc2760 BN_ULONG norm[16], n_norm[16]; in TEST_F() local
2763 OPENSSL_memset(n_norm, 0x99, sizeof(n_norm)); in TEST_F()
2767 ASSERT_TRUE(bn_set_words(n.get(), n_norm, 16)); in TEST_F()
2774 CHECK_ABI(rsaz_1024_norm2red_avx2, n_rsaz, n_norm); in TEST_F()
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/crypto/fipsmodule/bn/
H A Dbn_test.cc2776 BN_ULONG norm[16], n_norm[16]; in TEST_F() local
2779 OPENSSL_memset(n_norm, 0x99, sizeof(n_norm)); in TEST_F()
2783 ASSERT_TRUE(bn_set_words(n.get(), n_norm, 16)); in TEST_F()
2790 CHECK_ABI(rsaz_1024_norm2red_avx2, n_rsaz, n_norm); in TEST_F()
/dports/net/quiche/quiche-0.9.0/cargo-crates/boring-sys-1.1.1/deps/boringssl/src/crypto/fipsmodule/bn/
H A Dbn_test.cc2776 BN_ULONG norm[16], n_norm[16]; in TEST_F() local
2779 OPENSSL_memset(n_norm, 0x99, sizeof(n_norm)); in TEST_F()
2783 ASSERT_TRUE(bn_set_words(n.get(), n_norm, 16)); in TEST_F()
2790 CHECK_ABI(rsaz_1024_norm2red_avx2, n_rsaz, n_norm); in TEST_F()
/dports/science/mcstas/mcstas-2.5-src/lib/share/
H A Dmccode-r.c2941 double dx, dy, dist, dist_p, nx, ny, nz, mx, my, mz, n_norm, m_norm;
2973 n_norm=sqrt(nx*nx + ny*ny + nz*nz);
2974 nx = nx/n_norm;
2975 ny = ny/n_norm;
2976 nz = nz/n_norm;
/dports/science/mcxtrace/mcxtrace-1.2-src/lib/share/
H A Dmccode-r.c2819 double dx, dy, dist, dist_p, nx, ny, nz, mx, my, mz, n_norm, m_norm;
2851 n_norm=sqrt(nx*nx + ny*ny + nz*nz);
2852 nx = nx/n_norm;
2853 ny = ny/n_norm;
2854 nz = nz/n_norm;

12