Commit Graph

6 Commits

Author SHA1 Message Date
a5504b0435 refactor: modernize Molecule class with cached properties and vectorized operations
- Replace manual property updates with @cached_property for total_mass, com, and inertia_tensor
- Introduce invalidate_computed_properties decorator to auto-invalidate cached properties on atom changes
- Vectorize distances_between_atoms, sizes_of_molecule, and minimum_distance calculations using numpy
- Unify and clarify center of mass and standard orientation methods (move_center_of_mass_to_origin, rotate_to_standard_orientation)
- Remove redundant or outdated code, improve typing and error handling
- Update dependent files and tests to use new method names and behaviors
2026-02-28 10:01:34 -03:00
cb4b21ab6c chore: better project structure 2026-02-26 18:04:44 -03:00
5d76e49f89 chore: switches from black and isort to ruff 2026-02-26 17:47:26 -03:00
c4dae5e8d1 Adds Formatter to Project 2023-06-11 16:05:43 -03:00
f1deff4786 Implementation of Logger and Finishes DiceInterface Tests 2023-04-27 03:48:23 -03:00
b869ee74fb Implements More Tests and Begins Dice Refactor Implementation 2023-04-22 11:29:08 -03:00