Deprecate unused spectroscopy-related classes
This commit is contained in:
parent
305e4eec54
commit
18a102c91f
3 changed files with 15 additions and 3 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include "cantera/base/ct_defs.h"
|
||||
#include "cantera/base/ctexceptions.h"
|
||||
#include "cantera/base/global.h"
|
||||
|
||||
namespace Cantera
|
||||
{
|
||||
|
|
@ -14,6 +15,7 @@ namespace Cantera
|
|||
* Base class for classes implementing line shapes of
|
||||
* various types.
|
||||
* @ingroup spectroscopy
|
||||
* @deprecated incomplete / abandoned
|
||||
*/
|
||||
class LineBroadener
|
||||
{
|
||||
|
|
@ -21,7 +23,9 @@ class LineBroadener
|
|||
public:
|
||||
|
||||
/// Default constructor
|
||||
LineBroadener() {}
|
||||
LineBroadener() {
|
||||
warn_deprecated("class LineBroadener");
|
||||
}
|
||||
|
||||
/// Destructor
|
||||
virtual ~LineBroadener() {}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
*/
|
||||
|
||||
#include "cantera/base/ct_defs.h"
|
||||
#include "cantera/base/global.h"
|
||||
|
||||
/**
|
||||
* Namespace for spectroscopic functions and classes.
|
||||
|
|
@ -24,13 +25,16 @@ namespace Cantera
|
|||
/**
|
||||
* Class Rotor represents a non-rigid quantum-mechanical rotor.
|
||||
* @ingroup spectroscopy
|
||||
* @deprecated incomplete / abandoned
|
||||
*/
|
||||
class Rotor
|
||||
{
|
||||
public:
|
||||
|
||||
/// Default Constructor.
|
||||
Rotor() {}
|
||||
Rotor() {
|
||||
warn_deprecated("class Rotor");
|
||||
}
|
||||
|
||||
/// Destructor.
|
||||
virtual ~Rotor() {}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
#define CT_NUCL_H
|
||||
|
||||
#include "cantera/base/ct_defs.h"
|
||||
#include "cantera/base/global.h"
|
||||
|
||||
namespace Cantera
|
||||
{
|
||||
|
|
@ -15,6 +16,7 @@ namespace Cantera
|
|||
* information, and are designed only to handle nuclear statistics
|
||||
* effects on spectra.
|
||||
* @ingroup spectroscopy
|
||||
* @deprecated incomplete / abandoned
|
||||
*/
|
||||
class Nucleus
|
||||
{
|
||||
|
|
@ -22,7 +24,9 @@ public:
|
|||
Nucleus(const std::string& symbol,
|
||||
int nP, int nN, doublereal spin) : m_np(nP),
|
||||
m_nn(nN), m_spin(spin),
|
||||
m_sym(symbol) {}
|
||||
m_sym(symbol) {
|
||||
warn_deprecated("class Nucleus");
|
||||
}
|
||||
virtual ~Nucleus() {}
|
||||
int nProtons() {
|
||||
return m_np;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue