Remove redundant 'NotImplemented' exception class
This commit is contained in:
parent
2558ec222d
commit
1ea1e705f3
3 changed files with 3 additions and 24 deletions
|
|
@ -131,16 +131,16 @@ public:
|
|||
//! Return the mixture transport property value.
|
||||
//! (Must be implemented in subclasses.)
|
||||
virtual doublereal getMixTransProp(doublereal* speciesValues, doublereal* weightSpecies = 0) {
|
||||
throw NotImplemented("LiquidTranInteraction::getMixTransProp");
|
||||
throw NotImplementedError("LiquidTranInteraction::getMixTransProp");
|
||||
}
|
||||
|
||||
virtual doublereal getMixTransProp(std::vector<LTPspecies*> LTPptrs) {
|
||||
throw NotImplemented("LiquidTranInteraction::getMixTransProp");
|
||||
throw NotImplementedError("LiquidTranInteraction::getMixTransProp");
|
||||
}
|
||||
|
||||
virtual void getMatrixTransProp(DenseMatrix& mat, doublereal* speciesValues = 0) {
|
||||
//mat = m_Dij;
|
||||
throw NotImplemented("LiquidTranInteraction::getMixTransProp");
|
||||
throw NotImplementedError("LiquidTranInteraction::getMixTransProp");
|
||||
}
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -15,20 +15,6 @@ namespace Cantera
|
|||
|
||||
class XML_Writer;
|
||||
|
||||
//! Error class to indicate an unimplemented method
|
||||
/*!
|
||||
* This class is used by transport objects
|
||||
*/
|
||||
class NotImplemented : public CanteraError
|
||||
{
|
||||
public:
|
||||
//! Constructor for error class
|
||||
/*!
|
||||
* @param method Single string indicating a method that is not implemented
|
||||
*/
|
||||
NotImplemented(const std::string& method);
|
||||
};
|
||||
|
||||
//! Base structure to hold transport model parameters.
|
||||
/*!
|
||||
* This structure is used by TransportFactory.
|
||||
|
|
|
|||
|
|
@ -15,13 +15,6 @@ using namespace std;
|
|||
namespace Cantera
|
||||
{
|
||||
|
||||
NotImplemented::NotImplemented(const std::string& method) :
|
||||
CanteraError("Transport",
|
||||
"\n\n**** Method " + method + " not implemented. ****\n"
|
||||
"(Did you forget to specify a transport model?)\n\n")
|
||||
{
|
||||
}
|
||||
|
||||
TransportParams::TransportParams() :
|
||||
nsp_(0),
|
||||
thermo(0),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue