[cantera] r3411 committed - Minor cleanup of constructors and destructors

1 view
Skip to first unread message

can...@googlecode.com

unread,
Feb 26, 2015, 5:00:52 PM2/26/15
to cantera...@googlegroups.com
Revision: 3411
Author: yar...@gmail.com
Date: Thu Feb 26 21:58:42 2015 UTC
Log: Minor cleanup of constructors and destructors
https://code.google.com/p/cantera/source/detail?r=3411

Modified:
/cantera/trunk/include/cantera/equil/MultiPhase.h
/cantera/trunk/include/cantera/equil/vcs_SpeciesProperties.h
/cantera/trunk/include/cantera/equil/vcs_species_thermo.h
/cantera/trunk/include/cantera/kinetics/ExtraGlobalRxn.h
/cantera/trunk/include/cantera/kinetics/InterfaceKinetics.h
/cantera/trunk/include/cantera/kinetics/ReactionStoichMgr.h
/cantera/trunk/include/cantera/kinetics/RxnMolChange.h
/cantera/trunk/include/cantera/kinetics/solveSP.h
/cantera/trunk/include/cantera/numerics/Func1.h
/cantera/trunk/include/cantera/numerics/GeneralMatrix.h
/cantera/trunk/include/cantera/numerics/RootFind.h
/cantera/trunk/include/cantera/numerics/solveProb.h
/cantera/trunk/include/cantera/oneD/Sim1D.h
/cantera/trunk/include/cantera/thermo/ConstDensityThermo.h
/cantera/trunk/include/cantera/thermo/GibbsExcessVPSSTP.h
/cantera/trunk/include/cantera/thermo/MineralEQ3.h
/cantera/trunk/include/cantera/thermo/PDSS.h
/cantera/trunk/include/cantera/thermo/StoichSubstanceSSTP.h
/cantera/trunk/include/cantera/thermo/VPSSMgr.h
/cantera/trunk/include/cantera/transport/LTPspecies.h
/cantera/trunk/include/cantera/transport/TransportBase.h
/cantera/trunk/include/cantera/transport/TransportParams.h
/cantera/trunk/include/cantera/zeroD/ConstPressureReactor.h
/cantera/trunk/src/base/application.cpp
/cantera/trunk/src/base/units.h
/cantera/trunk/src/equil/MultiPhase.cpp
/cantera/trunk/src/equil/vcs_SpeciesProperties.cpp
/cantera/trunk/src/equil/vcs_species_thermo.cpp
/cantera/trunk/src/kinetics/ExtraGlobalRxn.cpp
/cantera/trunk/src/kinetics/InterfaceKinetics.cpp
/cantera/trunk/src/kinetics/ReactionStoichMgr.cpp
/cantera/trunk/src/kinetics/RxnMolChange.cpp
/cantera/trunk/src/kinetics/solveSP.cpp
/cantera/trunk/src/numerics/DenseMatrix.cpp
/cantera/trunk/src/numerics/Func1.cpp
/cantera/trunk/src/numerics/GeneralMatrix.cpp
/cantera/trunk/src/numerics/RootFind.cpp
/cantera/trunk/src/numerics/solveProb.cpp
/cantera/trunk/src/oneD/Sim1D.cpp
/cantera/trunk/src/thermo/ConstDensityThermo.cpp
/cantera/trunk/src/thermo/GibbsExcessVPSSTP.cpp
/cantera/trunk/src/thermo/MineralEQ3.cpp
/cantera/trunk/src/thermo/PDSS.cpp
/cantera/trunk/src/thermo/StoichSubstanceSSTP.cpp
/cantera/trunk/src/thermo/VPSSMgr.cpp
/cantera/trunk/src/transport/LTPspecies.cpp
/cantera/trunk/src/transport/MMCollisionInt.cpp
/cantera/trunk/src/transport/MMCollisionInt.h
/cantera/trunk/src/transport/TransportBase.cpp
/cantera/trunk/src/transport/TransportParams.cpp
/cantera/trunk/src/zeroD/ConstPressureReactor.cpp
/cantera/trunk/src/zeroD/Reactor.cpp
/cantera/trunk/src/zeroD/ReactorNet.cpp

