Loading src/GTMesh/UnstructuredMesh/MeshFunctions/ComputeNormals.h +2 −3 Original line number Original line Diff line number Diff line Loading @@ -174,8 +174,7 @@ MeshDataContainer<Vector<Dimension, Real>, Dimension-1> computeFaceNormals(const template <ComputationMethod Method, unsigned int MeshDimension,typename IndexType, typename Real, unsigned int ...Reserve> template <ComputationMethod Method, unsigned int MeshDimension,typename IndexType, typename Real, unsigned int ...Reserve> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals( MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals( const MakeMeshDataContainer_t<Vertex<MeshDimension, Real>, make_custom_integer_sequence_t<unsigned int, 1, MeshDimension>>& centers, const MakeMeshDataContainer_t<Vertex<MeshDimension, Real>, make_custom_integer_sequence_t<unsigned int, 1, MeshDimension>>& centers, const MeshElements<MeshDimension, IndexType, Real, Reserve...>& mesh ){ const MeshElements<MeshDimension, IndexType, Real, Reserve...>& mesh ){ MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> normals(mesh); MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> normals(mesh); Loading src/GTMesh/UnstructuredMesh/MeshFunctions/GetCenters.h +0 −3 Original line number Original line Diff line number Diff line Loading @@ -49,9 +49,6 @@ struct GetCenters { IndexType sube = mesh.template getElements<CurrentDimension>()[elementIndex].getBoundaryElementIndex(); IndexType sube = mesh.template getElements<CurrentDimension>()[elementIndex].getBoundaryElementIndex(); GetCenters<Dimension, CurrentDimension - 1, MeshDimension>::get(res, centers, mesh, sube); GetCenters<Dimension, CurrentDimension - 1, MeshDimension>::get(res, centers, mesh, sube); return res; } } Loading src/GTMesh/UnstructuredMesh/UnstructuredMesh.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -91,7 +91,7 @@ public: */ */ template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD <= 3) , bool >::type = true> template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD <= 3) , bool >::type = true> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { return computeFaceNormals<Method>(*this); return ::computeFaceNormals<Method>(*this); } } /** /** Loading @@ -99,7 +99,7 @@ public: */ */ template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD > 3) , bool >::type = true> template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD > 3) , bool >::type = true> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { return computeFaceNormals<Method>(computeCenters<Method>(*this), *this); return ::computeFaceNormals<Method>(computeCenters<Method>(*this), *this); } } /** /** Loading Loading
src/GTMesh/UnstructuredMesh/MeshFunctions/ComputeNormals.h +2 −3 Original line number Original line Diff line number Diff line Loading @@ -174,8 +174,7 @@ MeshDataContainer<Vector<Dimension, Real>, Dimension-1> computeFaceNormals(const template <ComputationMethod Method, unsigned int MeshDimension,typename IndexType, typename Real, unsigned int ...Reserve> template <ComputationMethod Method, unsigned int MeshDimension,typename IndexType, typename Real, unsigned int ...Reserve> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals( MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals( const MakeMeshDataContainer_t<Vertex<MeshDimension, Real>, make_custom_integer_sequence_t<unsigned int, 1, MeshDimension>>& centers, const MakeMeshDataContainer_t<Vertex<MeshDimension, Real>, make_custom_integer_sequence_t<unsigned int, 1, MeshDimension>>& centers, const MeshElements<MeshDimension, IndexType, Real, Reserve...>& mesh ){ const MeshElements<MeshDimension, IndexType, Real, Reserve...>& mesh ){ MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> normals(mesh); MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> normals(mesh); Loading
src/GTMesh/UnstructuredMesh/MeshFunctions/GetCenters.h +0 −3 Original line number Original line Diff line number Diff line Loading @@ -49,9 +49,6 @@ struct GetCenters { IndexType sube = mesh.template getElements<CurrentDimension>()[elementIndex].getBoundaryElementIndex(); IndexType sube = mesh.template getElements<CurrentDimension>()[elementIndex].getBoundaryElementIndex(); GetCenters<Dimension, CurrentDimension - 1, MeshDimension>::get(res, centers, mesh, sube); GetCenters<Dimension, CurrentDimension - 1, MeshDimension>::get(res, centers, mesh, sube); return res; } } Loading
src/GTMesh/UnstructuredMesh/UnstructuredMesh.h +2 −2 Original line number Original line Diff line number Diff line Loading @@ -91,7 +91,7 @@ public: */ */ template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD <= 3) , bool >::type = true> template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD <= 3) , bool >::type = true> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { return computeFaceNormals<Method>(*this); return ::computeFaceNormals<Method>(*this); } } /** /** Loading @@ -99,7 +99,7 @@ public: */ */ template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD > 3) , bool >::type = true> template<ComputationMethod Method = ComputationMethod::METHOD_DEFAULT, typename ..., unsigned int MD = MeshDimension, typename std::enable_if< (MD > 3) , bool >::type = true> MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { MeshDataContainer<Vector<MeshDimension, Real>, MeshDimension-1> computeFaceNormals() const { return computeFaceNormals<Method>(computeCenters<Method>(*this), *this); return ::computeFaceNormals<Method>(computeCenters<Method>(*this), *this); } } /** /** Loading