diff --git a/src/Makefile.am b/src/Makefile.am index a417cea0a34341a360b50a9d16703bd7fdd78858..a1f536d617c3ced7b6f015f636ac5cb4a3fb7440 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -6,6 +6,7 @@ numerics_SOURCES = main.cpp ../../openfpm_vcluster/src/VCluster.cpp ../../openfp numerics_CXXFLAGS = $(INCLUDES_PATH) $(BOOST_CPPFLAGS) $(SUITESPARSE_INCLUDE) $(METIS_INCLUDE) $(EIGEN_INCLUDE) -Wno-deprecated-declarations -Wunused-local-typedefs numerics_CFLAGS = $(CUDA_CFLAGS) numerics_LDADD = $(LINKLIBS) -lmetis +nobase_include_HEADERS = PSE/Kernels.hpp .cu.o : $(NVCC) $(NVCCFLAGS) -o $@ -c $< diff --git a/src/Matrix/SparseMatrix.hpp b/src/Matrix/SparseMatrix.hpp index 28853ce5bd343d810f6ccfe5cd60f929ada26dd8..3caf01bf1688a99b4bef0b8c4f1089bebe2fb066 100644 --- a/src/Matrix/SparseMatrix.hpp +++ b/src/Matrix/SparseMatrix.hpp @@ -46,9 +46,9 @@ template struct triplet } }; -/* ! \brief Sparse Matrix implementation +/*! \brief Sparse Matrix implementation * - * \tparam T Type of the sparse Matrix + * \tparam T Type of the sparse Matrix store on each row,colums * \tparam id_t type of id * \tparam impl implementation * diff --git a/src/Matrix/SparseMatrix_Eigen.hpp b/src/Matrix/SparseMatrix_Eigen.hpp index 6dd22d3c3cd94814f679ff1119b0905af968ff81..7b673a6b53e29f6c060f1b3ab7c9d06aaa1f2082 100644 --- a/src/Matrix/SparseMatrix_Eigen.hpp +++ b/src/Matrix/SparseMatrix_Eigen.hpp @@ -13,6 +13,12 @@ #define EIGEN_TRIPLET 1 +/*! \brief It store one non-zero element in the sparse matrix + * + * Given a row, and a column, store a value + * + * + */ template struct triplet { @@ -40,6 +46,13 @@ struct triplet } }; +/* ! \brief Sparse Matrix implementation, that map over Eigen + * + * \tparam T Type of the sparse Matrix store on each row,colums + * \tparam id_t type of id + * \tparam impl implementation + * + */ template class SparseMatrix> {