From d86f20456d376472d213210599b4d10de7ea4c52 Mon Sep 17 00:00:00 2001 From: Max Luebke Date: Tue, 8 Mar 2022 14:59:02 +0100 Subject: [PATCH] Adding some comments to library header. --- src/BTCSDiffusion.hpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/BTCSDiffusion.hpp b/src/BTCSDiffusion.hpp index 54e43c7..b994b80 100644 --- a/src/BTCSDiffusion.hpp +++ b/src/BTCSDiffusion.hpp @@ -88,9 +88,9 @@ public: /*! * With given ghost zones simulate diffusion. Only 1D allowed at this moment. * - * @param c Vector describing the concentration of one solution of the grid as - * continious memory (row major). - * @param alpha Vector of diffusion coefficients for each grid element. + * @param c Pointer to continious memory describing the current concentration state of each grid cell. + * @param alpha Pointer to memory area of diffusion coefficients for each grid element. + * @param bc Pointer to memory setting boundary conidition of each grid cell. */ void simulate(double *c, double *alpha, Diffusion::boundary_condition *bc); @@ -147,11 +147,6 @@ private: void solveLES(); void updateInternals(); - // std::vector bc; - // Eigen::Matrix - // bc; - Eigen::SparseMatrix A_matrix; Eigen::VectorXd b_vector; Eigen::VectorXd x_vector;