Namespace: Calculator

Kekule. Calculator

Namespace for all structure calculators.
Source:

Classes

AbstractStructure3DGenerator
Base

Members

(static) ServiceManager

Manager of some common calculation services.
Source:

(static) Services

Predefined service names of calculation.
Properties:
Name Type Description
GEN3D
Source:

Methods

(static) generate3D(sourceMol, options, callback, errCallback, msgCallback) → {Object}

Generate 3D structure based on 2D sourceMol. This method seek for registered 'gen3D' calculation service.
Parameters:
Name Type Description
sourceMol Kekule.StructureFragment
options Hash
callback Func Callback function when the calculation job is done. Callback(generatedMol).
errCallback Func Callback function when error occurs in calculation. Callback(err).
msgCallback Func Callback function that receives log messages from calculator. Callback(msgData).
Source:
Returns:
Created calculation object.
Type
Object

(static) getWorkerBasePath() → {String}

Returns default path to store calculator web worker scripts.
Source:
Returns:
Type
String