=======================================
--- /cantera/trunk/include/cantera/equil/MultiPhase.h Sat Nov 8 00:53:45
2014 UTC
+++ /cantera/trunk/include/cantera/equil/MultiPhase.h Thu Feb 26 21:58:42
2015 UTC
@@ -64,7 +64,7 @@

//! Destructor. Does nothing. Class MultiPhase does not
take "ownership"
//! (i.e. responsibility for destroying) the phase objects.
- virtual ~MultiPhase();
+ virtual ~MultiPhase() {}

MultiPhase& operator=(const MultiPhase& right);

=======================================
--- /cantera/trunk/include/cantera/equil/vcs_SpeciesProperties.h Thu Jun 6
15:32:30 2013 UTC
+++ /cantera/trunk/include/cantera/equil/vcs_SpeciesProperties.h Thu Feb 26
21:58:42 2015 UTC
@@ -48,7 +48,7 @@

vcs_SpeciesProperties(size_t indexPhase, size_t indexSpeciesPhase,
vcs_VolPhase* owning);
- virtual ~vcs_SpeciesProperties();
+ virtual ~vcs_SpeciesProperties() {}

vcs_SpeciesProperties(const vcs_SpeciesProperties& b);
vcs_SpeciesProperties& operator=(const vcs_SpeciesProperties& b);
=======================================
--- /cantera/trunk/include/cantera/equil/vcs_species_thermo.h Fri Feb 20
23:42:54 2015 UTC
+++ /cantera/trunk/include/cantera/equil/vcs_species_thermo.h Thu Feb 26
21:58:42 2015 UTC
@@ -93,7 +93,7 @@
int m_VCS_UnitsFormat;

VCS_SPECIES_THERMO(size_t indexPhase, size_t indexSpeciesPhase);
- virtual ~VCS_SPECIES_THERMO();
+ virtual ~VCS_SPECIES_THERMO() {}

VCS_SPECIES_THERMO(const VCS_SPECIES_THERMO& b);
VCS_SPECIES_THERMO& operator=(const VCS_SPECIES_THERMO& b);
=======================================
--- /cantera/trunk/include/cantera/kinetics/ExtraGlobalRxn.h Thu Aug 21
00:49:41 2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/ExtraGlobalRxn.h Thu Feb 26
21:58:42 2015 UTC
@@ -43,7 +43,7 @@
ExtraGlobalRxn(Kinetics* k_ptr);

//! Destructor
- virtual ~ExtraGlobalRxn();
+ virtual ~ExtraGlobalRxn() {}

void setupElemRxnVector(double* RxnVector,
int specialSpecies = -1);
=======================================
--- /cantera/trunk/include/cantera/kinetics/InterfaceKinetics.h Fri Dec 5
23:33:24 2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/InterfaceKinetics.h Thu Feb 26
21:58:42 2015 UTC
@@ -28,11 +28,11 @@

public:
//! constructors
- RxnOrders();
+ RxnOrders() {}

RxnOrders(const RxnOrders &right);

- ~RxnOrders();
+ ~RxnOrders() {}

RxnOrders& operator=(const RxnOrders &right);

=======================================
--- /cantera/trunk/include/cantera/kinetics/ReactionStoichMgr.h Tue Nov 11
00:11:25 2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/ReactionStoichMgr.h Thu Feb 26
21:58:42 2015 UTC
@@ -62,7 +62,7 @@
ReactionStoichMgr();

/// Destructor.
- virtual ~ReactionStoichMgr();
+ virtual ~ReactionStoichMgr() {}

ReactionStoichMgr(const ReactionStoichMgr& right);

=======================================
--- /cantera/trunk/include/cantera/kinetics/RxnMolChange.h Thu Aug 21
00:49:41 2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/RxnMolChange.h Thu Feb 26
21:58:42 2015 UTC
@@ -36,7 +36,7 @@
RxnMolChange(Cantera::Kinetics* kinPtr, int irxn);

//! Destructor
- ~RxnMolChange();
+ ~RxnMolChange() {}

