> I would like to generate a new set of coordinates for a molecule by > modifying the internal coordinates. > > When I convert the new molecule to gzmat or fh, some of the internal > coordinates atom definition are modified.
Sure. The default CartesianToInternal method will do re-ordering if it thinks the original atom order creates a bad z-matrix (e.g., co-linear atoms, etc.). But you can create the z-matrix yourself. The math isn't hard. Calculate the distance from atom 1 to atom 2, the distance between 2-3 and the angle 1-2-3, etc. Create a set of internal coordinate objects and fill in the parameters, then if needed call InternalToCartesian (which does not re-order atoms). Hope that helps, -Geoff ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss