From 27056f0ee455f110f1f766ac6d1dba3910cf0855 Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Wed, 19 Dec 2007 07:23:25 +0000 Subject: [PATCH] *** empty log message *** --- Cantera/src/spectra/.cvsignore | 3 +++ Cantera/src/spectra/rotor.cpp | 5 +++-- Cantera/src/spectra/rotor.h | 4 +++- test_problems/spectroscopy/.cvsignore | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 Cantera/src/spectra/.cvsignore diff --git a/Cantera/src/spectra/.cvsignore b/Cantera/src/spectra/.cvsignore new file mode 100644 index 000000000..10fd288cc --- /dev/null +++ b/Cantera/src/spectra/.cvsignore @@ -0,0 +1,3 @@ +*.d +Makefile +.depends diff --git a/Cantera/src/spectra/rotor.cpp b/Cantera/src/spectra/rotor.cpp index 16e9223d4..1aaea1644 100644 --- a/Cantera/src/spectra/rotor.cpp +++ b/Cantera/src/spectra/rotor.cpp @@ -41,7 +41,8 @@ namespace Cantera { } /** - * The number of quantum states with the same J. + * The number of quantum states with the same J. For a + * quantum-mechanical rotor, this is simply 2J+1. */ int Rotor::degeneracy(int J) { return 2*J + 1; @@ -53,7 +54,7 @@ namespace Cantera { * If T/Trot > 100, then the classical value (T/Trot) is * is returned. Otherwise, it is computed as a sum * \f[ - * z = \sum_{J=0}^{J_{max} (2J + 1) \exp(-E(J)/kT) + * z = \sum_{J=0}^{J_{max}} (2J + 1) \exp(-E(J)/kT) * \f] */ doublereal Rotor::partitionFunction(doublereal T, int cutoff) { diff --git a/Cantera/src/spectra/rotor.h b/Cantera/src/spectra/rotor.h index 0cbff62b6..5f27bdb35 100644 --- a/Cantera/src/spectra/rotor.h +++ b/Cantera/src/spectra/rotor.h @@ -8,7 +8,9 @@ * * These classes are used to simulate the absorption and emission spectra of * molecules. - * + */ + +/* * @ingroup thermoprops */ diff --git a/test_problems/spectroscopy/.cvsignore b/test_problems/spectroscopy/.cvsignore index f3c7a7c5d..e6e559e00 100644 --- a/test_problems/spectroscopy/.cvsignore +++ b/test_problems/spectroscopy/.cvsignore @@ -1 +1,3 @@ +spectratest +*.csv Makefile