//! Constructor for the object if the object refers to a global
reaction
/*!
=======================================
--- /cantera/trunk/include/cantera/kinetics/solveSP.h Thu Aug 28 16:54:13
2014 UTC
+++ /cantera/trunk/include/cantera/kinetics/solveSP.h Thu Feb 26 21:58:42
2015 UTC
@@ -154,7 +154,7 @@
solveSP(ImplicitSurfChem* surfChemPtr, int bulkFunc = BULK_ETCH);

//! Destructor. Deletes the integrator.
- ~solveSP();
+ ~solveSP() {}

private:
//! Unimplemented private copy constructor
=======================================
--- /cantera/trunk/include/cantera/numerics/Func1.h Thu Jul 10 22:34:44
2014 UTC
+++ /cantera/trunk/include/cantera/numerics/Func1.h Thu Feb 26 21:58:42
2015 UTC
@@ -43,8 +43,7 @@
public:
Func1();

- virtual ~Func1();
-
+ virtual ~Func1() {}

Func1(const Func1& right);

=======================================
--- /cantera/trunk/include/cantera/numerics/GeneralMatrix.h Sat Nov 8
00:53:30 2014 UTC
+++ /cantera/trunk/include/cantera/numerics/GeneralMatrix.h Thu Feb 26
21:58:42 2015 UTC
@@ -39,7 +39,7 @@
GeneralMatrix& operator=(const GeneralMatrix& right);

//! Destructor. Does nothing.
- virtual ~GeneralMatrix();
+ virtual ~GeneralMatrix() {}

//! Duplicator member function
/*!
=======================================
--- /cantera/trunk/include/cantera/numerics/RootFind.h Thu Jun 6 15:32:30
2013 UTC
+++ /cantera/trunk/include/cantera/numerics/RootFind.h Thu Feb 26 21:58:42
2015 UTC
@@ -140,7 +140,7 @@
//! Copy constructor
RootFind(const RootFind& r);

- ~RootFind();
+ ~RootFind() {}

//! Assignment operator
RootFind& operator=(const RootFind& right);
=======================================
--- /cantera/trunk/include/cantera/numerics/solveProb.h Mon Mar 24 04:02:18
2014 UTC
+++ /cantera/trunk/include/cantera/numerics/solveProb.h Thu Feb 26 21:58:42
2015 UTC
@@ -142,7 +142,7 @@
//! Constructor for the object
solveProb(ResidEval* resid);

- virtual ~solveProb();
+ virtual ~solveProb() {}

private:

=======================================
--- /cantera/trunk/include/cantera/oneD/Sim1D.h Thu Aug 28 16:54:13 2014 UTC
+++ /cantera/trunk/include/cantera/oneD/Sim1D.h Thu Feb 26 21:58:42 2015 UTC
@@ -25,7 +25,7 @@
* but is not meant to be used in most applications. Use the next
* constructor
*/
- Sim1D();
+ Sim1D() {}

/**
* Standard constructor.
=======================================
--- /cantera/trunk/include/cantera/thermo/ConstDensityThermo.h Fri Dec 5
23:33:24 2014 UTC
+++ /cantera/trunk/include/cantera/thermo/ConstDensityThermo.h Thu Feb 26
21:58:42 2015 UTC
@@ -29,7 +29,7 @@
{
public:
//! Constructor.
- ConstDensityThermo();
+ ConstDensityThermo() {}

//! Copy Constructor
/*!
=======================================
--- /cantera/trunk/include/cantera/thermo/GibbsExcessVPSSTP.h Thu Feb 26
21:52:52 2015 UTC
+++ /cantera/trunk/include/cantera/thermo/GibbsExcessVPSSTP.h Thu Feb 26
21:58:42 2015 UTC
@@ -108,7 +108,7 @@
* density conservation and therefore element conservation
* is the more important principle to follow.
*/
- GibbsExcessVPSSTP();
+ GibbsExcessVPSSTP() {}

