Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
4beecc06
Commit
4beecc06
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
replaced deprecated method getNumberOfBaseFunctions
[[Imported from SVN: r2887]]
parent
46678b8f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fem/transfer/multigridtransfer.cc
+5
-5
5 additions, 5 deletions
fem/transfer/multigridtransfer.cc
with
5 additions
and
5 deletions
fem/transfer/multigridtransfer.cc
+
5
−
5
View file @
4beecc06
...
...
@@ -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
.
getNumberOf
BaseFunctions
();
const
int
numFineBaseFct
=
fineBaseSet
.
num
BaseFunctions
();
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
.
getNumberOf
BaseFunctions
();
const
int
numCoarseBaseFct
=
coarseBaseSet
.
num
BaseFunctions
();
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
.
getNumberOf
BaseFunctions
();
const
int
numFineBaseFct
=
fineBaseSet
.
num
BaseFunctions
();
for
(
int
i
=
0
;
i
<
numCoarseBaseFct
;
i
++
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment