Home
last modified time | relevance | path

Searched refs:sinpsi (Results 1 – 25 of 31) sorted by relevance

12

/dports/science/tfel/tfel-3.4.0/include/TFEL/Math/General/
H A DRandomRotationMatrix.hxx38 T sinpsi=sin(psi); in getRandomRotationMatrix() local
41 drot(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in getRandomRotationMatrix()
42 drot(0,1) = cosphi*sinpsi + sinphi*costhe*cospsi; in getRandomRotationMatrix()
44 drot(1,0) = -sinphi*cospsi - cosphi*costhe*sinpsi; in getRandomRotationMatrix()
45 drot(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in getRandomRotationMatrix()
47 drot(2,0) = sinthe*sinpsi; in getRandomRotationMatrix()
/dports/science/tfel-edf/tfel-3.2.1/include/TFEL/Math/General/
H A DRandomRotationMatrix.hxx38 T sinpsi=sin(psi); in getRandomRotationMatrix() local
41 drot(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in getRandomRotationMatrix()
42 drot(0,1) = cosphi*sinpsi + sinphi*costhe*cospsi; in getRandomRotationMatrix()
44 drot(1,0) = -sinphi*cospsi - cosphi*costhe*sinpsi; in getRandomRotationMatrix()
45 drot(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in getRandomRotationMatrix()
47 drot(2,0) = sinthe*sinpsi; in getRandomRotationMatrix()
/dports/science/tfel-edf/tfel-3.2.1/tests/Math/st2tost2/
H A DST2toST2ChangeBasis.cxx52 const double sinpsi = std::sin(psi); in execute() local
56 r(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in execute()
57 r(0,1) = cosphi*sinpsi + sinphi*costhe*cospsi; in execute()
59 r(1,0) = -sinphi*cospsi - cosphi*costhe*sinpsi; in execute()
60 r(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in execute()
62 r(2,0) = sinthe*sinpsi; in execute()
/dports/science/tfel/tfel-3.4.0/tests/Math/st2tost2/
H A DST2toST2ChangeBasis.cxx52 const double sinpsi = std::sin(psi); in execute() local
56 r(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in execute()
57 r(0,1) = cosphi*sinpsi + sinphi*costhe*cospsi; in execute()
59 r(1,0) = -sinphi*cospsi - cosphi*costhe*sinpsi; in execute()
60 r(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in execute()
62 r(2,0) = sinthe*sinpsi; in execute()
/dports/science/tfel-edf/tfel-3.2.1/tests/Math/stensor/
H A Dstensor_changeBasis2.cxx53 const real sinpsi = sin(psi); in execute() local
57 r(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in execute()
58 r(1,0) = cosphi*sinpsi + sinphi*costhe*cospsi; in execute()
60 r(0,1) = -sinphi*cospsi - cosphi*costhe*sinpsi; in execute()
61 r(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in execute()
63 r(0,2) = sinthe*sinpsi; in execute()
/dports/science/tfel/tfel-3.4.0/tests/Math/stensor/
H A Dstensor_changeBasis2.cxx53 const real sinpsi = sin(psi); in execute() local
57 r(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi; in execute()
58 r(1,0) = cosphi*sinpsi + sinphi*costhe*cospsi; in execute()
60 r(0,1) = -sinphi*cospsi - cosphi*costhe*sinpsi; in execute()
61 r(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi; in execute()
63 r(0,2) = sinthe*sinpsi; in execute()
/dports/science/tfel/tfel-3.4.0/include/TFEL/Material/
H A DPolyCrystalsSlidingSystems.ixx72 const real sinpsi = std::sin(psi);
75 drot(0, 0) = cosphi * cospsi - sinphi * costhe * sinpsi;
76 drot(0, 1) = cosphi * sinpsi + sinphi * costhe * cospsi;
78 drot(1, 0) = -sinphi * cospsi - cosphi * costhe * sinpsi;
79 drot(1, 1) = -sinphi * sinpsi + cosphi * costhe * cospsi;
81 drot(2, 0) = sinthe * sinpsi;
/dports/science/tfel-edf/tfel-3.2.1/include/TFEL/Material/
H A DPolyCrystalsSlidingSystems.ixx77 const real sinpsi = std::sin(psi);
80 drot(0,0) = cosphi*cospsi - sinphi*costhe*sinpsi;
81 drot(0,1) = cosphi*sinpsi + sinphi*costhe*cospsi;
83 drot(1,0) = -sinphi*cospsi - cosphi*costhe*sinpsi;
84 drot(1,1) = -sinphi*sinpsi + cosphi*costhe*cospsi;
86 drot(2,0) = sinthe*sinpsi;
/dports/science/xcrysden/xcrysden-1.6.2/C/
H A Dxcballstick.c205 GLdouble rb, fi, psi, xy, cosfi, sinfi, sinpsi; in MakeSticks2() local
282 sinpsi = sin(psi); in MakeSticks2()
305 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
319 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
333 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
355 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
369 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
383 rodx[jj] = arcz[jj] * sinpsi * fac; in MakeSticks2()
/dports/science/py-gpaw/gpaw-21.6.0/gpaw/pes/
H A Dds_beta.py149 sinpsi = sin(self.angle['psi'])
151 epsm = np.array([sinthm * (cosphi * sinpsi * costh +
154 sinthm * (sinphi * sinpsi * costh -
157 costhm * costh - sinthm * sinth * sinpsi])
/dports/devel/simgear/simgear-2020.3.11/simgear/magvar/
H A Dcoremag.cxx216 double sinpsi, cospsi, inv_s; in calc_magvar() local
341 sinpsi = sin(psi); in calc_magvar()
343 X = -B_theta * cospsi - B_r * sinpsi; in calc_magvar()
345 Z = B_theta * sinpsi - B_r * cospsi; in calc_magvar()
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/JSBSim/models/atmosphere/
H A DFGWinds.cpp357 double cospsi = cos(psiw), sinpsi = sin(psiw); in Turbulence() local
358 vTurbulenceNED(eNorth) = cospsi*xi_u + sinpsi*xi_v; in Turbulence()
359 vTurbulenceNED(eEast) = -sinpsi*xi_u + cospsi*xi_v; in Turbulence()
362 vTurbPQR(eP) = cospsi*xi_p + sinpsi*xi_q; in Turbulence()
363 vTurbPQR(eQ) = -sinpsi*xi_p + cospsi*xi_q; in Turbulence()
/dports/graphics/gmt/gmt-6.3.0/src/potential/
H A Dgrdredpol.c267 double *cosphi, double *sinphi, double *cospsi, double *sinpsi) { in grdgravmag3d_tfpoeq() argument
323 sinpsi[i] = sin(arg1); in grdgravmag3d_tfpoeq()
349 si2 = sinpsi[ksn - 1]; in grdgravmag3d_tfpoeq()
1224 double *cosphi = NULL, *sinphi = NULL, *cospsi = NULL, *sinpsi = NULL; in GMT_grdredpol() local
1318 sinpsi = gmt_M_memory (GMT, NULL, n_coef, double); in GMT_grdredpol()
1446 …gravmag3d_tfpoeq(fxr, Ctrl->F.ncoef_row, Ctrl->F.ncoef_col,gxr,gxi, cosphi,sinphi,cospsi,sinpsi); in GMT_grdredpol()
1447 …gravmag3d_tfpoeq(fxar,Ctrl->F.ncoef_row, Ctrl->F.ncoef_col,gxar,gxai, cosphi,sinphi,cospsi,sinpsi); in GMT_grdredpol()
1448 …gravmag3d_tfpoeq(fxbr,Ctrl->F.ncoef_row, Ctrl->F.ncoef_col,gxbr,gxbi, cosphi,sinphi,cospsi,sinpsi); in GMT_grdredpol()
1449 …gravmag3d_tfpoeq(fxgr,Ctrl->F.ncoef_row, Ctrl->F.ncoef_col,gxgr,gxgi, cosphi,sinphi,cospsi,sinpsi); in GMT_grdredpol()
1455 …gravmag3d_tfpoeq(fxtr,Ctrl->F.ncoef_row, Ctrl->F.ncoef_col,gxtr,gxti, cosphi,sinphi,cospsi,sinpsi); in GMT_grdredpol()
[all …]
/dports/science/healpix/Healpix_3.50/src/idl/toolkit/
H A Dud_grade.pro70 ; sinpsi = - 0 * sindphi * 2.d0 * vz / s2 ; <<<<<<<<<<<<<<<
71 ; sin2psi = 2.d0 * sinpsi * sqrt( 1.d0 - sinpsi^2 )
72 ; cos2psi = 1.d0 - 2.d0 * sinpsi * sinpsi
73 ; sum = 0 & vz = 0 & s2 = 0 & sindphi = 0 & sinpsi = 0
/dports/science/tfel-edf/tfel-3.2.1/mtest/src/
H A DMTestParser.cxx462 const real sinpsi = std::sin(psi); in handleRotationMatrix() local
465 r(0, 0) = cosphi * cospsi - sinphi * costhe * sinpsi; in handleRotationMatrix()
466 r(0, 1) = cosphi * sinpsi + sinphi * costhe * cospsi; in handleRotationMatrix()
468 r(1, 0) = -sinphi * cospsi - cosphi * costhe * sinpsi; in handleRotationMatrix()
469 r(1, 1) = -sinphi * sinpsi + cosphi * costhe * cospsi; in handleRotationMatrix()
471 r(2, 0) = sinthe * sinpsi; in handleRotationMatrix()
/dports/science/tfel/tfel-3.4.0/mtest/src/
H A DMTestParser.cxx465 const real sinpsi = std::sin(psi); in handleRotationMatrix() local
468 r(0, 0) = cosphi * cospsi - sinphi * costhe * sinpsi; in handleRotationMatrix()
469 r(0, 1) = cosphi * sinpsi + sinphi * costhe * cospsi; in handleRotationMatrix()
471 r(1, 0) = -sinphi * cospsi - cosphi * costhe * sinpsi; in handleRotationMatrix()
472 r(1, 1) = -sinphi * sinpsi + cosphi * costhe * cospsi; in handleRotationMatrix()
474 r(2, 0) = sinthe * sinpsi; in handleRotationMatrix()
/dports/science/gromacs/gromacs-2021.4/src/gromacs/mdlib/
H A Dsettle_gpu.cu218 float sinpsi = (b1d.z - c1d.z) * pars.irc2 * tmp; in __launch_bounds__() local
219 tmp2 = 1.0f - sinpsi * sinpsi; in __launch_bounds__()
226 float t2 = pars.rc * sinpsi * sinphi; in __launch_bounds__()
H A Dsettle.cpp549 T sinpsi = (b1d[ZZ] - c1d[ZZ]) * irc2 * tmp; in settleTemplate() local
550 tmp2 = 1.0 - sinpsi * sinpsi; in settleTemplate()
558 T t2 = rc * sinpsi * sinphi; in settleTemplate()
/dports/math/ggobi/ggobi-2.1.11/src/
H A Dtour2d3.c837 gfloat phi, cosphi, sinphi, ca, sa, cosm, cospsi, sinpsi; in tour2d3_manip() local
952 sinpsi = x1*y2-y1*x2; in tour2d3_manip()
957 sinpsi = 0.; in tour2d3_manip()
963 sinpsi = 0.; in tour2d3_manip()
966 dsp->t2d3_Rmat2.vals[0][1] = sinpsi; in tour2d3_manip()
968 dsp->t2d3_Rmat2.vals[1][0] = -sinpsi; in tour2d3_manip()
H A Dtour2d.c1102 gfloat phi, cosphi, sinphi, ca, sa, cosm, cospsi, sinpsi; in tour2d_manip() local
1218 sinpsi = x1*y2-y1*x2; in tour2d_manip()
1223 sinpsi = 0.; in tour2d_manip()
1229 sinpsi = 0.; in tour2d_manip()
1232 dsp->t2d_Rmat2.vals[0][1] = sinpsi; in tour2d_manip()
1234 dsp->t2d_Rmat2.vals[1][0] = -sinpsi; in tour2d_manip()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/UtilityLib/
H A Dlinalg3d.cpp1767 double sinpsi = sin(phi.Z()); in QuaternionsToEulerAngles() local
1768 if (fabs(sinpsi) > 0.5) in QuaternionsToEulerAngles()
1770 phi.Y() = atan2(A13/sinpsi, A33); in QuaternionsToEulerAngles()
1804 double sinpsi = sin(phi.Z()); in RotMatToEulerAngles() local
1805 if (fabs(sinpsi) > 0.5) in RotMatToEulerAngles()
1807 phi.Y() = atan2(A31/sinpsi, A33); in RotMatToEulerAngles()
/dports/astro/swe/swisseph-2.10.1/
H A Dswehouse.c2158 double dsun = 0, darmc, harmc, y, sinpsi, sa; in swe_house_pos() local
2621 sinpsi = sind(harmc) / sind(a); in swe_house_pos()
2622 if (sinpsi > 1) sinpsi = 1; in swe_house_pos()
2623 if (sinpsi < -1) sinpsi = -1; in swe_house_pos()
2625 y = sind(dsun) / sinpsi; in swe_house_pos()
H A Dsweph.c5167 double sinpsi, cospsi, sineps, coseps, sineps0, coseps0; in nut_matrix() local
5170 sinpsi = sin(psi); in nut_matrix()
5177 nu->matrix[0][1] = sinpsi * coseps; in nut_matrix()
5178 nu->matrix[0][2] = sinpsi * sineps; in nut_matrix()
5179 nu->matrix[1][0] = -sinpsi * coseps0; in nut_matrix()
5182 nu->matrix[2][0] = -sinpsi * sineps0; in nut_matrix()
/dports/audio/praat/praat-6.2.03/dwsys/
H A DNUM2.cpp1866 const double psi = acos (cospsi), sinpsi = sin (psi); in NUMgetEllipseBoundingBox() local
1867 double phi = atan2 (-b * sinpsi, a * cospsi); in NUMgetEllipseBoundingBox()
1868 width = fabs (a * cospsi * cos (phi) - b * sinpsi * sin (phi)); in NUMgetEllipseBoundingBox()
1869 phi = atan2 (b * cospsi, a * sinpsi); in NUMgetEllipseBoundingBox()
1870 height = fabs (a * sinpsi * cos (phi) + b * cospsi * sin (phi)); in NUMgetEllipseBoundingBox()
/dports/astro/wcslib/wcslib-7.7/C/
H A Dprj.c6557 double cospsi, costhe, cotthe, sinpsi, sinthe, therad; in pcos2x() local
6617 sincosd((*xp)*sinthe, &sinpsi, &cospsi); in pcos2x()
6619 *xp = prj->r0*cotthe*sinpsi - prj->x0; in pcos2x()

12