FastCorotatedFEM
FastCorotatedFEM copied to clipboard
Fix compilation in MacOS for Xcode 10.2.1 by
- explicitly setting c++11 in cmake to allow >> without space at end of templates
- adjusting glut includes for mac
- using Eigens handmade aligned allocator because std::aligned_allocator is missing in Apple Clang
- switching from [4][3] to fix-size Eigen matrix to fix error in deletion in std::vector
Changes only tested on MacOs 10.14.4 and XCod3 10.2.1. Please test with MSVC and linux if you want to avoid regressions.