Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
e2497d6a
Commit
e2497d6a
authored
Mar 23, 2018
by
Müller, Felix
Committed by
Praetorius, Simon
May 23, 2018
Browse files
removed unsupported Refine/CoarsenBisections, DUNE only supports single refinement/coarsen steps
parent
b2309244
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/amdis/AdaptInfo.cpp
View file @
e2497d6a
...
@@ -16,8 +16,6 @@ namespace AMDiS
...
@@ -16,8 +16,6 @@ namespace AMDiS
Parameters
::
get
(
prefix
+
"->time relative tolerance"
,
timeRelativeTolerance
);
Parameters
::
get
(
prefix
+
"->time relative tolerance"
,
timeRelativeTolerance
);
Parameters
::
get
(
prefix
+
"->coarsen allowed"
,
coarsenAllowed
);
Parameters
::
get
(
prefix
+
"->coarsen allowed"
,
coarsenAllowed
);
Parameters
::
get
(
prefix
+
"->refinement allowed"
,
refinementAllowed
);
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
+
"->sum factor"
,
fac_sum
);
Parameters
::
get
(
prefix
+
"->max factor"
,
fac_max
);
Parameters
::
get
(
prefix
+
"->max factor"
,
fac_max
);
...
...
src/amdis/AdaptInfo.hpp
View file @
e2497d6a
...
@@ -69,20 +69,6 @@ namespace AMDiS
...
@@ -69,20 +69,6 @@ namespace AMDiS
/// true if refinement is allowed, false otherwise.
/// true if refinement is allowed, false otherwise.
int
refinementAllowed
=
1
;
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:
public:
...
@@ -519,18 +505,6 @@ namespace AMDiS
...
@@ -519,18 +505,6 @@ namespace AMDiS
scalContents
.
at
(
key
)
->
coarsenAllowed
=
allow
;
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
int
getSize
()
const
{
{
return
int
(
scalContents
.
size
());
return
int
(
scalContents
.
size
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment