| 1834 |
|
myNVE = new ZConstraint<NVE<RealIntegrator> >(&(info[k]), the_ff); |
| 1835 |
|
} |
| 1836 |
|
else{ |
| 1837 |
< |
myNVE = new NVE<RealIntegrator>(&(info[k]), the_ff); |
| 1837 |
> |
if (globals->haveQuaternion()){ |
| 1838 |
> |
if (globals->getUseQuaternion()) |
| 1839 |
> |
info->the_integrator = new NVE<SQSIntegrator<RealIntegrator> >(&(info[k]), the_ff); |
| 1840 |
> |
} |
| 1841 |
> |
else |
| 1842 |
> |
info->the_integrator = new NVE<RealIntegrator>(&(info[k]), the_ff); |
| 1843 |
> |
break; |
| 1844 |
> |
|
| 1845 |
> |
//myNVE = new NVE<RealIntegrator>(&(info[k]), the_ff); |
| 1846 |
|
} |
| 1847 |
|
|
| 1848 |
|
info->the_integrator = myNVE; |