//! Copy constructor
/*!
=======================================
--- /cantera/trunk/include/cantera/thermo/MineralEQ3.h Fri Dec 5 23:33:24
2014 UTC
+++ /cantera/trunk/include/cantera/thermo/MineralEQ3.h Thu Feb 26 21:58:42
2015 UTC
@@ -95,7 +95,7 @@
{
public:
//! Default constructor for the StoichSubstanceSSTP class
- MineralEQ3();
+ MineralEQ3() {}

//! Construct and initialize a StoichSubstanceSSTP ThermoPhase object
//! directly from an ASCII input file
=======================================
--- /cantera/trunk/include/cantera/thermo/PDSS.h Fri Dec 5 23:33:24 2014
UTC
+++ /cantera/trunk/include/cantera/thermo/PDSS.h Thu Feb 26 21:58:42 2015
UTC
@@ -222,7 +222,7 @@
PDSS& operator=(const PDSS& b);

//! Destructor for the phase
- virtual ~PDSS();
+ virtual ~PDSS() {}

//! Duplication routine for objects which inherit from PDSS
/*!
=======================================
--- /cantera/trunk/include/cantera/thermo/StoichSubstanceSSTP.h Fri Feb 20
23:43:29 2015 UTC
+++ /cantera/trunk/include/cantera/thermo/StoichSubstanceSSTP.h Thu Feb 26
21:58:42 2015 UTC
@@ -158,7 +158,7 @@
{
public:
//! Default constructor for the StoichSubstanceSSTP class
- StoichSubstanceSSTP();
+ StoichSubstanceSSTP() {}

//! Construct and initialize a StoichSubstanceSSTP ThermoPhase object
//! directly from an ASCII input file
@@ -521,7 +521,7 @@
electrodeElectron& operator=(const electrodeElectron& right);

//! Destructor
- virtual ~electrodeElectron();
+ virtual ~electrodeElectron() {}

void setParametersFromXML(const XML_Node& eosdata);

=======================================
--- /cantera/trunk/include/cantera/thermo/VPSSMgr.h Tue Jan 6 23:37:25
2015 UTC
+++ /cantera/trunk/include/cantera/thermo/VPSSMgr.h Thu Feb 26 21:58:42
2015 UTC
@@ -246,7 +246,7 @@
VPSSMgr(VPStandardStateTP* vptp_ptr, SpeciesThermo* spth = 0);

//! Destructor
- virtual ~VPSSMgr();
+ virtual ~VPSSMgr() {}

//! Copy Constructor
VPSSMgr(const VPSSMgr& right);
=======================================
--- /cantera/trunk/include/cantera/transport/LTPspecies.h Thu Feb 26
21:52:52 2015 UTC
+++ /cantera/trunk/include/cantera/transport/LTPspecies.h Thu Feb 26
21:58:42 2015 UTC
@@ -105,7 +105,7 @@
LTPspecies& operator=(const LTPspecies& right);

//! Destructor
- virtual ~LTPspecies();
+ virtual ~LTPspecies() {}

//! Duplication routine
/*!
=======================================
--- /cantera/trunk/include/cantera/transport/TransportBase.h Tue Jan 13
23:07:00 2015 UTC
+++ /cantera/trunk/include/cantera/transport/TransportBase.h Thu Feb 26
21:58:42 2015 UTC
@@ -173,7 +173,7 @@
*/
Transport(thermo_t* thermo=0, size_t ndim = 1);

- virtual ~Transport();
+ virtual ~Transport() {}
Transport(const Transport& right);
Transport& operator=(const Transport& right);

