Validates bond cutoff matrices against simulation cell periodic boundary conditions and fundamental physical coordination chemistry constraints.
More...
#include <CutoffSanityChecker.hpp>
Validates bond cutoff matrices against simulation cell periodic boundary conditions and fundamental physical coordination chemistry constraints.
◆ CutoffSanityChecker()
| correlation::analysis::CutoffSanityChecker::CutoffSanityChecker |
( |
| ) |
|
|
delete |
◆ applyFix()
Automatically applies a recommended repair action to the bond cutoff matrix.
- Parameters
-
| [in,out] | matrix | The bond cutoff matrix to modify. |
| [in] | elements | List of elements present in the system. |
| [in] | cell | Pointer to the simulation cell. |
| [in] | action | The remediation action code to execute. |
- Returns
- True if the matrix was successfully modified, false otherwise.
◆ checkCutoffs()
Evaluates the sanity of an entire bond cutoff matrix against periodic box geometry and physical constraints.
- Parameters
-
| [in] | matrix | The bond cutoff matrix to evaluate. |
| [in] | elements | List of elements present in the system. |
| [in] | cell | Pointer to the simulation cell (optional, used for PBC checks). |
- Returns
- A SanityReport containing severity, title, diagnostic message, and fix action.
The documentation for this class was generated from the following files: