Home
last modified time | relevance | path

Searched refs:cos2phi (Results 1 – 11 of 11) sorted by relevance

/dports/games/flightgear/flightgear-2020.3.11/src/Environment/
H A Dgravity.cxx55 double cos2phi = cosphi*cosphi; in getGravity() local
58 double g0 = (AGA * cos2phi + BGB * sin2phi) / sqrt( A*A*cos2phi+B*B*sin2phi ); in getGravity()
/dports/science/lammps/lammps-stable_29Sep2021/src/OPENMP/
H A Ddihedral_class2_omp.cpp94 double de_dihedral,t1,t2,t3,t4,cos2phi,cos3phi,bt1,bt2; in eval() local
348 cos2phi = cos(2.0*phi); in eval()
352 bt2 = mbt_f2[type] * cos2phi; in eval()
373 bt2 = ebt_f2_1[type] * cos2phi; in eval()
395 bt2 = ebt_f2_2[type] * cos2phi; in eval()
417 at2 = at_f2_1[type] * cos2phi; in eval()
438 at2 = at_f2_2[type] * cos2phi; in eval()
/dports/science/py-OpenMC/openmc-0.12.2/openmc/data/
H A Dreconstruct.pyx145 cdef double P, S, phi, cos2phi, sin2phi
169 cos2phi = cos(2*phi)
227 elastic += g[ij]*((1 - cos2phi - s[ij][0])**2 +
231 elastic += 2*Dl*(1 - cos2phi)
270 cdef double P, S, phi, cos2phi, sin2phi, sinphi2
292 cos2phi = cos(2*phi)
335 elastic += f*(gnE*cos2phi - 2*(gg + gf)*sinphi2
/dports/science/openmc/openmc-0.12.2/openmc/data/
H A Dreconstruct.pyx145 cdef double P, S, phi, cos2phi, sin2phi
169 cos2phi = cos(2*phi)
227 elastic += g[ij]*((1 - cos2phi - s[ij][0])**2 +
231 elastic += 2*Dl*(1 - cos2phi)
270 cdef double P, S, phi, cos2phi, sin2phi, sinphi2
292 cos2phi = cos(2*phi)
335 elastic += f*(gnE*cos2phi - 2*(gg + gf)*sinphi2
/dports/science/chrono/chrono-7.0.1/src/chrono/fea/
H A DChBeamSectionTaperedTimoshenko.cpp67 double cos2phi = cos(2. * mass_phi); in SetMainInertiasInMassReference() local
94 Acog2cl(4, 4) = cos2phi; in SetMainInertiasInMassReference()
148 double cos2phi = cos(2. * mass_phi); in GetMainInertiasInMassReference() local
171 Acl2cog(4, 0) = -this->My * cos2phi - this->Mz * sin2phi; in GetMainInertiasInMassReference()
172 Acl2cog(4, 1) = this->My * sin2phi - this->Mz * cos2phi; in GetMainInertiasInMassReference()
175 Acl2cog(4, 4) = cos2phi; in GetMainInertiasInMassReference()
/dports/science/lammps/lammps-stable_29Sep2021/src/CLASS2/
H A Ddihedral_class2.cpp114 double de_dihedral,t1,t2,t3,t4,cos2phi,cos3phi,bt1,bt2; in compute() local
371 cos2phi = cos(2.0*phi); in compute()
375 bt2 = mbt_f2[type] * cos2phi; in compute()
396 bt2 = ebt_f2_1[type] * cos2phi; in compute()
418 bt2 = ebt_f2_2[type] * cos2phi; in compute()
440 at2 = at_f2_1[type] * cos2phi; in compute()
461 at2 = at_f2_2[type] * cos2phi; in compute()
/dports/games/etracer/etr-0.8.1/src/
H A Dmathlib.cpp236 double cos2phi = DotProduct(s, t); in MakeRotationQuaternion() local
238 double sinphi = std::sqrt((1 - cos2phi) / 2.0); in MakeRotationQuaternion()
239 double cosphi = std::sqrt((1 + cos2phi) / 2.0); in MakeRotationQuaternion()
/dports/science/lammps/lammps-stable_29Sep2021/src/KOKKOS/
H A Ddihedral_class2_kokkos.cpp452 F_FLOAT cos2phi = cos(2.0*phi); in operator ()() local
456 F_FLOAT bt2 = d_mbt_f2[type] * cos2phi; in operator ()()
477 bt2 = d_ebt_f2_1[type] * cos2phi; in operator ()()
499 bt2 = d_ebt_f2_2[type] * cos2phi; in operator ()()
521 F_FLOAT at2 = d_at_f2_1[type] * cos2phi; in operator ()()
542 at2 = d_at_f2_2[type] * cos2phi; in operator ()()
/dports/games/tuxracer/tuxracer-0.61/src/
H A Dalglib.c587 scalar_t cos2phi, sin2phi; in make_rotation_quaternion() local
596 cos2phi = dot_product( s, t ); in make_rotation_quaternion()
601 sinphi = sqrt( ( 1 - cos2phi ) / 2.0 ); in make_rotation_quaternion()
602 cosphi = sqrt( ( 1 + cos2phi ) / 2.0 ); in make_rotation_quaternion()
/dports/graphics/gmt/gmt-6.3.0/src/geodesy/
H A Dearthtide.c312 double cosphi, sinphi, cos2phi, inv_rsun2, inv_rmon2; in earthtide_st1idiu() local
317 cos2phi = cosphi * cosphi - sinphi * sinphi; in earthtide_st1idiu()
326 dnsun = dli * -3 * cos2phi * fac2sun * xsun[2] * (xsun[0] * sinla - xsun[1] * cosla) * inv_rsun2; in earthtide_st1idiu()
327 dnmon = dli * -3 * cos2phi * fac2mon * xmon[2] * (xmon[0] * sinla - xmon[1] * cosla) * inv_rmon2; in earthtide_st1idiu()
/dports/graphics/gmt/gmt-6.3.0/src/
H A Dgmt_map.c8818 double delta, cos2phi, sin2phi; in gmtmap_lat_swap_quick() local
8827 sincosd (2.0 * lat, &sin2phi, &cos2phi); in gmtmap_lat_swap_quick()
8829 delta = sin2phi * (c[0] + cos2phi * (c[1] + cos2phi * (c[2] + cos2phi * c[3]))); in gmtmap_lat_swap_quick()
8838 double delta, cos2phi, sin2phi; in gmt_lat_swap() local
8855 sincosd (2.0 * lat, &sin2phi, &cos2phi); in gmt_lat_swap()
8858 + cos2phi * (GMT->current.proj.lat_swap_vals.c[itype][1] in gmt_lat_swap()
8859 + cos2phi * (GMT->current.proj.lat_swap_vals.c[itype][2] in gmt_lat_swap()
8860 + cos2phi * GMT->current.proj.lat_swap_vals.c[itype][3]))); in gmt_lat_swap()