CASL / Futility

VERA Fortran Utilities
Other
44 stars 20 forks source link

Add code to rotate polygon objects in 90-degree increments #238

Closed aarograh closed 4 years ago

aarograh commented 4 years ago

CASL Ticket # - 6276

aarograh commented 4 years ago

The last commit fixes a defect that wasn't caught initially. All the rotation was done right, but for the quadratic edges, the final (x,y) values were assigned using the x value for both x and y. Because my unit test used a simple triangle with no quadratic edges, this was missed. I switched the unit test to use a polygon with quadratic edges to cover this bug.

There are some minor changes required on the MPACT side, so this needs to be held until that branch is ready as well.