Skip to content

refactor clean2d on python

Some property classes and properties that duplicate the existing functionality of the chython were removed, and were made to improve the readability of the code, which allowed to optimize the algorithm

The Vestor class for calculating coordinates and vectors was also improved, it was inherited from numpy array and as a result a 2.5 times boost was obtained.

Also some functions were improved, the changes were of the following nature

  • stylistic character
  • changes aimed at improving code readability
  • changes aimed at optimizing the algorithm (it was completely rewritten)
  • changes related to the replacement of property class analogs with the existing ones of the molecular container.
  • minor corrections of functions, in which calculation operations over coordinates and vectors took place, the same algorithm was rewritten, but adjusted to the optimized class already

Merge request reports

Loading