|
| void | set_buckingham (int Z1, int Z2, const BuckinghamParams &p) |
| |
| BuckinghamParams | get_buckingham (int Z1, int Z2) const |
| |
| bool | has_buckingham (int Z1, int Z2) const |
| |
| void | set_typed_buckingham (int type1, int type2, const BuckinghamParams &p) |
| |
| void | set_typed_buckingham (const std::map< std::pair< int, int >, BuckinghamParams > ¶ms) |
| |
| void | clear_typed_buckingham () |
| |
| bool | has_typed_buckingham (int type1, int type2) const |
| |
| BuckinghamParams | get_typed_buckingham (int type1, int type2) const |
| |
| BuckinghamParams | get_buckingham_for_types (int type1, int type2) const |
| | Look up typed params, falling back to element-based if not found.
|
| |
| void | set_typed_aniso (const std::map< std::pair< int, int >, AnisotropicRepulsionParams > ¶ms) |
| |
| bool | has_aniso (int type1, int type2) const |
| |
| AnisotropicRepulsionParams | get_aniso (int type1, int type2) const |
| |
| bool | has_any_aniso () const |
| |
| void | set_type_labels (const std::map< int, std::string > &labels) |
| |
| std::string | type_name (int type_code) const |
| |
| const std::map< std::pair< int, int >, LennardJonesParams > & | lj_params () const |
| |
| bool | use_williams_atom_typing () const |
| |
| bool | use_short_range_typing () const |
| |
| void | set_use_williams_atom_typing (bool v) |
| |
| void | set_use_short_range_typing (bool v) |
| |
|
| static std::map< std::pair< int, int >, BuckinghamParams > | williams_de_params () |
| | Williams DE Buckingham parameters by element pair (kJ/mol, Angstrom).
|
| |
| static std::map< std::pair< int, int >, BuckinghamParams > | williams_typed_params () |
| | Williams typed Buckingham parameters by type code pair (kJ/mol, Angstrom).
|
| |
| static const char * | short_range_type_label (int type_code) |
| | Convert a Williams/NEIGHCRYS type code to a short label (e.g. 512 -> "C_W3").
|
| |
| static int | short_range_type_atomic_number (int type_code) |
| | Map a Williams/NEIGHCRYS type code to element Z, or 0 if unknown.
|
| |
| static int | classify_williams_type (int idx, const std::vector< std::vector< int > > &neighbors, const std::vector< int > &atomic_numbers) |
| | Classify atom types using Williams bonding rules.
|
| |
| static std::vector< std::vector< int > > | bonded_neighbors (const std::vector< int > &atomic_numbers, const std::vector< Vec3 > &positions) |
| | Find bonded neighbors by covalent radius + tolerance.
|
| |
Manages force field parameters for short-range interactions.
Handles element-based Buckingham, type-code-based Buckingham, anisotropic repulsion, and Williams DE built-in tables.