diff --git a/src/BTCSDiffusion.hpp b/src/BTCSDiffusion.hpp index 7d0b96f..2df15c4 100644 --- a/src/BTCSDiffusion.hpp +++ b/src/BTCSDiffusion.hpp @@ -5,28 +5,12 @@ #include #include -/*! - * Datatype to fill the sparse matrix which is used to solve the equation - * system. - */ -typedef Eigen::Triplet T; /*! * Defines both types of boundary condition as a datatype. */ typedef int bctype; -/*! - * A boundary condition consists of two features. A type and the according - * value. Here we can differentiate between: - * - * - Neumann boundary conditon: type BC_NEUMANN with the value defining the - * gradient - * - Dirichlet boundary condition: type BC_DIRICHLET with the actual value of - * the boundary condition - */ -typedef std::vector> boundary_condition; - /*! * Class implementing a solution for a 1/2/3D diffusion equation using backward * euler. @@ -49,6 +33,23 @@ public: */ static const int BC_FLUX; + /*! + * A boundary condition consists of two features. A type and the according + * value. Here we can differentiate between: + * + * - Neumann boundary conditon: type BC_NEUMANN with the value defining the + * gradient + * - Dirichlet boundary condition: type BC_DIRICHLET with the actual value of + * the boundary condition + */ + typedef std::vector> boundary_condition; + +/*! + * Datatype to fill the sparse matrix which is used to solve the equation + * system. + */ + typedef Eigen::Triplet T; + /*! * Create 1D-diffusion module. *