Peano
Loading...
Searching...
No Matches
CGMultigrid.h
Go to the documentation of this file.
1// This file is part of the Peano's MGHyPE extension. For conditions of
2// distribution and use, please see the copyright notice at
3// www.peano-framework.org
4#pragma once
5
6#include "tarch/la/Matrix.h"
7#include "tarch/la/Vector.h"
9#include "tarch/logging/Log.h"
11
12namespace mghype{
13namespace matrixfree{
14namespace solvers{
15namespace cgmultigrid{
42 template<class CGSolver>
45 auto& coarseGridVertices,
46 auto& fineGridVertex,
47 const auto& vertexMarker
48 );
49
75 template<class CGSolver>
78 auto& coarseGridVertices,
79 auto& fineGridVertex,
80 const auto& vertexMarker
81 );
82
84
85} // namespace cgmultigrid
86} // namespace solvers
87} // namespace matrixfree
88} // namespace mghype
89
90#include "CGMultigrid.cpph"
Static (i.e.
Definition Matrix.h:42
Log Device.
Definition Log.h:517
void restrictToNextLevel(const tarch::la::Matrix< TwoPowerD, FourPowerD, double > &restrictionMatrix, auto &coarseGridVertices, auto &fineGridVertex, const auto &vertexMarker)
Restrict data from fine grid vertices onto the coarse level.
void prolongate(const tarch::la::Matrix< FourPowerD, TwoPowerD, double > &prolongationMatrix, auto &coarseGridVertices, auto &fineGridVertex, const auto &vertexMarker)
Prolongate data from coarse vertices down onto fine vertices.
This file is part of the multigrid project within Peano 4.
Definition __init__.py:1
This file is part of the multigrid project within Peano 4.
Definition __init__.py:1