|
KASKADE 7 development version
|
#include <memory>#include <vector>#include <map>#include <time.h>#include <math.h>#include <fstream>#include <iostream>#include "dune/grid/common/grid.hh"#include "dune/grid/common/entitypointer.hh"#include "dune/grid/common/entity.hh"#include "dune/grid/io/file/dgfparser/dgfparser.hh"#include "dune/istl/matrix.hh"#include "dune/istl/bcrsmatrix.hh"#include "dune/common/fmatrix.hh"#include "dune/common/iteratorfacades.hh"#include "dune/istl/matrixindexset.hh"#include "dune/istl/preconditioners.hh"#include "dune/istl/solvers.hh"#include "fem/fixdune.hh"#include "fem/mllgeometry.hh"#include "fem/fetransfer.hh"#include "linalg/conjugation.hh"#include "linalg/triplet.hh"Go to the source code of this file.
Classes | |
| class | ParentalNodes< Grd > |
| Finds the parent nodes and their interpolation weight for each node in the grid. usage eg.: ParentalNodes<Grid> parentalNodes( gridManager.grid() );. More... | |
| class | ProlongationStack< Grd > |
| class | MlStack< Grd > |
| class | MultigridSolver< Grd, domain_type > |
Functions | |
| void | bcrsPrint (const Dune::BCRSMatrix< Dune::FieldMatrix< double, 1, 1 > > &bcrsMatrix) |
| double | energyNorm (const Dune::BCRSMatrix< Dune::FieldMatrix< double, 1, 1 > > &matrix_, const Dune::BlockVector< Dune::FieldVector< double, 1 > > &vec_) |
Definition in file multiGridStacks.hh.
| void bcrsPrint | ( | const Dune::BCRSMatrix< Dune::FieldMatrix< double, 1, 1 > > & | bcrsMatrix | ) |
Creates a vector of the prolongation matrices (base transformation..) and a vector of the restricted stiffness matrices for each gridlevel
Access to BCRS prolongation matrix from level k to k+1: ProlongationStack<Dune::UGGrid<dim> > ps( gridManager.grid() ); BCRSMatrix<FieldMatrix<double,1,1> > prolongation = ps.prolStack[k];
Access to k times restricted BCRS stiffness matrix with assembled Matrix A: ProlongationStack<Dune::UGGrid<dim> > ps( gridManager.grid() ); MlStack<Dune::UGGrid<dim> > myStack( ps , A ); BCRSMatrix<FieldMatrix<double,1,1> > levelStiff = myStack.levelMatrixStack[k];
We have three classes: ParentalNodes ProlongationStack MlStack
Definition at line 494 of file multiGridStacks.hh.
| double energyNorm | ( | const Dune::BCRSMatrix< Dune::FieldMatrix< double, 1, 1 > > & | matrix_, |
| const Dune::BlockVector< Dune::FieldVector< double, 1 > > & | vec_ | ||
| ) |
Definition at line 511 of file multiGridStacks.hh.