|
| RefinedElliptic (const Geometry &g_coarse, const Geometry &g_fine, direction dir=forward) |
| Construct from a coarse and a fine grid. More...
|
|
| RefinedElliptic (const Geometry &g_coarse, const Geometry &g_fine, bc bcx, bc bcy, direction dir=forward) |
| Construct from grid and boundary conditions. More...
|
|
template<class ContainerType0 > |
void | set_chi (const ContainerType0 &chi) |
| Change Chi. More...
|
|
const Container & | weights () const |
|
const Container & | precond () const |
| Returns the preconditioner to use in conjugate gradient. More...
|
|
template<class ContainerType0 , class ContainerType1 > |
void | symv (const ContainerType0 &x, ContainerType1 &y) |
| Computes the polarisation term. More...
|
|
template<class Geometry, class IMatrix, class Matrix, class Container>
class dg::RefinedElliptic< Geometry, IMatrix, Matrix, Container >
The refined version of Elliptic
.
Holds an Elliptic
object on the fine grid and brackets every call to symv with interpolation and projection matrices
- Template Parameters
-
Geometry | A type that is or derives from one of the abstract geometry base classes ( aGeometry2d , aGeometry3d , aMPIGeometry2d , ...). Geometry determines which Matrix and Container types can be used: |
Matrix | A class for which the dg::blas2::symv functions are callable in connection with the Container class and to which the return type of dg::create::dx() can be converted using dg::blas2::transfer . The Matrix type can be one of:
|
Container | A data container class for which the blas1 functionality is overloaded and to which the return type of blas1::subroutine() can be converted using dg::assign . We assume that Container is copyable/assignable and has a swap member function. In connection with Geometry this is one of
|
- Attention
- This class is still under construction!