# | Line 36 | Line 36 | |
---|---|---|
36 | * [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). | |
37 | * [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). | |
38 | * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). | |
39 | < | * [4] Vardeman & Gezelter, in progress (2009). |
40 | < | * |
39 | > | * [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
40 | > | * [4] , Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). * |
41 | * ParameterManager.hpp | |
42 | * | |
43 | * Created by Charles F. Vardeman II on 11/16/05. | |
# | Line 234 | Line 234 | TYPE get##NAME() { return NAME.getData();} | |
234 | public: \ | |
235 | bool have##NAME() { return !NAME.empty();} \ | |
236 | TYPE get##NAME() { return NAME.getData();} | |
237 | + | |
238 | + | #define DeclareAlterableParameter(NAME, TYPE) \ |
239 | + | private: \ |
240 | + | Parameter<TYPE> NAME; \ |
241 | + | public: \ |
242 | + | bool have##NAME() { return !NAME.empty();} \ |
243 | + | TYPE get##NAME() { return NAME.getData();} \ |
244 | + | bool set##NAME(TYPE s) { return NAME.setData(s);} \ |
245 | ||
246 | ||
247 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |