Object to encapsulate energy precision control information. Like other namelist encapsualtors, this object can take input file data as part of its construction, or by a series of setters. Validation of each piece of data is handled as it appears either in the contructor or via setters. Getter functions dispense the internal information to any application using STORMM libraries.
More...
|
int | getGlobalPosScalingBits () const |
| Get the global position fixed-precision bits.
|
|
int | getLocalPosScalingBits () const |
| Get the local position fixed-precision bits.
|
|
int | getVelocityScalingBits () const |
| Get the velocity fixed-precision bits.
|
|
int | getForceScalingBits () const |
| Get the force accumulation fixed-precision bits.
|
|
int | getEnergyScalingBits () const |
| Get the energy accumulation fixed-precision bits.
|
|
int | getChargeMeshScalingBits () const |
| Get the PME charge accumulation fixed-precision bits.
|
|
double | getBondConstraintTolerance () const |
| Get the SHAKE / RATTLE convergence tolerance.
|
|
PrecisionModel | getValenceMethod () const |
| Get the precision level for valence computations.
|
|
PrecisionModel | getNonbondedMethod () const |
| Get the precision level for short-ranged, non-bonded computations.
|
|
PrecisionModel | getParticleMeshEwaldMethod () const |
| Get the precision level for Particle-Mesh Ewald computations.
|
|
const NamelistEmulator & | getTranscript () const |
| Get the original namelist emulator object as a transcript of the user input.
|
|
void | setGlobalPosScalingBits (int bitval) |
| Set the global position fixed-precision bits.
|
|
void | setLocalPosScalingBits (int bitval) |
| Set the local position fixed-precision bits.
|
|
void | setVelocityScalingBits (int bitval) |
| Set the fixed-precision velocity scaling bits.
|
|
void | setForceScalingBits (int bitval) |
| Set the fixed-precision force accumulation bits.
|
|
void | setEnergyScalingBits (int bitval) |
| Set the fixed-precision energy accumulation bits.
|
|
void | setChargeMeshScalingBits (int bitval) |
| Set the fixed-precision charge mesh accumulation bits.
|
|
void | setBondConstraintTolerance (double tol) |
| Set the bond constraint convergence tolerance.
|
|
void | setValenceMethod (PrecisionModel pmodel) |
| Set the precision model to use in valence term computations.
|
|
void | setNonbondedMethod (PrecisionModel pmodel) |
| Set the precision model to use in non-bonded short-ranged pair computations.
|
|
void | setParticleMeshEwaldMethod (PrecisionModel pmodel) |
| Set the precision model to use in Particle Mesh Ewald (charge density accumulation, Fast Fourier Transforms, convolution, and force interpolation) computations.
|
|
|
| PrecisionControls (ExceptionResponse policy_in=ExceptionResponse::DIE, WrapTextSearch wrap=WrapTextSearch::NO) |
| The constructor can prepare an object with default settings or read the corresponding namelist to accept user input.
|
|
| PrecisionControls (const TextFile &tf, int *start_line, bool *found_nml, ExceptionResponse policy_in=ExceptionResponse::DIE, WrapTextSearch wrap=WrapTextSearch::NO) |
|
|
| PrecisionControls (const PrecisionControls &original)=default |
| As with other control objects, copy and move constructors, plus copy and move assignment operators, can all take their default forms.
|
|
| PrecisionControls (PrecisionControls &&original)=default |
|
PrecisionControls & | operator= (const PrecisionControls &original)=default |
|
PrecisionControls & | operator= (PrecisionControls &&original)=default |
|
Object to encapsulate energy precision control information. Like other namelist encapsualtors, this object can take input file data as part of its construction, or by a series of setters. Validation of each piece of data is handled as it appears either in the contructor or via setters. Getter functions dispense the internal information to any application using STORMM libraries.