Package chemaxon.calculations.dipole
Class DipoleCalculator
java.lang.Object
chemaxon.calculations.api.ProgressableCalculator<Molecule,DipoleResult>
chemaxon.calculations.dipole.DipoleCalculator
- All Implemented Interfaces:
Calculator<Molecule,,DipoleResult> TaggedCalculator,Licensable
Calculates the components of the dipole vector.
Dipole vector components are referenced to the principal axis system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for dipole moment calculation. -
Field Summary
Fields inherited from class chemaxon.calculations.api.ProgressableCalculator
cancelled, licenseEnvironment, PROGRESS, running, RUNNING -
Method Summary
Modifier and TypeMethodDescriptionCalculates with the given dataChecks if the given data is usable for the calculator or notReturns the product identifier of the plugin.tags()Returns the set of tags reported by this calculator.Methods inherited from class chemaxon.calculations.api.ProgressableCalculator
addPropertyChangeListener, addPropertyChangeListener, cancel, cancelCalculation, checkData, checkLicense, finishCalculation, getErrorMessage, isCancelled, isLicensed, isRunning, removePropertyChangeListener, removePropertyChangeListener, sendProgress, setLicenseEnvironment, startCalculation
-
Method Details
-
check
Description copied from interface:CalculatorChecks if the given data is usable for the calculator or not- Parameters:
data- the input data- Returns:
- list of errors. The molecule is valid when the list is empty.
-
calculate
Description copied from interface:CalculatorCalculates with the given data- Parameters:
molecule- the input data- Returns:
- the calculation result
- Throws:
IllegalArgumentException- when the molecule is not usable- See Also:
-
getProductName
Description copied from class:ProgressableCalculatorReturns the product identifier of the plugin.- Specified by:
getProductNamein classProgressableCalculator<Molecule,DipoleResult>
-
tags
Description copied from interface:TaggedCalculatorReturns the set of tags reported by this calculator. The same tags should be returned unless the calculator is modified using a mutator method, e.g. if some settings are changed.New tags can be introduced and reported in the future by existing calculators, so do not depend on the exact set of reported tags, only check for the presence of certain tags.
- Returns:
- the tags
-