Skip to content

Commit

Permalink
Fix doxygen copydoc targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and speth committed Apr 16, 2023
1 parent a1ca8d0 commit 2f98dd4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions include/cantera/kinetics/KineticsFactory.h
Expand Up @@ -63,7 +63,7 @@ shared_ptr<Kinetics> newKinetics(const vector<shared_ptr<ThermoPhase>>& phases,
const AnyMap& phaseNode,
const AnyMap& rootNode=AnyMap());

//! @copydoc KineticsFactory::newKinetics(const vector<shared_ptr<ThermoPhase>>&, const AnyMap&, const AnyMap&)
//! @copydoc newKinetics(const vector<shared_ptr<ThermoPhase>>&, const AnyMap&, const AnyMap&)
//! @deprecated To be removed after Cantera 3.0;
//! superseded by newKinetics() returning shared_ptr
unique_ptr<Kinetics> newKinetics(const std::vector<ThermoPhase*>& phases,
Expand All @@ -85,7 +85,7 @@ shared_ptr<Kinetics> newKinetics(const vector<shared_ptr<ThermoPhase>>& phases,
const string& filename,
const string& phase_name);

//! @copydoc KineticsFactory::newKinetics(const vector<shared_ptr<ThermoPhase>>&, const string&, const string&)
//! @copydoc newKinetics(const vector<shared_ptr<ThermoPhase>>&, const string&, const string&)
//! @deprecated To be removed after Cantera 3.0;
//! superseded by newKinetics() returning shared_ptr
unique_ptr<Kinetics> newKinetics(const std::vector<ThermoPhase*>& phases,
Expand Down
8 changes: 4 additions & 4 deletions include/cantera/thermo/ThermoFactory.h
Expand Up @@ -59,8 +59,8 @@ class ThermoFactory : public Factory<ThermoPhase>
static std::mutex thermo_mutex;
};

//! @copydoc ThermoFactory::newThermo(const string&)
//! @deprecated To be removed after Cantera 3.0; superseded by newThermo()
//! @copydoc newThermoModel(const string&)
//! @deprecated To be removed after Cantera 3.0; superseded by newThermoModel()
ThermoPhase* newThermoPhase(const string& model);

//! Create a new ThermoPhase instance.
Expand Down Expand Up @@ -99,12 +99,12 @@ shared_ptr<ThermoPhase> newThermo(const AnyMap& phaseNode,
*/
shared_ptr<ThermoPhase> newThermo(const string& infile, const string& id="");

//! @copydoc ThermoFactory::newThermoPhase(const AnyMap&, const AnyMap&)
//! @copydoc newThermo(const AnyMap&, const AnyMap&)
//! @deprecated To be removed after Cantera 3.0; superseded by newThermo()
unique_ptr<ThermoPhase> newPhase(const AnyMap& phaseNode,
const AnyMap& rootNode=AnyMap());

//! @copydoc ThermoFactory::newThermoPhase(const string&, const string&)
//! @copydoc newThermo(const string&, const string&)
//! @deprecated To be removed after Cantera 3.0; superseded by newThermo()
ThermoPhase* newPhase(const std::string& infile, std::string id="");

Expand Down
2 changes: 1 addition & 1 deletion include/cantera/transport/TransportFactory.h
Expand Up @@ -102,7 +102,7 @@ Transport* newTransportMgr(const std::string& model="", ThermoPhase* thermo=0,
shared_ptr<Transport> newTransport(shared_ptr<ThermoPhase> thermo,
const string& model="default");

//! @copydoc TransportFactory::newTransport(shared_ptr<ThermoPhase>, const string&)
//! @copydoc newTransport(shared_ptr<ThermoPhase>, const string&)
//! @deprecated To be removed after Cantera 3.0; superseded by newTransport()
shared_ptr<Transport> newTransport(ThermoPhase* thermo, const string& model="default");

Expand Down
2 changes: 1 addition & 1 deletion src/thermo/ThermoFactory.cpp
Expand Up @@ -127,7 +127,7 @@ void ThermoFactory::deleteFactory()
ThermoPhase* ThermoFactory::newThermoPhase(const std::string& model)
{
warn_deprecated("newThermoPhase",
"To be removed after Cantera 3.0; superseded by newThermo.");
"To be removed after Cantera 3.0; superseded by newThermoModel.");
return create(model);
}

Expand Down

0 comments on commit 2f98dd4

Please sign in to comment.