Adding some comments to library header.

This commit is contained in:
Max Luebke 2022-03-08 14:59:02 +01:00
parent caae08176b
commit d86f20456d

View File

@ -88,9 +88,9 @@ public:
/*! /*!
* With given ghost zones simulate diffusion. Only 1D allowed at this moment. * 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 * @param c Pointer to continious memory describing the current concentration state of each grid cell.
* continious memory (row major). * @param alpha Pointer to memory area of diffusion coefficients for each grid element.
* @param alpha Vector 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); void simulate(double *c, double *alpha, Diffusion::boundary_condition *bc);
@ -147,11 +147,6 @@ private:
void solveLES(); void solveLES();
void updateInternals(); void updateInternals();
// std::vector<boundary_condition> bc;
// Eigen::Matrix<boundary_condition, Eigen::Dynamic, Eigen::Dynamic,
// Eigen::RowMajor>
// bc;
Eigen::SparseMatrix<double> A_matrix; Eigen::SparseMatrix<double> A_matrix;
Eigen::VectorXd b_vector; Eigen::VectorXd b_vector;
Eigen::VectorXd x_vector; Eigen::VectorXd x_vector;