Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
amdis
amdis-core
Commits
400aead8
Commit
400aead8
authored
7 years ago
by
Müller, Felix
Browse files
Options
Downloads
Patches
Plain Diff
removed unsupported Refine/CoarsenBisections, DUNE only supports single refinement/coarsen steps
parent
ac1384a7
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
src/amdis/AdaptInfo.cpp
+0
-2
0 additions, 2 deletions
src/amdis/AdaptInfo.cpp
src/amdis/AdaptInfo.hpp
+0
-26
0 additions, 26 deletions
src/amdis/AdaptInfo.hpp
with
0 additions
and
28 deletions
src/amdis/AdaptInfo.cpp
+
0
−
2
View file @
400aead8
...
...
@@ -16,8 +16,6 @@ namespace AMDiS
Parameters
::
get
(
prefix
+
"->time relative tolerance"
,
timeRelativeTolerance
);
Parameters
::
get
(
prefix
+
"->coarsen allowed"
,
coarsenAllowed
);
Parameters
::
get
(
prefix
+
"->refinement allowed"
,
refinementAllowed
);
Parameters
::
get
(
prefix
+
"->refine bisections"
,
refineBisections
);
Parameters
::
get
(
prefix
+
"->coarsen bisections"
,
coarseBisections
);
Parameters
::
get
(
prefix
+
"->sum factor"
,
fac_sum
);
Parameters
::
get
(
prefix
+
"->max factor"
,
fac_max
);
...
...
This diff is collapsed.
Click to expand it.
src/amdis/AdaptInfo.hpp
+
0
−
26
View file @
400aead8
...
...
@@ -69,20 +69,6 @@ namespace AMDiS
/// true if refinement is allowed, false otherwise.
int
refinementAllowed
=
1
;
/** \brief
* parameter to tell the marking strategy how many bisections should be
* performed when an element is marked for refinement; usually the value is
* 1 or DIM
*/
int
refineBisections
=
1
;
/** \brief
* parameter to tell the marking strategy how many bisections should
* be undone when an element is marked for coarsening; usually the value is
* 1 or DIM
*/
int
coarseBisections
=
1
;
};
public
:
...
...
@@ -519,18 +505,6 @@ namespace AMDiS
scalContents
.
at
(
key
)
->
coarsenAllowed
=
allow
;
}
/// Returns \ref refineBisections
int
getRefineBisections
(
int
index
)
const
{
return
scalContents
[
index
]
->
refineBisections
;
}
/// Returns \ref coarseBisections
int
getCoarseBisections
(
int
index
)
const
{
return
scalContents
[
index
]
->
coarseBisections
;
}
int
getSize
()
const
{
return
int
(
scalContents
.
size
());
...
...
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