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

Force and energy matching using SMIRKS native Open Force Field (SMIRNOFF). More...

Inheritance diagram for src.smirnoffio.TorsionProfileTarget_SMIRNOFF:
[legend]
Collaboration diagram for src.smirnoffio.TorsionProfileTarget_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

Force and energy matching using SMIRKS native Open Force Field (SMIRNOFF).

Definition at line 669 of file smirnoffio.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 670 of file smirnoffio.py.

Here is the call graph for this function:

Member Function Documentation

◆ smirnoff_update_pgrads()

def src.smirnoffio.TorsionProfileTarget_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 697 of file smirnoffio.py.

◆ submit_jobs()

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

Definition at line 682 of file smirnoffio.py.

Here is the call graph for this function:

Member Data Documentation

◆ engine_

src.smirnoffio.TorsionProfileTarget_SMIRNOFF.engine_

Default file names for coordinates and key file.

Definition at line 678 of file smirnoffio.py.

◆ pgrad

src.smirnoffio.TorsionProfileTarget_SMIRNOFF.pgrad

Definition at line 716 of file smirnoffio.py.


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