ThunderEgg  1.0.0
ThunderEgg::Poisson::MatrixHelper Class Reference

Create a matrix for the 3D second-order Laplacian operator. More...

#include <MatrixHelper.h>

Public Member Functions

 MatrixHelper (const Domain< 3 > &domain, std::bitset< 6 > neumann)
 Create a MatrixHelper for a given 3D domain. More...
 
Mat formCRSMatrix ()
 Form the matrix for the domain. More...
 

Detailed Description

Create a matrix for the 3D second-order Laplacian operator.

This is equivalent to using StarPatchOperator<3> with TriLinGhostFiller

Constructor & Destructor Documentation

◆ MatrixHelper()

ThunderEgg::Poisson::MatrixHelper::MatrixHelper ( const Domain< 3 > &  domain,
std::bitset< 6 >  neumann 
)
explicit

Create a MatrixHelper for a given 3D domain.

Parameters
domainthe Domain
neumannboundary conditions

Member Function Documentation

◆ formCRSMatrix()

Mat ThunderEgg::Poisson::MatrixHelper::formCRSMatrix ( )

Form the matrix for the domain.

Returns
the formed matrix

The documentation for this class was generated from the following file: