xnn.ffnn.common.frc.list_forcefields#

xnn.ffnn.common.frc.list_forcefields(include_dirs=())[source]#

Every force-field variant available by name.

Scans the .frc files shipped with xnn (and any include_dirs) for their #define names.

Returns:

variant name -> file; ReaxFF fields are named reaxff/<field> as in their files, and are also reachable by the bare <field> (see find_forcefield()).

Return type:

dict

Parameters:

include_dirs (Sequence[str | Path])