![]() |
|
Variables | |
double | eps =1.0e-15 |
double | el =0.5772156649015329 |
Collection of Bessel functions and the like, implemented in C++ by C. Bond (http://www.crbond.com/), using the algorithms in Zhang and Jin's book "Computation of Special Functions". John Wiley and Sons, 1996. This is based on the version dated 06/04 which appears to have corrected errors in complex Bessel functions.
int CRBond_Bessel::bessik01a | ( | double | x, |
double & | i0, | ||
double & | i1, | ||
double & | k0, | ||
double & | k1, | ||
double & | i0p, | ||
double & | i1p, | ||
double & | k0p, | ||
double & | k1p | ||
) |
References a, b, el, eps, Eigen::bfloat16_impl::exp(), boost::multiprecision::fabs(), k, Eigen::bfloat16_impl::log(), M_PI, Eigen::bfloat16_impl::pow(), UniformPSDSelfTest::r, sqrt(), plotDoE::x, and Global_parameters::x2().
Referenced by bessikna().
int CRBond_Bessel::bessik01b | ( | double | x, |
double & | i0, | ||
double & | i1, | ||
double & | k0, | ||
double & | k1, | ||
double & | i0p, | ||
double & | i1p, | ||
double & | k0p, | ||
double & | k1p | ||
) |
References Eigen::bfloat16_impl::exp(), Eigen::bfloat16_impl::log(), sqrt(), plotPSD::t, and plotDoE::x.
int CRBond_Bessel::bessikna | ( | int | n, |
double | x, | ||
int & | nm, | ||
double * | in, | ||
double * | kn, | ||
double * | inp, | ||
double * | knp | ||
) |
References bessik01a(), eps, f(), Global_parameters::f1(), k, m, msta1(), msta2(), n, and plotDoE::x.
int CRBond_Bessel::bessiknb | ( | int | n, |
double | x, | ||
int & | nm, | ||
double * | in, | ||
double * | kn, | ||
double * | inp, | ||
double * | knp | ||
) |
References el, eps, Eigen::bfloat16_impl::exp(), f(), Global_parameters::f1(), int(), k, Eigen::bfloat16_impl::log(), m, msta1(), msta2(), n, Eigen::bfloat16_impl::pow(), UniformPSDSelfTest::r, sqrt(), and plotDoE::x.
int CRBond_Bessel::bessikv | ( | double | v, |
double | x, | ||
double & | vm, | ||
double * | iv, | ||
double * | kv, | ||
double * | ivp, | ||
double * | kvp | ||
) |
References el, eps, Eigen::bfloat16_impl::exp(), f(), Global_parameters::f1(), Global_parameters::f2(), boost::multiprecision::fabs(), gamma(), int(), k, Eigen::bfloat16_impl::log(), m, M_PI, msta1(), msta2(), n, Eigen::bfloat16_impl::pow(), UniformPSDSelfTest::r, sin(), sqrt(), v, plotDoE::x, and Global_parameters::x2().
int CRBond_Bessel::bessjy01a | ( | double | x, |
double & | j0, | ||
double & | j1, | ||
double & | y0, | ||
double & | y1, | ||
double & | j0p, | ||
double & | j1p, | ||
double & | y0p, | ||
double & | y1p | ||
) |
References a, b, cos(), e(), el, boost::multiprecision::fabs(), k, Eigen::bfloat16_impl::log(), M_PI, p0, p1, Eigen::bfloat16_impl::pow(), UniformPSDSelfTest::r, sin(), sqrt(), plotDoE::x, and Global_parameters::x2().
Referenced by AxisymOscillatingDisk::accel(), Global_Parameters::BesselJ(), Global_Parameters::BesselY(), bessjyna(), InterfaceProblem< ELEMENT, TIMESTEPPER >::deform_free_surface(), AxisymOscillatingDisk::position(), AxisymOscillatingDisk::residual_for_dispersion(), and AxisymOscillatingDisk::veloc().
int CRBond_Bessel::bessjy01b | ( | double | x, |
double & | j0, | ||
double & | j1, | ||
double & | y0, | ||
double & | y1, | ||
double & | j0p, | ||
double & | j1p, | ||
double & | y0p, | ||
double & | y1p | ||
) |
References cos(), Eigen::bfloat16_impl::log(), M_PI, p0, p1, sin(), sqrt(), plotPSD::t, and plotDoE::x.
int CRBond_Bessel::bessjyna | ( | int | n, |
double | x, | ||
int & | nm, | ||
double * | jn, | ||
double * | yn, | ||
double * | jnp, | ||
double * | ynp | ||
) |
References bessjy01a(), e(), f(), Global_parameters::f1(), Global_parameters::f2(), boost::multiprecision::fabs(), i, k, m, msta1(), msta2(), n, and plotDoE::x.
Referenced by GlobalParameters::get_exact_u(), Global_Parameters::Hankel_first(), oomph::Hankel_functions_for_helmholtz_problem::Hankel_first(), and GlobalParameters::prescribed_incoming_flux().
int CRBond_Bessel::bessjynb | ( | int | n, |
double | x, | ||
int & | nm, | ||
double * | jn, | ||
double * | yn, | ||
double * | jnp, | ||
double * | ynp | ||
) |
References a, b, cos(), e(), f(), Global_parameters::f1(), Global_parameters::f2(), i, k, Eigen::bfloat16_impl::log(), m, M_PI, msta1(), msta2(), n, p0, p1, Eigen::bfloat16_impl::pow(), sin(), sqrt(), and plotDoE::x.
int CRBond_Bessel::bessjyv | ( | double | v, |
double | x, | ||
double & | vm, | ||
double * | jv, | ||
double * | yv, | ||
double * | djv, | ||
double * | dyv | ||
) |
References a, b, cos(), e(), el, f(), Global_parameters::f1(), Global_parameters::f2(), boost::multiprecision::fabs(), gamma(), int(), j, k, Eigen::bfloat16_impl::log(), m, M_PI, msta1(), msta2(), n, Eigen::bfloat16_impl::pow(), px, UniformPSDSelfTest::r, sin(), sqrt(), v, plotDoE::x, and Global_parameters::x2().
Referenced by ProblemParameters::exact_minus_dudr(), PlanarWave::get_exact_u(), ProblemParameters::get_exact_u(), main(), and oomph::FourierDecomposedHelmholtzDtNMesh< ELEMENT >::setup_gamma().
int CRBond_Bessel::cbessik01 | ( | complex< double > | z, |
complex< double > & | ci0, | ||
complex< double > & | ci1, | ||
complex< double > & | ck0, | ||
complex< double > & | ck1, | ||
complex< double > & | ci0p, | ||
complex< double > & | ci1p, | ||
complex< double > & | ck0p, | ||
complex< double > & | ck1p | ||
) |
References a, abs(), b, cii(), cone(), czero(), el, eps, Eigen::bfloat16_impl::exp(), imag(), k, Eigen::bfloat16_impl::log(), M_PI, Eigen::bfloat16_impl::pow(), and sqrt().
Referenced by cbessikna().
int CRBond_Bessel::cbessikna | ( | int | n, |
complex< double > | z, | ||
int & | nm, | ||
complex< double > * | ci, | ||
complex< double > * | ck, | ||
complex< double > * | cip, | ||
complex< double > * | ckp | ||
) |
References abs(), cbessik01(), czero(), k, m, msta1(), msta2(), and n.
int CRBond_Bessel::cbessiknb | ( | int | n, |
complex< double > | z, | ||
int & | nm, | ||
complex< double > * | ci, | ||
complex< double > * | ck, | ||
complex< double > * | cip, | ||
complex< double > * | ckp | ||
) |
int CRBond_Bessel::cbessikv | ( | double | v, |
complex< double > | z, | ||
double & | vm, | ||
complex< double > * | civ, | ||
complex< double > * | ckv, | ||
complex< double > * | civp, | ||
complex< double > * | ckvp | ||
) |
int CRBond_Bessel::cbessjy01 | ( | complex< double > | z, |
complex< double > & | cj0, | ||
complex< double > & | cj1, | ||
complex< double > & | cy0, | ||
complex< double > & | cy1, | ||
complex< double > & | cj0p, | ||
complex< double > & | cj1p, | ||
complex< double > & | cy0p, | ||
complex< double > & | cy1p | ||
) |
int CRBond_Bessel::cbessjyna | ( | int | n, |
complex< double > | z, | ||
int & | nm, | ||
complex< double > * | cj, | ||
complex< double > * | cy, | ||
complex< double > * | cjp, | ||
complex< double > * | cyp | ||
) |
References abs(), cbessjy01(), cone(), czero(), imag(), k, m, M_PI, msta1(), msta2(), and n.
Referenced by oomph::Hankel_functions_for_helmholtz_problem::CHankel_first().
int CRBond_Bessel::cbessjynb | ( | int | n, |
complex< double > | z, | ||
int & | nm, | ||
complex< double > * | cj, | ||
complex< double > * | cy, | ||
complex< double > * | cjp, | ||
complex< double > * | cyp | ||
) |
int CRBond_Bessel::cbessjyva | ( | double | v, |
complex< double > | z, | ||
double & | vm, | ||
complex< double > * | cjv, | ||
complex< double > * | cyv, | ||
complex< double > * | cjvp, | ||
complex< double > * | cyvp | ||
) |
Referenced by cbessik01(), cbessiknb(), cbessikv(), cbessjy01(), and cbessjyva().
Referenced by cbessik01(), cbessiknb(), cbessikv(), cbessjy01(), cbessjyna(), cbessjynb(), cbessjyva(), and Silo::setupInitialConditions().
Referenced by cbessik01(), cbessikna(), cbessiknb(), cbessikv(), cbessjy01(), cbessjyna(), cbessjynb(), and cbessjyva().
References boost::multiprecision::fabs(), i, int(), k, m, M_PI, UniformPSDSelfTest::r, sin(), and plotDoE::x.
Referenced by bessikv(), bessjyv(), cbessikv(), and cbessjyva().
References abs(), f(), Global_parameters::f1(), boost::multiprecision::fabs(), i, int(), Eigen::bfloat16_impl::log10(), and plotDoE::x.
Referenced by bessikna(), bessiknb(), bessikv(), bessjyna(), bessjynb(), bessjyv(), cbessikna(), cbessiknb(), cbessikv(), cbessjyna(), cbessjynb(), and cbessjyva().
References abs(), f(), Global_parameters::f1(), boost::multiprecision::fabs(), i, int(), Eigen::bfloat16_impl::log10(), n, and plotDoE::x.
Referenced by bessikna(), bessiknb(), bessikv(), bessjyna(), bessjynb(), bessjyv(), cbessikna(), cbessiknb(), cbessikv(), cbessjyna(), cbessjynb(), and cbessjyva().
double CRBond_Bessel::el =0.5772156649015329 |
double CRBond_Bessel::eps =1.0e-15 |
Referenced by Membrane::addVertex(), array_special_functions(), bessik01a(), bessikna(), bessiknb(), bessikv(), Eigen::internal::blueNorm_impl(), cbessik01(), cbessikv(), cbessjy01(), cbessjyva(), check_product(), Eigen::internal::chkder(), NurbsUtils::close(), Eigen::NumericalDiff< Functor_, mode >::df(), Eigen::EigenSolver< MatrixType_ >::doComputeEigenvectors(), oomph::HerschelBulkleyMenDutRegConstitutiveEquation< DIM >::dviscosity_dinvariant(), Eigen::SparseMatrix< Scalar_, Options_, StorageIndex_ >::EIGEN_STATIC_ASSERT(), Eigen::internal::fdjac1(), MembraneDemo::fixMembraneEdges(), MembraneSelfTest::fixMembraneEdges(), MeshTriangle::isInsideTriangle(), LawinenBox::LawinenBox(), TwoDDGProblem< ELEMENT >::limit(), Membrane::loadFromSTL(), pblueNorm(), quaternion(), SilbertPeriodic::set_study(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficient(), SlidingFrictionSpecies::setCollisionTimeAndNormalAndTangentialRestitutionCoefficientNoDispt(), LinearViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SPHNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), LinearPlasticViscoelasticNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterLinNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), SinterNormalSpecies::setCollisionTimeAndRestitutionCoefficient(), BaseCG::setEps(), LinearPlasticViscoelasticNormalSpecies::setRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setRestitutionCoefficient(), SinterLinNormalSpecies::setRestitutionCoefficient(), SPHNormalSpecies::setRestitutionCoefficient(), LinearPlasticViscoelasticNormalSpecies::setStiffnessAndRestitutionCoefficient(), LinearViscoelasticNormalSpecies::setStiffnessAndRestitutionCoefficient(), SinterLinNormalSpecies::setStiffnessAndRestitutionCoefficient(), SinterNormalSpecies::setStiffnessAndRestitutionCoefficient(), SPHNormalSpecies::setStiffnessAndRestitutionCoefficient(), sparse_basic(), sparse_extra(), sparse_vector(), transformations_computed_scaling_continuity(), and oomph::HerschelBulkleyMenDutRegConstitutiveEquation< DIM >::viscosity().