| 272 |
|
/** Returns system angular momentum */ |
| 273 |
|
Vector3d getAngularMomentum(); |
| 274 |
|
|
| 275 |
+ |
/** Returns volume of system as estimated by an ellipsoid defined by the radii of gyration*/ |
| 276 |
+ |
void getGyrationalVolume(RealType &vol); |
| 277 |
+ |
/** Overloaded version of gyrational volume that also returns det(I) so dV/dr can be calculated*/ |
| 278 |
+ |
void getGyrationalVolume(RealType &vol, RealType &detI); |
| 279 |
|
/** main driver function to interact with fortran during the initialization and molecule migration */ |
| 280 |
|
void update(); |
| 281 |
|
|
| 386 |
|
|
| 387 |
|
bool getCalcBoxDipole() { |
| 388 |
|
return calcBoxDipole_; |
| 389 |
+ |
} |
| 390 |
+ |
|
| 391 |
+ |
bool getUseAtomicVirial() { |
| 392 |
+ |
return useAtomicVirial_; |
| 393 |
|
} |
| 394 |
|
|
| 395 |
|
//below functions are just forward functions |
| 558 |
|
RealType rsw_; /**< radius of switching function*/ |
| 559 |
|
RealType rlist_; /**< neighbor list radius */ |
| 560 |
|
|
| 561 |
< |
bool fortranInitialized_; /**< flag indicate whether fortran side is initialized */ |
| 561 |
> |
bool ljsp_; /**< use shifted potential for LJ*/ |
| 562 |
> |
bool ljsf_; /**< use shifted force for LJ*/ |
| 563 |
|
|
| 564 |
< |
bool calcBoxDipole_; /**< flag to indicate whether or not we calculate the simulation box dipole moment */ |
| 564 |
> |
bool fortranInitialized_; /**< flag indicate whether fortran side |
| 565 |
> |
is initialized */ |
| 566 |
> |
|
| 567 |
> |
bool calcBoxDipole_; /**< flag to indicate whether or not we calculate |
| 568 |
> |
the simulation box dipole moment */ |
| 569 |
> |
|
| 570 |
> |
bool useAtomicVirial_; /**< flag to indicate whether or not we use |
| 571 |
> |
Atomic Virials to calculate the pressure */ |
| 572 |
|
|
| 573 |
|
public: |
| 574 |
|
/** |