Commit Graph

897 Commits

Author SHA1 Message Date
Martin
e6967dfe8b reduced includes by means of static code analysis 2015-11-30 09:48:42 +01:00
Jan Möbius
fbf2469143 Merge branch 'staticc-eh' into 'master'
Added static versions of ArrayKernel::edge_handle and ...::halfedge_handle.



See merge request !30
2015-11-26 13:11:54 +01:00
Hans-Christian Ebke
3fe3657bc8 Added static versions of ArrayKernel::edge_handle and ...::halfedge_handle. 2015-11-26 13:01:53 +01:00
Janis Born
3b5364d3e4 take VectorT argument by reference for non-member vector scalar multiplication (fixes #12) 2015-11-26 12:46:08 +01:00
Jan Möbius
0a35e4d2b9 Merge branch 'vectort-python-compat' 2015-11-26 12:31:46 +01:00
Jan Möbius
d8d641b9f5 Missing destination 2015-11-26 12:21:50 +01:00
Jan Möbius
56e486a386 Missing dll when building debug and release package 2015-11-26 12:21:13 +01:00
Jan Möbius
b1d1676bde Merge branch 'master' into vectort-python-compat 2015-11-25 16:16:19 +01:00
Janis Born
d5612f16a0 Python bindings: add C++11 compilation switch for cross product 2015-11-25 15:30:57 +01:00
Janis Born
4ef152ac2e Python bindings: move definition of dot product to generic implementation 2015-11-25 15:16:41 +01:00
Jan Möbius
6b24398fbc Merge branch 'VS2015_test' into 'master'
Try to get c++11 on visual studio 2015



See merge request !26
2015-11-25 15:03:51 +01:00
Janis Born
b8d304a453 use correct ifdefs for VS2015 2015-11-25 14:53:00 +01:00
Janis Born
4c609dc6e2 brace style 2015-11-25 14:53:00 +01:00
Janis Born
baf0efd646 implement member and non-member swap for VectorT 2015-11-25 14:53:00 +01:00
Janis Born
32d46c239a fix linker error 2015-11-25 14:42:37 +01:00
Janis Born
265ff391e8 fix c++98 compatibility for Python bridge to VectorT 2015-11-25 14:17:06 +01:00
Jan Möbius
f907bd9bd5 Switch all checks for c++11 to support vs2015 2015-11-25 13:55:19 +01:00
Janis Born
e36051d571 brace style 2015-11-25 11:21:38 +01:00
Janis Born
d5e6d413f3 implement member and non-member swap for VectorT 2015-11-25 11:19:53 +01:00
Jan Möbius
1b3c350efb Get changes from master for this branch to test cpp11 stuff
Merge branch 'master' into VS2015_test
2015-11-25 09:47:51 +01:00
Hans-Christian Ebke
ec8936bfa6 Introduce ArrayKernel::clean_keep_reservation(). 2015-11-24 01:45:44 +01:00
Hans-Christian Ebke
201dee45fb HeapT: New optimization should compile in C++98 as well... 2015-11-23 21:16:34 +01:00
Hans-Christian Ebke
422b3dc62e Tweaks to HeapT.hh. 2015-11-23 20:50:48 +01:00
Jan Möbius
3723088081 Fixed template >> missing space 2015-11-23 17:00:06 +01:00
Jan Möbius
a1ccdd69f8 Merge branch 'vec2_issues' into 'master'
Vec2 issues



See merge request !25
2015-11-23 16:48:43 +01:00
Jan Möbius
509f62e118 Try to get c++11 on visual studio 2015 2015-11-23 15:54:22 +01:00
Janis Born
8488f4ac53 use C++98-compatible template brackets 2015-11-23 15:37:14 +01:00
Janis Born
4c9a6ba5a4 add VectorDimensionsT metaprogram to detect vector dimensions in C++98 2015-11-23 15:33:14 +01:00
Janis Born
b31589b15f fall back to dummy implementation for calc_face_normal on meshes with non-3D points 2015-11-23 15:03:57 +01:00
Janis Born
de46a56b75 add .gitignore entries for junk files generated by running unit tests 2015-11-23 12:30:16 +01:00
Janis Born
cf54f40e3e implement VectorT in-place arithmetic operators based on Scalar in-place arithmetic operators 2015-11-23 12:25:07 +01:00
Janis Born
4e9330a87d add unit tests for basic vector arithmetic 2015-11-23 12:22:11 +01:00
Janis Born
797e83f2c0 add benchmarks for non-fundamental Scalar types for VectorT 2015-11-23 11:38:33 +01:00
Jan Möbius
6e71f1bd57 Added Unittest for vec2i and trimesh 2015-11-23 10:57:30 +01:00
Jan Möbius
f2d83f7971 Added Unittest for vec2i and polymesh 2015-11-23 10:57:20 +01:00
Janis Born
8ce8d00bf3 suppress 'unused variable' warnings for benchmark dummy variables 2015-11-23 09:49:36 +01:00
Janis Born
37fc29b59b add begin / end iterators for Vector11T component access 2015-11-23 09:37:08 +01:00
Hans-Christian Ebke
fab8a9cf61 Added another benchmark. 2015-11-19 23:23:56 +01:00
Hans-Christian Ebke
6a43753fed Benchmark: Made CPP11/Legacy a postfix for better sortability. 2015-11-19 23:05:24 +01:00
Hans-Christian Ebke
dbb4cf4db3 Further templatized benchmarks. Testing Vec4* now as well. 2015-11-19 22:58:58 +01:00
Hans-Christian Ebke
fe3dfade13 C++11: Made VectorT::size_ constexpr. 2015-11-19 22:58:42 +01:00
Hans-Christian Ebke
733b6ddadc Added more benchmarks and templatized them. 2015-11-19 22:46:17 +01:00
Hans-Christian Ebke
0c09394179 Added two more benchmarks. 2015-11-19 20:08:36 +01:00
Hans-Christian Ebke
c9d2e4f15f Added another tiny benchmark. 2015-11-19 20:02:50 +01:00
Hans-Christian Ebke
3ed7079cb8 C++11: Laid foundation for benchmark tests. We need more of them! 2015-11-19 19:53:36 +01:00
Hans-Christian Ebke
61fe9dabef C++11: Making sure VectorT construction from iterator is only instantiated for actual iterators. 2015-11-19 17:59:37 +01:00
Hans-Christian Ebke
cdfd266cab C++11: Using std::inner_product for VectorT::operator|. 2015-11-19 17:32:11 +01:00
Hans-Christian Ebke
14dffb83ce C++11: Made VectorT's constructor from array more general. 2015-11-19 17:31:54 +01:00
Hans-Christian Ebke
c8b5dea249 C++11: Made a unit test C++98 compatible. 2015-11-19 16:56:23 +01:00
Hans-Christian Ebke
8d24e6bb67 C++11: Moved C++11 specific unit test into #ifdef. 2015-11-19 16:44:14 +01:00