ContactEngineering / Adhesion

Cohesive zone models and intermolecular interactions for contact calculations
https://contactengineering.github.io/Adhesion/
MIT License
5 stars 2 forks source link

Cleaner computation of einstein summations in Electrostatic.py #82

Open sannant opened 1 year ago

sannant commented 1 year ago

https://github.com/ContactEngineering/Adhesion/blob/49a1f4f23c5ee5408ddb502f0a9f63bc5932042e/Adhesion/Interactions/Electrostatic.py#L200-L210

There are probably smarter and more transparent ways to handle these arrays.