=======================================
--- /cantera/trunk/include/cantera/transport/TransportParams.h Thu Feb 26
21:52:52 2015 UTC
+++ /cantera/trunk/include/cantera/transport/TransportParams.h Thu Feb 26
21:58:42 2015 UTC
@@ -21,7 +21,7 @@
{
public:
TransportParams();
- virtual ~TransportParams();
+ virtual ~TransportParams() {}

//! Local storage of the number of species
size_t nsp_;
=======================================
--- /cantera/trunk/include/cantera/zeroD/ConstPressureReactor.h Tue Jul 16
22:09:43 2013 UTC
+++ /cantera/trunk/include/cantera/zeroD/ConstPressureReactor.h Thu Feb 26
21:58:42 2015 UTC
@@ -23,7 +23,7 @@
class ConstPressureReactor : public Reactor
{
public:
- ConstPressureReactor();
+ ConstPressureReactor() {}

virtual int type() const {
return ConstPressureReactorType;
=======================================
--- /cantera/trunk/src/base/application.cpp Fri Dec 12 01:36:56 2014 UTC
+++ /cantera/trunk/src/base/application.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -67,8 +67,6 @@
}

Application::Messages::Messages() :
- errorMessage(0),
- errorRoutine(0),
logwriter(0)
{
// install a default logwriter that writes to standard
@@ -171,12 +169,8 @@
#endif // THREAD_SAFE_CANTERA

Application::Application() :
- inputDirs(0),
stop_on_error(false),
- options(),
- xmlfiles(),
- m_suppress_deprecation_warnings(false),
- pMessenger()
+ m_suppress_deprecation_warnings(false)
{
#if !defined( THREAD_SAFE_CANTERA )
pMessenger = std::auto_ptr<Messages>(new Messages());
=======================================
--- /cantera/trunk/src/base/units.h Fri Jan 31 23:15:09 2014 UTC
+++ /cantera/trunk/src/base/units.h Thu Feb 26 21:58:42 2015 UTC
@@ -162,9 +162,7 @@

//! Units class constructor, containing the default mappings between
//! strings and units.
- Unit() :
- m_u(),
- m_act_u() {
+ Unit() {

// unity
m_u["1"] = 1.0;
=======================================
--- /cantera/trunk/src/equil/MultiPhase.cpp Sat Nov 8 00:53:45 2014 UTC
+++ /cantera/trunk/src/equil/MultiPhase.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -41,10 +41,6 @@
{
operator=(right);
}
-
-MultiPhase::~MultiPhase()
-{
-}

MultiPhase& MultiPhase::operator=(const MultiPhase& right)
{
=======================================
--- /cantera/trunk/src/equil/vcs_SpeciesProperties.cpp Thu Aug 28 16:54:13
2014 UTC
+++ /cantera/trunk/src/equil/vcs_SpeciesProperties.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -22,10 +22,6 @@
ReferenceMoleFraction(1.0E-6)
{
}
-
-vcs_SpeciesProperties::~vcs_SpeciesProperties()
-{
-}

vcs_SpeciesProperties::vcs_SpeciesProperties(const vcs_SpeciesProperties&
b) :
IndexPhase(b.IndexPhase),
=======================================
--- /cantera/trunk/src/equil/vcs_species_thermo.cpp Thu Feb 26 21:52:52
2015 UTC
+++ /cantera/trunk/src/equil/vcs_species_thermo.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -42,10 +42,6 @@
{
SS0_Pref = 1.01325E5;
}
-
-VCS_SPECIES_THERMO::~VCS_SPECIES_THERMO()
-{
-}

VCS_SPECIES_THERMO::VCS_SPECIES_THERMO(const VCS_SPECIES_THERMO& b) :
IndexPhase(b.IndexPhase),
=======================================
--- /cantera/trunk/src/kinetics/ExtraGlobalRxn.cpp Thu Aug 21 00:49:41 2014
UTC
+++ /cantera/trunk/src/kinetics/ExtraGlobalRxn.cpp Thu Feb 26 21:58:42 2015
UTC
@@ -106,10 +106,6 @@
m_ElemRxnVector.resize(m_nRxns,0.0);
m_nKinSpecies = m_kinetics->nTotalSpecies();
}
-//============================================================================================================
-ExtraGlobalRxn::~ExtraGlobalRxn()
-{
-}

//============================================================================================================
void ExtraGlobalRxn::setupElemRxnVector(double* RxnVector,
int specialSpecies)
=======================================
--- /cantera/trunk/src/kinetics/InterfaceKinetics.cpp Thu Feb 26 21:52:52
2015 UTC
+++ /cantera/trunk/src/kinetics/InterfaceKinetics.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -1368,14 +1368,6 @@

m_finalized = true;
}
-
-RxnOrders::RxnOrders()
-{
-}
-
-RxnOrders::~RxnOrders()
-{
-}

RxnOrders::RxnOrders(const RxnOrders& right) :
kinSpeciesIDs_(right.kinSpeciesIDs_),
=======================================
--- /cantera/trunk/src/kinetics/ReactionStoichMgr.cpp Thu Jan 22 00:04:24
2015 UTC
+++ /cantera/trunk/src/kinetics/ReactionStoichMgr.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -23,10 +23,6 @@
"To be removed after Cantera 2.2.");
m_dummy.resize(10,1.0);
}
-
-ReactionStoichMgr::~ReactionStoichMgr()
-{
-}

ReactionStoichMgr::ReactionStoichMgr(const ReactionStoichMgr& right) :
m_reactants(right.m_reactants),
=======================================
--- /cantera/trunk/src/kinetics/RxnMolChange.cpp Thu Aug 21 00:49:41 2014
UTC
+++ /cantera/trunk/src/kinetics/RxnMolChange.cpp Thu Feb 26 21:58:42 2015
UTC
@@ -153,12 +153,6 @@
}

}
-
-
-RxnMolChange::~RxnMolChange()
-{
-
-}

}

