diff -Nru gismo-201807161432/cmake/gismoUse.cmake gismo-201807171431/cmake/gismoUse.cmake --- gismo-201807161432/cmake/gismoUse.cmake 2018-07-16 14:32:32.000000000 +0000 +++ gismo-201807171431/cmake/gismoUse.cmake 2018-07-17 14:31:54.000000000 +0000 @@ -26,7 +26,7 @@ get_filename_component(FNAME ${FILE} NAME_WE) # name without extension add_test(${FNAME} ${CMAKE_BINARY_DIR}/bin/${FNAME} ) #message(STATUS "exec (pure template): ${FNAME}") - add_executable(${FNAME} ${FILE} ${gismo_SOURCES} ${gismo_EXTENSIONS}) + add_executable(${FNAME} ${FILE} ${gismo_SOURCES} ${gismo_EXTENSIONS} ${gismo_dev_EXTENSIONS}) target_link_libraries(${FNAME} gismo_static) if(UNIX AND NOT APPLE) target_link_libraries(${FNAME} dl) diff -Nru gismo-201807161432/debian/changelog gismo-201807171431/debian/changelog --- gismo-201807161432/debian/changelog 2018-07-16 14:32:33.000000000 +0000 +++ gismo-201807171431/debian/changelog 2018-07-17 14:31:54.000000000 +0000 @@ -1,8 +1,8 @@ -gismo (201807161432-1090873~ubuntu17.10.1) artful; urgency=low +gismo (201807171431-2868e0b~ubuntu17.10.1) artful; urgency=low * Auto build. - -- Gismo Mon, 16 Jul 2018 14:32:33 +0000 + -- Gismo Tue, 17 Jul 2018 14:31:54 +0000 gismo (20150926-ppa) trusty; urgency=medium diff -Nru gismo-201807161432/debian/git-build-recipe.manifest gismo-201807171431/debian/git-build-recipe.manifest --- gismo-201807161432/debian/git-build-recipe.manifest 2018-07-16 14:32:33.000000000 +0000 +++ gismo-201807171431/debian/git-build-recipe.manifest 2018-07-17 14:31:54.000000000 +0000 @@ -1,3 +1,3 @@ -# git-build-recipe format 0.4 deb-version 201807161432-1090873 -lp:g+smo git-commit:1090873b3d8a858fb72b8418d6dc75df3ca829bb +# git-build-recipe format 0.4 deb-version 201807171431-2868e0b +lp:g+smo git-commit:2868e0b15a50aa732870bf12592e41fbef47c468 nest master lp:~g+smo/+git/debian debian git-commit:05f94eeb95748159cdd98418fd4ceba85c59b211 diff -Nru gismo-201807161432/src/gsUtils/gsCombinatorics.h gismo-201807171431/src/gsUtils/gsCombinatorics.h --- gismo-201807161432/src/gsUtils/gsCombinatorics.h 2018-07-16 14:32:32.000000000 +0000 +++ gismo-201807171431/src/gsUtils/gsCombinatorics.h 2018-07-17 14:31:54.000000000 +0000 @@ -595,6 +595,26 @@ while (i!=dd); } +/// \brief Computes the rotation matrix +/// implied by a permutation \a perm of the cube directions +/// plus a relocation \a flip +/// +/// \param[in] flip the relocation of the cube vertices +/// flip[k]==true : the coordinate \em k is not relocated +/// flip[k]==false : the coordinate \em k is relocated +/// \param[in] perm the permutation of the directions (0,..,d-1) +/// \param[out] result A rotation matrix +/// \ingroup combinatorics +template +void cubeIsometryMatrix ( const gsVector & flip, + const gsVector & perm, + gsMatrix & result) +{ + result.setZero(d,d); + for(int i = 0; i < d; ++i) + result(perm(i),i) = (flip(perm(i)) ? 1 : -1); +} + /// \brief Construct first composition of \a sum into \a dim integers /// \ingroup combinatorics template