Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
agnumpde
dune-solvers
Commits
04d598a2
Commit
04d598a2
authored
8 years ago
by
Jonathan Youett
Browse files
Options
Downloads
Patches
Plain Diff
Make obstacleRestrictor protected and add a setter
parent
e1f2b0ec
Branches
Branches containing commit
No related tags found
1 merge request
!10
Mmg shared ptr restrictor
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/solvers/iterationsteps/mmgstep.hh
+7
-1
7 additions, 1 deletion
dune/solvers/iterationsteps/mmgstep.hh
with
7 additions
and
1 deletion
dune/solvers/iterationsteps/mmgstep.hh
+
7
−
1
View file @
04d598a2
...
@@ -57,7 +57,10 @@ public:
...
@@ -57,7 +57,10 @@ public:
//! Set the obstacle field
//! Set the obstacle field
void
setObstacles
(
ObstacleVectorType
*
obstacles
)
{
obstacles_
=
obstacles
;}
void
setObstacles
(
ObstacleVectorType
*
obstacles
)
{
obstacles_
=
obstacles
;}
std
::
shared_ptr
<
ObstacleRestrictor
<
VectorType
>
>
obstacleRestrictor_
;
//! Set the obstacle restrictor
void
setObstacleRestrictor
(
std
::
shared_ptr
<
ObstacleRestrictor
<
VectorType
>
>
restrictor
)
{
obstacleRestrictor_
=
restrictor
;
}
//! Bitfield determining which fine grid nodes have an obstacle
//! Bitfield determining which fine grid nodes have an obstacle
Dune
::
BitSetVector
<
dim
>*
hasObstacle_
;
Dune
::
BitSetVector
<
dim
>*
hasObstacle_
;
...
@@ -70,6 +73,9 @@ public:
...
@@ -70,6 +73,9 @@ public:
Dune
::
BitSetVector
<
dim
>
oldCritical
;
Dune
::
BitSetVector
<
dim
>
oldCritical
;
protected
:
protected
:
//! The restrictor used to construct the coarse obstacles
std
::
shared_ptr
<
ObstacleRestrictor
<
VectorType
>
>
obstacleRestrictor_
;
//! Bitfield hierarchy containing the coarse obstacle nodes
//! Bitfield hierarchy containing the coarse obstacle nodes
std
::
vector
<
Dune
::
BitSetVector
<
dim
>*
>
hasObstacleHierarchy_
;
std
::
vector
<
Dune
::
BitSetVector
<
dim
>*
>
hasObstacleHierarchy_
;
...
...
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