ThunderEgg  1.0.0
ThunderEgg::Poisson Namespace Reference

Classes specific to the Poisson equation. More...

Classes

class  DFTPatchSolver
 Use DFT transforms to solve for the Poisson equation. More...
 
class  FFTWPatchSolver
 Use FFT transforms to solve for the Poisson equation. More...
 
class  MatrixHelper
 Create a matrix for the 3D second-order Laplacian operator. More...
 
class  MatrixHelper2d
 Create a matrix for the 2D second-order Laplacian operator. More...
 
class  StarPatchOperator
 Implements 2nd order finite-difference Laplacian operator. More...
 

Functions

Mat FastSchurMatrixAssemble2D (const Schur::InterfaceDomain< 2 > &iface_domain, Poisson::FFTWPatchSolver< 2 > &solver)
 A fast algorithm for forming the Schur compliment matrix. More...
 
Mat FastSchurMatrixAssemble3D (const Schur::InterfaceDomain< 3 > &iface_domain, Poisson::FFTWPatchSolver< 3 > &solver)
 A fast algorithm for forming the Schur compliment matrix. More...
 

Detailed Description

Classes specific to the Poisson equation.

Function Documentation

◆ FastSchurMatrixAssemble2D()

Mat ThunderEgg::Poisson::FastSchurMatrixAssemble2D ( const Schur::InterfaceDomain< 2 > &  iface_domain,
Poisson::FFTWPatchSolver< 2 > &  solver 
)

A fast algorithm for forming the Schur compliment matrix.

Currently this algorithm only supports the FFTWPatchSolver and it has to use either BiLinearGhostFiller or BiQuadraticGhostFiller

Parameters
iface_domainthe interface domain to form the Schur compliment matrix for
solverthe patch solver to use for the formation
Returns
Mat the PETSc matrix, user is responsible for destroying

◆ FastSchurMatrixAssemble3D()

Mat ThunderEgg::Poisson::FastSchurMatrixAssemble3D ( const Schur::InterfaceDomain< 3 > &  iface_domain,
Poisson::FFTWPatchSolver< 3 > &  solver 
)

A fast algorithm for forming the Schur compliment matrix.

Currently this algorithm only supports the FFTWPatchSolver and it has to use TriLinearGhostFiller

Parameters
iface_domainthe interface domain to form the schur compliment matrix for
solverthe patch solver to use for the formation
Returns
Mat the PETSc matrix, user is responsible for destroying