=======================================
--- /cantera/trunk/src/kinetics/solveSP.cpp Thu Aug 28 16:54:13 2014 UTC
+++ /cantera/trunk/src/kinetics/solveSP.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -127,10 +127,6 @@
m_resid.resize(dim1, 0.0);
m_Jac.resize(dim1, dim1, 0.0);
}
-
-solveSP::~solveSP()
-{
-}

int solveSP::solveSurfProb(int ifunc, doublereal time_scale, doublereal
TKelvin,
doublereal PGas, doublereal reltol, doublereal
abstol)
=======================================
--- /cantera/trunk/src/numerics/DenseMatrix.cpp Thu Jan 22 00:04:12 2015 UTC
+++ /cantera/trunk/src/numerics/DenseMatrix.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -19,7 +19,6 @@

DenseMatrix::DenseMatrix(size_t n, size_t m, doublereal v) :
Array2D(n, m, v),
- m_ipiv(0),
m_useReturnErrorCode(0),
m_printLevel(0)
{
=======================================
--- /cantera/trunk/src/numerics/Func1.cpp Thu Aug 28 16:54:13 2014 UTC
+++ /cantera/trunk/src/numerics/Func1.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -22,10 +22,6 @@
m_parent(right.m_parent)
{
}
-
-Func1::~Func1()
-{
-}

Func1& Func1::operator=(const Func1& right)
{
=======================================
--- /cantera/trunk/src/numerics/GeneralMatrix.cpp Mon Mar 24 04:03:01 2014
UTC
+++ /cantera/trunk/src/numerics/GeneralMatrix.cpp Thu Feb 26 21:58:42 2015
UTC
@@ -36,9 +36,5 @@
m_factored = y.m_factored;
return *this;
}
-
-GeneralMatrix::~GeneralMatrix()
-{
-}

}
=======================================
--- /cantera/trunk/src/numerics/RootFind.cpp Thu Aug 28 16:54:13 2014 UTC
+++ /cantera/trunk/src/numerics/RootFind.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -92,10 +92,6 @@
{
*this = r;
}
-
-RootFind::~RootFind()
-{
-}

RootFind& RootFind::operator=(const RootFind& right)
{
=======================================
--- /cantera/trunk/src/numerics/solveProb.cpp Thu Jan 22 00:04:24 2015 UTC
+++ /cantera/trunk/src/numerics/solveProb.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -57,10 +57,6 @@
}

}
-
-solveProb::~solveProb()
-{
-}

int solveProb::solve(int ifunc, doublereal time_scale,
doublereal reltol)
=======================================
--- /cantera/trunk/src/oneD/Sim1D.cpp Thu Jan 22 00:04:12 2015 UTC
+++ /cantera/trunk/src/oneD/Sim1D.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -14,10 +14,6 @@

