Solaris porting issues -> failed to link in some cases.

This commit is contained in:
Harry Moffat 2009-03-03 20:37:18 +00:00
parent 943bc7fe4d
commit 527ccbe743
5 changed files with 17 additions and 7 deletions

View file

@ -126,6 +126,9 @@ namespace Cantera {
public:
//! default constructor
AqueousTransport();
//! virtual destructor
virtual ~AqueousTransport() {}
@ -288,10 +291,8 @@ namespace Cantera {
//! Solve the stefan_maxell equations for the diffusive fluxes.
void stefan_maxwell_solve();
protected:
//! default constructor
AqueousTransport();
private:

View file

@ -137,6 +137,11 @@ namespace Cantera {
{
}
MultiTransport::~MultiTransport() {
}
bool MultiTransport::init(TransportParams& tr) {
// constant mixture attributes

View file

@ -76,7 +76,7 @@ namespace Cantera {
public:
virtual ~MultiTransport() {}
virtual ~MultiTransport();
// overloaded base class methods
virtual int model() {
@ -197,8 +197,8 @@ namespace Cantera {
*/
struct GasTransportData getGasTransportData(int);
protected:
protected:
/// default constructor
MultiTransport(thermo_t* thermo=0);

View file

@ -4,7 +4,6 @@
*/
/*
* $Author$
* $Revision$
* $Date$
*/
@ -69,7 +68,7 @@ namespace Cantera {
*/
Transport(thermo_t* thermo=0, int ndim = 1);
///< Destructor.
//! Destructor.
virtual ~Transport();
//! Copy Constructor for the %Transport object.
@ -97,6 +96,7 @@ namespace Cantera {
* These routines are basically wrappers around the derived copy
* constructor.
*/
// Note ->need working copy constructors and operator=() functions for all first
virtual Transport *duplMyselfAsTransport() const;

View file

@ -21,8 +21,12 @@
#include "SolidTransport.h"
#include "DustyGasTransport.h"
#ifdef WITH_IDEAL_SOLUTIONS
#include "LiquidTransport.h"
#endif
#ifdef WITH_ELECTROLYTES
#include "AqueousTransport.h"
#endif
#include "TransportFactory.h"