/dports/science/rdkit/rdkit-Release_2021_03_5/Code/GraphMol/ForceFieldHelpers/CrystalFF/ |
H A D | TorsionAngleM6.cpp | 28 double cosPhi2 = cosPhi * cosPhi; in calcTorsionEnergyM6() 29 double cosPhi3 = cosPhi * cosPhi2; in calcTorsionEnergyM6() 30 double cosPhi4 = cosPhi * cosPhi3; in calcTorsionEnergyM6() 31 double cosPhi5 = cosPhi * cosPhi4; in calcTorsionEnergyM6() 32 double cosPhi6 = cosPhi * cosPhi5; in calcTorsionEnergyM6() 110 clipToOne(cosPhi); in getGrad() 111 double sinPhiSq = 1.0 - cosPhi * cosPhi; in getGrad() 113 double cosPhi2 = cosPhi * cosPhi; in getGrad() 114 double cosPhi3 = cosPhi * cosPhi2; in getGrad() 115 double cosPhi4 = cosPhi * cosPhi3; in getGrad() [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/ForceField/MMFF/ |
H A D | TorsionAngle.cpp | 33 clipToOne(cosPhi); in calcTorsionCosPhi() 35 return cosPhi; in calcTorsionCosPhi() 45 const double cosPhi) { in calcTorsionEnergy() argument 46 double cos2Phi = 2.0 * cosPhi * cosPhi - 1.0; in calcTorsionEnergy() 47 double cos3Phi = cosPhi * (2.0 * cos2Phi - 1.0); in calcTorsionEnergy() 57 double dCos_dT[6] = {1.0 / d[0] * (t[1].x - cosPhi * t[0].x), in calcTorsionGrad() 146 double cosPhi; in getGrad() local 149 double sinPhiSq = 1.0 - cosPhi * cosPhi; in getGrad() 151 double sin2Phi = 2.0 * sinPhi * cosPhi; in getGrad() 160 std::cout << "cos: " << cosPhi << std::endl; in getGrad() [all …]
|
/dports/science/rdkit/rdkit-Release_2021_03_5/Code/ForceField/UFF/ |
H A D | TorsionAngle.cpp | 27 double cosPhi = t1.dotProduct(t2) / (d1 * d2); in calculateCosTorsion() local 28 clipToOne(cosPhi); in calculateCosTorsion() 29 return cosPhi; in calculateCosTorsion() 189 double sinPhiSq = 1 - cosPhi * cosPhi; in getEnergy() 195 cosNPhi = cosPhi * cosPhi - sinPhiSq; in getEnergy() 199 cosNPhi = cosPhi * (cosPhi * cosPhi - 3. * sinPhiSq); in getEnergy() 228 double cosPhi; in getGrad() local 231 double sinPhiSq = 1.0 - cosPhi * cosPhi; in getGrad() 235 double dE_dPhi = getThetaDeriv(cosPhi, sinPhi); in getGrad() 240 std::cout << "cos: " << cosPhi << std::endl; in getGrad() [all …]
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/COLLADABaseUtils/src/Math/ |
H A D | COLLADABUMathMatrix4.cpp | 98 Real cosAlpha, sinAlpha, cosPhi, sinPhi, in setRotate() local 105 cosPhi = cos( phi ); in setRotate() 107 cosPhi2 = cosPhi * cosPhi; in setRotate() 118 m[ 1 ][ 0 ] = sinAlpha * cosPhi + c * sinPhi2 * cosTheta * sinTheta; in setRotate() 119 m[ 2 ][ 0 ] = sinPhi * ( cosPhi * cosTheta * c - sinAlpha * sinTheta ); in setRotate() 120 m[ 0 ][ 1 ] = sinPhi2 * cosTheta * sinTheta * c - sinAlpha * cosPhi; in setRotate() 123 m[ 2 ][ 1 ] = sinPhi * ( cosPhi * sinTheta * c + sinAlpha * cosTheta ); in setRotate() 124 m[ 0 ][ 2 ] = sinPhi * ( cosPhi * cosTheta * c + sinAlpha * sinTheta ); in setRotate() 125 m[ 1 ][ 2 ] = sinPhi * ( cosPhi * sinTheta * c - sinAlpha * cosTheta ); in setRotate()
|
/dports/science/clhep/2.4.1.0/CLHEP/Vector/src/ |
H A D | EulerAngles.cc | 46 double sinPhi = std::sin( ex.phi() ) , cosPhi = std::cos( ex.phi() ); in ZMpvEulerAnglesRep() local 50 array[0] = cosPsi * cosPhi - sinPsi * cosTheta * sinPhi; in ZMpvEulerAnglesRep() 51 array[1] = cosPsi * sinPhi + sinPsi * cosTheta * cosPhi; in ZMpvEulerAnglesRep() 54 array[3] = - sinPsi * cosPhi - cosPsi * cosTheta * sinPhi; in ZMpvEulerAnglesRep() 55 array[4] = - sinPsi * sinPhi + cosPsi * cosTheta * cosPhi; in ZMpvEulerAnglesRep() 59 array[7] = - sinTheta * cosPhi; in ZMpvEulerAnglesRep()
|
H A D | SpaceVectorR.cc | 85 double sinPhi = std::sin( phi1 ), cosPhi = std::cos( phi1 ); in rotate() local 89 rx = (cosPsi * cosPhi - cosTheta1 * sinPsi * sinPhi) * dx + in rotate() 90 (cosPsi * sinPhi + cosTheta1 * sinPsi * cosPhi) * dy + in rotate() 93 ry = (- sinPsi * cosPhi - cosTheta1 * cosPsi * sinPhi) * dx + in rotate() 94 (- sinPsi * sinPhi + cosTheta1 * cosPsi * cosPhi) * dy + in rotate() 98 (- sinTheta * cosPhi) * dy + in rotate()
|
H A D | RotationE.cc | 39 double sinPhi = std::sin( phi1 ), cosPhi = std::cos( phi1 ); in set() local 43 rxx = cosPsi * cosPhi - cosTheta * sinPhi * sinPsi; in set() 44 rxy = cosPsi * sinPhi + cosTheta * cosPhi * sinPsi; in set() 47 ryx = - sinPsi * cosPhi - cosTheta * sinPhi * cosPsi; in set() 48 ryy = - sinPsi * sinPhi + cosTheta * cosPhi * cosPsi; in set() 52 rzy = - sinTheta * cosPhi; in set()
|
/dports/net-im/coccinella/Coccinella-0.96.20Src/bin/macosx/i386/tkpath/ |
H A D | tkpath.tcl | 38 set cosPhi [expr {cos($phi)}] 43 [list [list $cosPhi $sinPhi] [list $msinPhi $cosPhi] {0 0}] 48 [list $cosPhi $sinPhi] \ 49 [list $msinPhi $cosPhi] \
|
/dports/astro/nightfall/nightfall-1.92/ |
H A D | LightMap.c | 111 double cosPhi; /* cos phase */ in PrintSurfaceMap() local 166 cosPhi = cos(-OrbPtr->Phase); in PrintSurfaceMap() 172 cosPhi = cos(-OrbPtr->Phase + PI); in PrintSurfaceMap() 184 Trans[2][0] = cosPhi * sinAlpha; in PrintSurfaceMap() 188 Trans[1][1] = cosPhi; in PrintSurfaceMap() 199 Trans[2][3] = -com * cosPhi * sinAlpha; in PrintSurfaceMap() 203 t23_C = -com2 * cosPhi * sinAlpha; in PrintSurfaceMap()
|
/dports/math/fricas/fricas-1.3.7/src/graph/view3D/ |
H A D | transform3d.c | 92 …xxR[0][0]= -(cosTheta); xxR[0][1]= -(-sinTheta*cosPhi); xxR[0][2]= -(sinTheta*sinPhi); xxR[0][3]=… in ROTATE() 93 …xxR[1][0]= -(sinTheta); xxR[1][1]= -(cosTheta*cosPhi); xxR[1][2]= -(-cosTheta*sinPhi); xxR[1][3]=… in ROTATE() 94 …xxR[2][0]= 0.0; xxR[2][1]= -(sinPhi); xxR[2][2]= -(cosPhi); xxR[2][3]=… in ROTATE() 101 …xxR[0][0]= (cosTheta); xxR[0][1]= (-sinTheta*cosPhi); xxR[0][2]= (sinTheta*sinPhi); xxR[0][3]= 0.… in ROTATE1() 102 …xxR[1][0]= (sinTheta); xxR[1][1]= (cosTheta*cosPhi); xxR[1][2]= (-cosTheta*sinPhi); xxR[1][3]= 0.… in ROTATE1() 103 …xxR[2][0]= 0.0; xxR[2][1]= (sinPhi); xxR[2][2]= (cosPhi); xxR[2][3]= 0.… in ROTATE1()
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/ |
H A D | Snippet195.java | 44 float cosPhi = (float) Math.cos(phi); in drawTorus() local 46 float dist = R + r * cosPhi; in drawTorus() 47 GL11.glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); in drawTorus() 49 GL11.glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in drawTorus()
|
H A D | Snippet209.java | 46 float cosPhi = (float) Math.cos(phi); in drawTorus() local 48 float dist = R + r * cosPhi; in drawTorus() 49 gl.glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); in drawTorus() 51 gl.glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in drawTorus()
|
/dports/graphics/py-PyOpenGL/PyOpenGL-3.1.5/tests/ |
H A D | osdemo.py | 44 cosPhi = cos(phi) 46 dist = outerRadius + innerRadius * cosPhi 48 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi) 50 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi)
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.opengl.examples/src/org/eclipse/swt/opengl/examples/ |
H A D | LWJGLExample.java | 43 float cosPhi = (float) Math.cos(phi); in drawTorus() local 45 float dist = R + r * cosPhi; in drawTorus() 46 GL11.glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); in drawTorus() 48 GL11.glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in drawTorus()
|
/dports/graphics/ospray/ospray-2.8.0/ospray/math/ |
H A D | sampling.ih | 18 float sinPhi, cosPhi; 19 sincos(phi, &sinPhi, &cosPhi); 20 return make_vec3f(cosPhi * sinTheta, sinPhi * sinTheta, cosTheta); 115 float sinPhi, cosPhi; 116 sincos(phi, &sinPhi, &cosPhi); 117 return make_vec3f(r * cosPhi, r * sinPhi, 0.f); 139 float sinPhi, cosPhi; 140 sincos(phi, &sinPhi, &cosPhi); 141 return make_vec3f(r * cosPhi, r * sinPhi, 0.f);
|
/dports/graphics/glx-utils/demos-5435fc7fbd332e171da9a71e33a9b190e9462cf0/src/osdemos/ |
H A D | osdemo.c | 76 GLfloat cosPhi, sinPhi, dist; in Torus() local 79 cosPhi = cos(phi); in Torus() 81 dist = outerRadius + innerRadius * cosPhi; in Torus() 83 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); in Torus() 85 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in Torus()
|
/dports/graphics/mesa-demos/mesa-demos-8.4.0/src/osdemos/ |
H A D | osdemo.c | 76 GLfloat cosPhi, sinPhi, dist; in Torus() local 79 cosPhi = cos(phi); in Torus() 81 dist = outerRadius + innerRadius * cosPhi; in Torus() 83 glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, sinPhi); in Torus() 85 glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in Torus()
|
/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/main/java/org/apache/commons/math3/random/ |
H A D | StableRandomGenerator.java | 114 double cosPhi = FastMath.cos(phi); in nextNormalizedDouble() local 119 x = (FastMath.sin(alphaPhi) + zeta * FastMath.cos(alphaPhi)) / cosPhi * in nextNormalizedDouble() 121 FastMath.pow(omega * cosPhi, (1 - alpha) / alpha); in nextNormalizedDouble() 125 FastMath.log(FastMath.PI / 2d * omega * cosPhi / betaPhi)); in nextNormalizedDouble()
|
/dports/science/jmol/jmol-14.32.7/src/org/jmol/minimize/forcefield/ |
H A D | UFFOOPCalc.java | 180 double cosPhi = Math.cos(phi); in setData() local 181 a0 = cosPhi * cosPhi; in setData() 182 a1 = -2.0 * cosPhi; in setData()
|
/dports/games/lwjgl/lwjgl-2df01dd/eclipse-update/org.lwjgl.info/src/java/org/lwjgl/info/ |
H A D | LWJGLTestView.java | 143 float cosPhi = (float) Math.cos(phi); in drawTorus() local 145 float dist = R + r * cosPhi; in drawTorus() 147 .glNormal3f(cosTheta1 * cosPhi, -sinTheta1 * cosPhi, in drawTorus() 152 GL11.glNormal3f(cosTheta * cosPhi, -sinTheta * cosPhi, sinPhi); in drawTorus()
|
/dports/net-im/coccinella/Coccinella-0.96.20Src/bin/macosx/PowerMacintosh/tkpath/ |
H A D | tkpath.tcl | 38 set cosPhi [expr {cos($phi)}] 43 [list [list $cosPhi $sinPhi] [list $msinPhi $cosPhi] {0 0}] 48 [list $cosPhi $sinPhi] \ 49 [list $msinPhi $cosPhi] \
|
/dports/math/vtk8/VTK-8.2.0/Infovis/Layout/ |
H A D | vtkGeoMath.cxx | 63 double cosPhi = cos(phi); in LongLatAltToRect() local 67 rect[1] = cos(theta) * cosPhi * radius; in LongLatAltToRect() 68 rect[0] = -sin(theta) * cosPhi * radius; in LongLatAltToRect()
|
/dports/math/vtk9/VTK-9.1.0/Infovis/Layout/ |
H A D | vtkGeoMath.cxx | 61 double cosPhi = cos(phi); in LongLatAltToRect() local 65 rect[1] = cos(theta) * cosPhi * radius; in LongLatAltToRect() 66 rect[0] = -sin(theta) * cosPhi * radius; in LongLatAltToRect()
|
/dports/math/vtk6/VTK-6.2.0/Infovis/Layout/ |
H A D | vtkGeoMath.cxx | 67 double cosPhi = cos(phi); in LongLatAltToRect() local 71 rect[1] = cos(theta) * cosPhi * radius; in LongLatAltToRect() 72 rect[0] = -sin(theta) * cosPhi * radius; in LongLatAltToRect()
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/base/ |
H A D | ossimEllipsoid.cpp | 478 double cosPhi = cos(lat*RAD_PER_DEG); in jacobianWrtEcef() local 485 jMat(2,1) = -sinLam / (cosPhi * N_plus_h); in jacobianWrtEcef() 486 jMat(3,1) = cosPhi * cosLam; in jacobianWrtEcef() 489 jMat(3,2) = cosPhi * sinLam; in jacobianWrtEcef() 490 jMat(1,3) = cosPhi / M_plus_h; in jacobianWrtEcef() 518 double cosPhi = cos(lat*RAD_PER_DEG); in jacobianWrtGeo() local 526 jMat(3,1) = M_plus_h * cosPhi; in jacobianWrtGeo() 527 jMat(1,2) = -N_plus_h * cosPhi * sinLam; in jacobianWrtGeo() 528 jMat(2,2) = N_plus_h * cosPhi * cosLam; in jacobianWrtGeo() 530 jMat(1,3) = cosPhi * cosLam; in jacobianWrtGeo() [all …]
|