| 434 |
|
|
| 435 |
|
bool getCalcBoxDipole() { |
| 436 |
|
return calcBoxDipole_; |
| 437 |
+ |
} |
| 438 |
+ |
bool getCalcBoxQuadrupole() { |
| 439 |
+ |
return calcBoxQuadrupole_; |
| 440 |
|
} |
| 441 |
|
|
| 442 |
|
bool getUseAtomicVirial() { |
| 506 |
|
|
| 507 |
|
/** fill up the simtype struct and other simulation-related variables */ |
| 508 |
|
void setupSimVariables(); |
| 506 |
– |
|
| 509 |
|
|
| 508 |
– |
/** Determine if we need to accumulate the simulation box dipole */ |
| 509 |
– |
void setupAccumulateBoxDipole(); |
| 510 |
|
|
| 511 |
|
/** Calculates the number of degress of freedom in the whole system */ |
| 512 |
|
void calcNdf(); |
| 680 |
|
|
| 681 |
|
bool calcBoxDipole_; /**< flag to indicate whether or not we calculate |
| 682 |
|
the simulation box dipole moment */ |
| 683 |
+ |
bool calcBoxQuadrupole_; /**< flag to indicate whether or not we calculate |
| 684 |
+ |
the simulation box quadrupole moment */ |
| 685 |
|
|
| 686 |
|
bool useAtomicVirial_; /**< flag to indicate whether or not we use |
| 687 |
|
Atomic Virials to calculate the pressure */ |