namespace Cantera
{
-
-Sim1D::Sim1D()
-{
-}

Sim1D::Sim1D(vector<Domain1D*>& domains) :
OneDim(domains)
=======================================
--- /cantera/trunk/src/thermo/ConstDensityThermo.cpp Fri Feb 20 23:44:21
2015 UTC
+++ /cantera/trunk/src/thermo/ConstDensityThermo.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -15,11 +15,6 @@
namespace Cantera
{

-ConstDensityThermo::ConstDensityThermo()
-{
-}
-
-
ConstDensityThermo::ConstDensityThermo(const ConstDensityThermo& right)
{
*this = right;
=======================================
--- /cantera/trunk/src/thermo/GibbsExcessVPSSTP.cpp Fri Feb 20 23:43:12
2015 UTC
+++ /cantera/trunk/src/thermo/GibbsExcessVPSSTP.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -22,10 +22,6 @@

namespace Cantera
{
-
-GibbsExcessVPSSTP::GibbsExcessVPSSTP()
-{
-}

GibbsExcessVPSSTP::GibbsExcessVPSSTP(const GibbsExcessVPSSTP& b)
{
=======================================
--- /cantera/trunk/src/thermo/MineralEQ3.cpp Thu Feb 12 04:04:18 2015 UTC
+++ /cantera/trunk/src/thermo/MineralEQ3.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -26,10 +26,6 @@
/*
* ---- Constructors -------
*/
-
-MineralEQ3::MineralEQ3()
-{
-}

MineralEQ3::MineralEQ3(const std::string& infile, std::string id_)
{
=======================================
--- /cantera/trunk/src/thermo/PDSS.cpp Thu Feb 12 04:04:18 2015 UTC
+++ /cantera/trunk/src/thermo/PDSS.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -151,10 +151,6 @@

return *this;
}
-
-PDSS::~PDSS()
-{
-}

PDSS* PDSS::duplMyselfAsPDSS() const
{
=======================================
--- /cantera/trunk/src/thermo/StoichSubstanceSSTP.cpp Fri Feb 20 23:43:29
2015 UTC
+++ /cantera/trunk/src/thermo/StoichSubstanceSSTP.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -23,10 +23,6 @@
/*
* ---- Constructors -------
*/
-
-StoichSubstanceSSTP::StoichSubstanceSSTP()
-{
-}

StoichSubstanceSSTP::StoichSubstanceSSTP(const std::string& infile,
std::string id_)
{
@@ -314,10 +310,6 @@
}
return *this;
}
-
-electrodeElectron::~electrodeElectron()
-{
-}

void electrodeElectron::setParametersFromXML(const XML_Node& eosdata)
{
=======================================
--- /cantera/trunk/src/thermo/VPSSMgr.cpp Thu Feb 12 04:04:18 2015 UTC
+++ /cantera/trunk/src/thermo/VPSSMgr.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -41,10 +41,6 @@
"null pointer for VPStandardStateTP is not
permissible");
}
}
-
-VPSSMgr::~VPSSMgr()
-{
-}

VPSSMgr::VPSSMgr(const VPSSMgr& right) :
m_kk(0),
=======================================
--- /cantera/trunk/src/transport/LTPspecies.cpp Thu Jan 22 00:04:12 2015 UTC
+++ /cantera/trunk/src/transport/LTPspecies.cpp Thu Feb 26 21:58:42 2015 UTC
@@ -90,10 +90,6 @@
{
return new LTPspecies(*this);
}
-
-LTPspecies::~LTPspecies()
-{
-}

doublereal LTPspecies::getSpeciesTransProp()
{
=======================================
--- /cantera/trunk/src/transport/MMCollisionInt.cpp Thu Aug 28 16:54:13
2014 UTC
+++ /cantera/trunk/src/transport/MMCollisionInt.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -212,14 +212,6 @@
0.94863, 0.9487,0.9489,0.9491,0.9493,0.9491,0.9483,0.9476,
0.94444, 0.94444,0.94444,0.94444,0.94444,0.94444,0.94444,0.94444
};
-
-MMCollisionInt::MMCollisionInt()
-{
-}
-
-MMCollisionInt::~MMCollisionInt()
-{
-}

void MMCollisionInt::init(doublereal tsmin, doublereal tsmax, int
log_level)
{
=======================================
--- /cantera/trunk/src/transport/MMCollisionInt.h Fri Jun 20 18:44:59 2014
UTC
+++ /cantera/trunk/src/transport/MMCollisionInt.h Thu Feb 26 21:58:42 2015
UTC
@@ -23,8 +23,8 @@
class MMCollisionInt
{
public:
- MMCollisionInt();
- virtual ~MMCollisionInt();
+ MMCollisionInt() {}
+ virtual ~MMCollisionInt() {}

//! Initialize the object for calculation
/*!
=======================================
--- /cantera/trunk/src/transport/TransportBase.cpp Thu Aug 28 16:54:13 2014
UTC
+++ /cantera/trunk/src/transport/TransportBase.cpp Thu Feb 26 21:58:42 2015
UTC
@@ -44,10 +44,6 @@
{
return new Transport(*this);
}
-
-Transport::~Transport()
-{
-}

bool Transport::ready()
{
=======================================
--- /cantera/trunk/src/transport/TransportParams.cpp Tue Jan 13 23:07:00
2015 UTC
+++ /cantera/trunk/src/transport/TransportParams.cpp Thu Feb 26 21:58:42
2015 UTC
@@ -23,10 +23,6 @@
log_level(-1)
{
}
-
-TransportParams::~TransportParams()
-{
-}

GasTransportParams::GasTransportParams() :
TransportParams(),
=======================================
***Additional files exist in this changeset.***
Reply all
Reply to author
Forward
0 new messages