Commit 8a2275cb authored by Pietro Incardona's avatar Pietro Incardona

small fix

parent a9ea8f7d
......@@ -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 $<
......@@ -46,9 +46,9 @@ template<typename T, unsigned int impl> 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
*
......
......@@ -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<typename T>
struct triplet<T,EIGEN_TRIPLET>
{
......@@ -40,6 +46,13 @@ struct triplet<T,EIGEN_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<typename T, typename id_t>
class SparseMatrix<T,id_t,Eigen::SparseMatrix<T,0,id_t>>
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment