home of the molecule class
Imported modules
|
|
from __future__ import division, generators
from atom import atom
from bond import bond
import copy
import dom_extensions
import geometry
import groups_table
import helper_graphics
from math import atan2, sin, cos, pi, sqrt
import misc
from parents import container, top_level, id_enabled
import periodic_table
import time
from warnings import warn
import xml.dom.minidom
|
Functions
|
|
fuse_vertices
get_index_of_vertex_connected_to_first_vertex
|
|
fuse_vertices
|
fuse_vertices (
i1,
i2,
mat,
)
fuses vertices with indexes i1, i2 to i1, works on the mat
|
|
get_index_of_vertex_connected_to_first_vertex
|
get_index_of_vertex_connected_to_first_vertex ( mat )
returns an index of vertex that is connected to the vertex in first line
of the matrix
|
Classes
|
|
molecule |
note that all children of simple_parent have default meta infos set
|
|
|