peleffy.forcefield.calculators.DummyChargeCalculator

class peleffy.forcefield.calculators.DummyChargeCalculator(molecule)[source]

Implementation of a dummy charge calculator that will not perform any partial charge calculation.

__init__(molecule)

It initiates a PartialChargeCalculator object.

Parameters

molecule (a peleffy.topology.Molecule) – The partial charges of this Molecule object will be calculated

assign_partial_charges(parameters)[source]

Given a parameter wrapper, it computes the partial charges and assigns them to it.

Parameters

parameters (a peleffy.forcefield.parameters.BaseParameterWrapper object) – The parameter wrapper containing the parameters generated with the current force field and where the partial charges will be assigned

get_partial_charges()[source]

It returns the partial charges that correspond to the molecule’s atoms.

Returns

partial_charges – The array of partial charges

Return type

simtk.unit.Quantity

Attributes

molecule

The peleffy’s Molecule.

name