bessagroup / rvesimulator

Automated representative volume element simulator via abaqus for material constitutive law discovery
https://bessagroup.github.io/rvesimulator/
MIT License
14 stars 2 forks source link

Confusing boolean conditions #78

Open mpvanderschelling opened 10 months ago

mpvanderschelling commented 10 months ago

Problem

These boolean conditions are confusing and should be simplified to improve readability.

Proposed solution

Create object methods that return a boolean and replace the conditions with calls to these methods.

Assignees: Labels:

https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/microstructure/shpere_particles.py#L481-L485