ThunderEgg  1.0.0
FastSchurMatrixAssemble3D.h
Go to the documentation of this file.
1 /***************************************************************************
2  * ThunderEgg, a library for solvers on adaptively refined block-structured
3  * Cartesian grids.
4  *
5  * Copyright (c) 2019-2021 Scott Aiton
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <https://www.gnu.org/licenses/>.
19  ***************************************************************************/
20 
21 #ifndef THUNDEREGG_POISSON_FASTSCHURMATRIXASSEMBLE3D_H
22 #define THUNDEREGG_POISSON_FASTSCHURMATRIXASSEMBLE3D_H
23 
30 #include <petscmat.h>
31 namespace ThunderEgg::Poisson {
42 Mat
43 FastSchurMatrixAssemble3D(const Schur::InterfaceDomain<3>& iface_domain,
44  Poisson::FFTWPatchSolver<3>& solver);
45 } // namespace ThunderEgg::Poisson
46 #endif
ThunderEgg::Poisson::FastSchurMatrixAssemble3D
Mat FastSchurMatrixAssemble3D(const Schur::InterfaceDomain< 3 > &iface_domain, Poisson::FFTWPatchSolver< 3 > &solver)
A fast algorithm for forming the Schur compliment matrix.
FFTWPatchSolver.h
FFTWPatchSolver class.
ThunderEgg::Poisson
Classes specific to the Poisson equation.
Definition: DFTPatchSolver.h:40
InterfaceDomain.h
InterfaceDomain class.