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
6c336ebc
Commit
6c336ebc
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
removed deprecated methods mark(Entity&) and global_size()
[[Imported from SVN: r2010]]
parent
dd05fda2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grid/uggrid.hh
+1
-13
1 addition, 13 deletions
grid/uggrid.hh
grid/uggrid/uggrid.cc
+2
-5
2 additions, 5 deletions
grid/uggrid/uggrid.cc
with
3 additions
and
18 deletions
grid/uggrid.hh
+
1
−
13
View file @
6c336ebc
...
...
@@ -230,13 +230,6 @@ namespace Dune {
return
0
;
}
#ifdef UGGRID_WITH_INDEX_SETS
int
global_size
(
int
codim
)
const
DUNE_DEPRECATED
{
return
hierarchicIndexSet
().
size
(
maxlevel
(),
codim
);
}
#else
int
global_size
(
int
codim
)
const
DUNE_DEPRECATED
{
return
size
(
maxlevel
(),
codim
);
}
#endif
/** \brief Mark entity for refinement
*
* This only works for entities of codim 0.
...
...
@@ -247,12 +240,7 @@ namespace Dune {
* <li> false, if nothing changed </li>
* </ul>
*/
bool
mark
(
int
refCount
,
typename
Traits
::
template
codim
<
0
>
::
EntityPointer
&
e
)
{
return
mark
(
refCount
,
*
e
);
}
/** \brief Tempory for Robert */
bool
mark
(
int
refCount
,
typename
Traits
::
template
codim
<
0
>
::
Entity
&
e
);
bool
mark
(
int
refCount
,
typename
Traits
::
template
codim
<
0
>
::
EntityPointer
&
e
);
/** \brief Mark method accepting a UG refinement rule
*/
...
...
This diff is collapsed.
Click to expand it.
grid/uggrid/uggrid.cc
+
2
−
5
View file @
6c336ebc
...
...
@@ -401,17 +401,14 @@ void Dune::UGGrid < dim, dimworld >::makeNewUGMultigrid()
}
template
<
int
dim
,
int
dimworld
>
// bool Dune::UGGrid < dim, dimworld >::mark(int refCount,
// typename Traits::template codim<0>::EntityPointer & e )
bool
Dune
::
UGGrid
<
dim
,
dimworld
>::
mark
(
int
refCount
,
typename
Traits
::
template
codim
<
0
>
::
Entity
&
e
)
typename
Traits
::
template
codim
<
0
>
::
Entity
Pointer
&
e
)
{
// No refinement requested
if
(
refCount
==
0
)
return
false
;
//typename TargetType<0,dim>::T* target = getRealEntity<0>(*e).target_;
typename
TargetType
<
0
,
dim
>::
T
*
target
=
getRealEntity
<
0
>
(
e
).
target_
;
typename
TargetType
<
0
,
dim
>::
T
*
target
=
getRealEntity
<
0
>
(
*
e
).
target_
;
// Check whether element can be marked for refinement
if
(
!
EstimateHere
(
target
))
...
...
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