Skip to content
Snippets Groups Projects
Commit a7ace9c9 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Aufraemaktion zu Olis const getGrid Umstellung.

[[Imported from SVN: r1723]]
parent fe2afed2
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ namespace Dune { ...@@ -135,7 +135,7 @@ namespace Dune {
typedef typename FunctionSpaceType::GridType GridType; typedef typename FunctionSpaceType::GridType GridType;
// the corresponding grid // the corresponding grid
FunctionSpaceType & functionSpace_= dest.getFunctionSpace(); FunctionSpaceType & functionSpace_= dest.getFunctionSpace();
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
if(leaf_) if(leaf_)
{ {
......
...@@ -109,7 +109,7 @@ namespace Dune { ...@@ -109,7 +109,7 @@ namespace Dune {
typedef typename FunctionSpaceType::GridType GridType; typedef typename FunctionSpaceType::GridType GridType;
// the corresponding grid // the corresponding grid
const FunctionSpaceType & functionSpace_= dest.getFunctionSpace(); const FunctionSpaceType & functionSpace_= dest.getFunctionSpace();
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
if(leaf_) if(leaf_)
{ {
......
...@@ -127,7 +127,7 @@ namespace Dune { ...@@ -127,7 +127,7 @@ namespace Dune {
typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType; typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType;
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
typedef typename FunctionSpaceType::Range RangeVecType; typedef typename FunctionSpaceType::Range RangeVecType;
typedef typename FunctionSpaceType::JacobianRange JacobianRange; typedef typename FunctionSpaceType::JacobianRange JacobianRange;
...@@ -192,7 +192,7 @@ namespace Dune { ...@@ -192,7 +192,7 @@ namespace Dune {
typedef typename EntityType::IntersectionIterator NeighIt; typedef typename EntityType::IntersectionIterator NeighIt;
typedef typename NeighIt::BoundaryEntity BoundaryEntityType; typedef typename NeighIt::BoundaryEntity BoundaryEntityType;
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
DiscFunctionType & arg = const_cast<DiscFunctionType &> (*arg_); DiscFunctionType & arg = const_cast<DiscFunctionType &> (*arg_);
DiscFunctionType & dest = (*dest_); DiscFunctionType & dest = (*dest_);
...@@ -301,7 +301,7 @@ namespace Dune { ...@@ -301,7 +301,7 @@ namespace Dune {
typedef typename GridType::LeafIterator LeafIterator; typedef typename GridType::LeafIterator LeafIterator;
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
std::cout << "Assemble Matrix!" << std::endl ; std::cout << "Assemble Matrix!" << std::endl ;
......
...@@ -96,7 +96,7 @@ namespace Dune { ...@@ -96,7 +96,7 @@ namespace Dune {
typedef typename GridType::template codim<0>::LevelIterator LevelIterator; typedef typename GridType::template codim<0>::LevelIterator LevelIterator;
typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType; typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType;
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
{ {
LevelIterator it = grid.template lbegin<0>( grid.maxlevel() ); LevelIterator it = grid.template lbegin<0>( grid.maxlevel() );
...@@ -204,7 +204,7 @@ namespace Dune { ...@@ -204,7 +204,7 @@ namespace Dune {
typedef typename GridType::template codim<0>::LevelIterator LevelIterator; typedef typename GridType::template codim<0>::LevelIterator LevelIterator;
typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType; typedef typename FunctionSpaceType::BaseFunctionSetType BaseFunctionSetType;
GridType &grid = functionSpace_.getGrid(); const GridType &grid = functionSpace_.getGrid();
typedef typename DiscFunctionType::LocalFunctionType LocalFunctionType; typedef typename DiscFunctionType::LocalFunctionType LocalFunctionType;
typedef typename FunctionSpaceType::Range RangeVecType; typedef typename FunctionSpaceType::Range RangeVecType;
......
...@@ -38,7 +38,7 @@ namespace Dune ...@@ -38,7 +38,7 @@ namespace Dune
typedef typename DiscreteFunctionType::LocalFunctionType LocalFuncType; typedef typename DiscreteFunctionType::LocalFunctionType LocalFuncType;
GridType & grid = functionSpace_.getGrid(); const GridType & grid = functionSpace_.getGrid();
typename FunctionSpaceType::Range ret (0.0); typename FunctionSpaceType::Range ret (0.0);
typename FunctionSpaceType::Range phi (0.0); typename FunctionSpaceType::Range phi (0.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment