Skip to content
Snippets Groups Projects
Select Git revision
  • 5a00a60306340587790cb87bdf4aea6f3638a875
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

drawContext.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    Bessel.h 1.41 KiB
    // GetDP - Copyright (C) 1997-2015 P. Dular and C. Geuzaine, University of Liege
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <getdp@geuz.org>.
    
    #ifndef _BESSEL_H_
    #define _BESSEL_H_
    
    #include <math.h>
    #include <complex>
    
    #define BESSEL_ERROR_INPUT     1
    #define BESSEL_OVERFLOW        2
    #define BESSEL_HALF_ACCURACY   3
    #define BESSEL_NO_ACCURACY     4
    #define BESSEL_NO_CONVERGENCE  5
    
    // These routines provide a C++ interface to the Fortran Bessel
    // functions from Donald E. Amos (Sandia National Laboratories)
    
    int BesselJn(double n, int num, double x, double *val);
    int BesselSphericalJn(double n, int num, double x, double *val);
    int BesselAltSphericalJn(double n, int num, double x, double *val);
    
    int BesselYn(double n, int num, double x, double *val);
    int BesselSphericalYn(double n, int num, double x, double *val);
    int BesselAltSphericalYn(double n, int num, double x, double *val);
    
    int BesselHn(int type, double n, int num, double x, std::complex<double> *val);
    int BesselSphericalHn(int type, double n, int num, double x, std::complex<double> *val);
    int BesselAltSphericalHn(int type, double n, int num, double x, std::complex<double> *val);
    
    // Utilities for backward compatibility
    
    double Spherical_j_n(int n, double x);
    double AltSpherical_j_n(int n, double x);
    double Spherical_y_n(int n, double x);
    double AltSpherical_y_n(int n, double x);
    
    #endif