GOMC icon indicating copy to clipboard operation
GOMC copied to clipboard

Optimize operator overloading for XYZ objects

Open LSchwiebert opened this issue 1 year ago • 0 comments
trafficstars

This pull request creates a more efficient implementation of many of the overloaded operators for the XYZ class. It should run faster and is more readable. It is a cleaner C++ implementation of the XYZ class.

It also changes the XYZ struct to an XYZ class, although making the data members private is complicated by the fact that many other classes access these variables directly. So, they are currently kept as public members.

Also, removed some unused types and UNUSED, which isn't used in the code.

LSchwiebert avatar May 14 '24 14:05 LSchwiebert