ThunderEgg
1.0.0
|
Create a matrix for the 2D second-order Laplacian operator. More...
#include <MatrixHelper2d.h>
Public Member Functions | |
MatrixHelper2d (const Domain< 2 > &domain, std::bitset< 4 > neumann) | |
Create a MatrixHelper for a given domain. More... | |
Mat | formCRSMatrix (double lambda=0) |
Form the matrix. More... | |
Create a matrix for the 2D second-order Laplacian operator.
ThunderEgg::Poisson::MatrixHelper2d::MatrixHelper2d | ( | const Domain< 2 > & | domain, |
std::bitset< 4 > | neumann | ||
) |
Create a MatrixHelper for a given domain.
domain | the domain |
neumann | the boundary conditions |
Mat ThunderEgg::Poisson::MatrixHelper2d::formCRSMatrix | ( | double | lambda = 0 | ) |
Form the matrix.