ForceBalance API  1.3
Automated optimization of force fields and empirical potentials
List of all members | Public Member Functions | Public Attributes
src.smirnoffio.Vibration_SMIRNOFF Class Reference

Vibrational frequency matching using TINKER. More...

Inheritance diagram for src.smirnoffio.Vibration_SMIRNOFF:
[legend]
Collaboration diagram for src.smirnoffio.Vibration_SMIRNOFF:
[legend]

Public Member Functions

def __init__ (self, options, tgt_opts, forcefield)
 
def submit_jobs (self, mvals, AGrad=False, AHess=False)
 
def smirnoff_update_pgrads (self)
 Update self.pgrads based on smirks present in mol2 files. More...
 

Public Attributes

 engine_
 Default file names for coordinates and key file. More...
 
 pgrad
 

Detailed Description

Vibrational frequency matching using TINKER.

Definition at line 547 of file smirnoffio.py.

Constructor & Destructor Documentation

◆ __init__()

def src.smirnoffio.Vibration_SMIRNOFF.__init__ (   self,
  options,
  tgt_opts,
  forcefield 
)

Definition at line 548 of file smirnoffio.py.

Here is the call graph for this function:

Member Function Documentation

◆ smirnoff_update_pgrads()

def src.smirnoffio.Vibration_SMIRNOFF.smirnoff_update_pgrads (   self)

Update self.pgrads based on smirks present in mol2 files.

This can greatly improve gradients evaluation in big optimizations

Note

  1. This function assumes the names of the forcefield parameters has the smirks as the last item
  2. This function assumes params only affect the smirks of its own. This might not be true if parameter_eval is used.

Definition at line 574 of file smirnoffio.py.

◆ submit_jobs()

def src.smirnoffio.Vibration_SMIRNOFF.submit_jobs (   self,
  mvals,
  AGrad = False,
  AHess = False 
)

Definition at line 559 of file smirnoffio.py.

Here is the call graph for this function:

Member Data Documentation

◆ engine_

src.smirnoffio.Vibration_SMIRNOFF.engine_

Default file names for coordinates and key file.

Definition at line 555 of file smirnoffio.py.

◆ pgrad

src.smirnoffio.Vibration_SMIRNOFF.pgrad

Definition at line 592 of file smirnoffio.py.


The documentation for this class was generated from the following file: