--- branches/development/src/optimization/OptimizationFactory.hpp 2012/06/05 18:02:44 1741 +++ trunk/src/optimization/OptimizationFactory.hpp 2013/06/16 15:15:42 1879 @@ -35,7 +35,7 @@ * * [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). * [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). - * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). + * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). * [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). */ @@ -53,7 +53,6 @@ namespace OpenMD { namespace OpenMD { //forward declaration - class QuantLib::OptimizationMethod; class OptimizationCreator; class SimInfo; /** @@ -85,8 +84,7 @@ namespace OpenMD { /** * Registers a creator with a type identifier * @return true if registration is succeed, otherwise return false - * @id the identification of the concrete object - * @creator the object responsible to create the concrete object + * @param creator the object responsible to create the concrete object */ bool registerOptimization(OptimizationCreator* creator); @@ -95,7 +93,7 @@ namespace OpenMD { * was previously registered, the function returns true. * @return truethe type identifier was previously registered and the creator is removed, * otherwise return false - * @id the identification of the concrete object + * @param id the identification of the concrete object */ bool unregisterOptimization(const std::string& id); /** @@ -104,6 +102,7 @@ namespace OpenMD { * @return a pointer of the concrete object, return NULL if no creator is registed for * creating this concrete object * @param id the identification of the concrete object + * @param info pointer to the SimInfo object */ QuantLib::OptimizationMethod* createOptimization(const std::string& id, SimInfo* info);