concepts::BesselY< n > Class Template Referenceabstract

Class for evaluating the Bessel function of second kind. More...

#include <bessel.hh>

Inheritance diagram for concepts::BesselY< n >:
concepts::Formula< Real >

Public Types

typedef Realtype< Real >::type G
 
typedef Real value_type
 

Public Member Functions

 BesselY (const Real m, const Real3d r0)
 
 BesselY (const Real m=1.0, const Real r0=0.0)
 Constructor. More...
 
virtual BesselY< n > * clone () const
 
virtual Formulaclone () const=0
 
Real derivative (const Real p)
 Derivative of Bessel function. More...
 
Real derivative (const Real2d &p)
 
Real derivative (const Real3d &p)
 
virtual Real operator() (const Real p, const Real t=0.0) const
 Bessel function. More...
 
virtual Real operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Real operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

const Real m_
 Factor. More...
 
const Real3d r0_
 Center of the Bessel function. More...
 

Detailed Description

template<int n>
class concepts::BesselY< n >

Class for evaluating the Bessel function of second kind.

A center r0 and a shortening factor n can be given to evaluate

\[Y_0(n(r-r_0))\]

, where $r$ is the distance from the origin.

Author
(C) Copr. 1988-92 Numerical Recipes Software. Abramowitz and Stegun. Handbook of Mathematical Functions.

Definition at line 208 of file bessel.hh.

Member Typedef Documentation

◆ G

typedef Realtype<Real >::type concepts::Formula< Real >::G
inherited

Definition at line 37 of file formula.hh.

◆ value_type

typedef Real concepts::Formula< Real >::value_type
inherited

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ BesselY() [1/2]

template<int n>
concepts::BesselY< n >::BesselY ( const Real  m = 1.0,
const Real  r0 = 0.0 
)
inline

Constructor.

Definition at line 211 of file bessel.hh.

◆ BesselY() [2/2]

template<int n>
concepts::BesselY< n >::BesselY ( const Real  m,
const Real3d  r0 
)
inline

Definition at line 213 of file bessel.hh.

Member Function Documentation

◆ clone() [1/2]

template<int n>
virtual BesselY<n>* concepts::BesselY< n >::clone ( ) const
inlinevirtual

Definition at line 224 of file bessel.hh.

◆ clone() [2/2]

virtual Formula* concepts::Formula< Real >::clone ( ) const
pure virtualinherited

◆ derivative() [1/3]

template<int n>
Real concepts::BesselY< n >::derivative ( const Real  p)

Derivative of Bessel function.

Definition at line 252 of file bessel.hh.

◆ derivative() [2/3]

template<int n>
Real concepts::BesselY< n >::derivative ( const Real2d p)

Definition at line 258 of file bessel.hh.

◆ derivative() [3/3]

template<int n>
Real concepts::BesselY< n >::derivative ( const Real3d p)

Definition at line 264 of file bessel.hh.

◆ info()

template<int n>
std::ostream & concepts::BesselY< n >::info ( std::ostream &  os) const
protectedvirtual

Definition at line 270 of file bessel.hh.

◆ operator()() [1/6]

virtual Real concepts::Formula< Real >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 53 of file formula.hh.

◆ operator()() [2/6]

virtual Real concepts::Formula< Real >::operator() ( const Connector cntr,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 56 of file formula.hh.

◆ operator()() [3/6]

virtual Real concepts::Formula< Real >::operator() ( const Connector cntr,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Definition at line 59 of file formula.hh.

◆ operator()() [4/6]

template<int n>
Real concepts::BesselY< n >::operator() ( const Real  p,
const Real  t = 0.0 
) const
virtual

Bessel function.

Implements concepts::Formula< Real >.

Definition at line 237 of file bessel.hh.

◆ operator()() [5/6]

template<int n>
Real concepts::BesselY< n >::operator() ( const Real2d p,
const Real  t = 0.0 
) const
virtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Real >.

Definition at line 242 of file bessel.hh.

◆ operator()() [6/6]

template<int n>
Real concepts::BesselY< n >::operator() ( const Real3d p,
const Real  t = 0.0 
) const
virtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Real >.

Definition at line 247 of file bessel.hh.

Member Data Documentation

◆ m_

template<int n>
const Real concepts::BesselY< n >::m_
private

Factor.

Definition at line 231 of file bessel.hh.

◆ r0_

template<int n>
const Real3d concepts::BesselY< n >::r0_
private

Center of the Bessel function.

Definition at line 233 of file bessel.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich