Skip to content
Snippets Groups Projects
Commit 4beecc06 authored by Oliver Sander's avatar Oliver Sander
Browse files

replaced deprecated method getNumberOfBaseFunctions

[[Imported from SVN: r2887]]
parent 46678b8f
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,8 @@ void Dune::MultiGridTransfer<DiscFuncType>::setup(const FunctionSpaceType& coars
for (; cIt != cEndIt; ++cIt) {
const BaseFunctionSetType& coarseBaseSet = coarseFSpace.getBaseFunctionSet( *cIt );
const int numCoarseBaseFct = coarseBaseSet.getNumberOfBaseFunctions();
//const int numCoarseBaseFct = coarseBaseSet.getNumberOfBaseFunctions();
const int numCoarseBaseFct = coarseBaseSet.numBaseFunctions();
typedef typename GridType::template Codim<0>::Entity EntityType;
typedef typename EntityType::HierarchicIterator HierarchicIterator;
......@@ -62,7 +63,7 @@ void Dune::MultiGridTransfer<DiscFuncType>::setup(const FunctionSpaceType& coars
continue;
const BaseFunctionSetType& fineBaseSet = fineFSpace.getBaseFunctionSet( *fIt );
const int numFineBaseFct = fineBaseSet.getNumberOfBaseFunctions();
const int numFineBaseFct = fineBaseSet.numBaseFunctions();
for (int i=0; i<numCoarseBaseFct; i++) {
......@@ -99,10 +100,9 @@ void Dune::MultiGridTransfer<DiscFuncType>::setup(const FunctionSpaceType& coars
// /////////////////////////////////////////////
cIt = grid.template lbegin<0>(cL);
for (; cIt != cEndIt; ++cIt) {
//std::cout << "Coarse: " << cIt->index() << "\n";
const BaseFunctionSetType& coarseBaseSet = coarseFSpace.getBaseFunctionSet( *cIt );
const int numCoarseBaseFct = coarseBaseSet.getNumberOfBaseFunctions();
const int numCoarseBaseFct = coarseBaseSet.numBaseFunctions();
typedef typename GridType::template Codim<0>::Entity EntityType;
......@@ -117,7 +117,7 @@ void Dune::MultiGridTransfer<DiscFuncType>::setup(const FunctionSpaceType& coars
continue;
const BaseFunctionSetType& fineBaseSet = fineFSpace.getBaseFunctionSet( *fIt );
const int numFineBaseFct = fineBaseSet.getNumberOfBaseFunctions();
const int numFineBaseFct = fineBaseSet.numBaseFunctions();
for (int i=0; i<numCoarseBaseFct; i++) {
......
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