pysimm.forcefield.pcff module

class pysimm.forcefield.pcff.Pcff(db_file=None)[source]

Bases: pysimm.forcefield.forcefield.Forcefield

Forcefield object with typing rules for Pcff model. By default reads data file in forcefields subdirectory.

ff_name

pcff

pair_style

class2

ff_class

2

nb_mixing

sixth

assign_atypes(s)[source]

Pcff specific angle typing rules. Requires System object Particle objects have bonds, type and type.name defined. * use after assign_ptypes *

Parameters:sSystem
Returns:None
assign_btypes(s)[source]

Pcff specific bond typing rules. Requires System object Particle objects have bonds, type and type.name defined. * use after assign_ptypes *

Parameters:sSystem
Returns:None
assign_charges(s, charges='default')[source]

Default Pcff charge assignment. Gasteiger is also an option.

Parameters:
  • sSystem
  • charges – default
Returns:

None

assign_dtypes(s)[source]

Pcff specific dihedral typing rules. Requires System object Particle objects have bonds, type and type.name defined. * use after assign_ptypes *

Parameters:sSystem
Returns:None
assign_itypes(s)[source]

Pcff specific improper typing rules. Requires System object Particle objects have bonds, type and type.name defined. * use after assign_ptypes *

Parameters:sSystem
Returns:None
assign_ptypes(s)[source]

Pcff specific particle typing rules. Requires System object Particle objects have bonds defined. * use System.add_particle_bonding() to ensure this *

Parameters:sSystem
Returns:None