Cantera  2.1.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Voigt Class Reference

A Voigt profile is the convolution of a Lorentzian and a Gaussian profile. More...

#include <LineBroadener.h>

Inheritance diagram for Voigt:
[legend]
Collaboration diagram for Voigt:
[legend]

Public Member Functions

 Voigt (doublereal sigma, doublereal gamma)
 Constructor. More...
 
virtual doublereal profile (doublereal deltaFreq)
 Voigt profile. More...
 
void testv ()
 
- Public Member Functions inherited from LineBroadener
 LineBroadener ()
 Default constructor. More...
 
virtual ~LineBroadener ()
 Destructor. More...
 
doublereal operator() (doublereal deltaFreq)
 
virtual doublereal cumulative (doublereal deltaFreq)
 The cumulative profile, defined as

\[ C(\Delta \nu) = \int_{-\infty}^{\Delta \nu} P(x) dx \]

. More...

 
virtual doublereal width ()
 

Protected Member Functions

doublereal F (doublereal x)
 This method evaluates the function

\[ F(x, y) = \frac{y}{\pi}\int_{-\infty}^{+\infty} \frac{e^{-z^2}} {(x - z)^2 + y^2} dz \]

The algorithm used to cmpute this function is described in the reference below. More...

 

Protected Attributes

doublereal m_sigma
 
doublereal m_gamma_lor
 
doublereal m_sigma2
 
doublereal m_width
 
doublereal m_gamma
 
doublereal m_sigsqrt2
 
doublereal m_a
 
doublereal m_eps
 

Detailed Description

A Voigt profile is the convolution of a Lorentzian and a Gaussian profile.

This profile results when Doppler broadening and collisional broadening both are important.

Definition at line 123 of file LineBroadener.h.

Constructor & Destructor Documentation

Voigt ( doublereal  sigma,
doublereal  gamma 
)

Constructor.

Parameters
sigmaThe standard deviation of the Gaussian
gammaThe half-width of the Lorentzian.

Definition at line 82 of file LineBroadener.cpp.

References Cantera::SqrtTwo.

Member Function Documentation

doublereal profile ( doublereal  deltaFreq)
virtual

Voigt profile.

Not sure that constant is right.

Reimplemented from LineBroadener.

Definition at line 168 of file LineBroadener.cpp.

References Voigt::F(), and Cantera::SqrtPi.

doublereal F ( doublereal  x)
protected

This method evaluates the function

\[ F(x, y) = \frac{y}{\pi}\int_{-\infty}^{+\infty} \frac{e^{-z^2}} {(x - z)^2 + y^2} dz \]

The algorithm used to cmpute this function is described in the reference below.

See Also
F. G. Lether and P. R. Wenston, "The numerical computation of the Voigt function by a corrected midpoint quadrature rule for \( (-\infty, \infty) \). Journal of Computational and Applied Mathematics}, 34 (1):75–92, 1991.

Definition at line 113 of file LineBroadener.cpp.

References Cantera::Pi, Cantera::SqrtPi, and Cantera::SqrtTwo.

Referenced by Voigt::profile().


The documentation for this class was generated from the following files: