Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dorie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dorie
dorie
Commits
66848f4d
Commit
66848f4d
authored
Feb 20, 2017
by
Lukas Riedel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt_grid integration order is now the same as in DG operator
parent
d2b43918
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
dune/dorie/interface/adaptivity.hh
dune/dorie/interface/adaptivity.hh
+8
-1
No files found.
dune/dorie/interface/adaptivity.hh
View file @
66848f4d
...
@@ -58,6 +58,9 @@ private:
...
@@ -58,6 +58,9 @@ private:
const
float
adaptivityThreshold
;
//!< Global error threshold below which no refinement is applied
const
float
adaptivityThreshold
;
//!< Global error threshold below which no refinement is applied
const
int
verbose
;
//!< output verbosity of this object
const
int
verbose
;
//!< output verbosity of this object
const
int
intorderadd
=
2
;
const
int
quadrature_factor
=
2
;
public:
public:
/// Initialize members from config file parameters.
/// Initialize members from config file parameters.
...
@@ -174,7 +177,11 @@ public:
...
@@ -174,7 +177,11 @@ public:
t_mark
=
timer3
.
elapsed
();
t_mark
=
timer3
.
elapsed
();
timer3
.
reset
();
timer3
.
reset
();
Dune
::
PDELab
::
adapt_grid
(
grid
,
gfs
,
uold
,
unew
,
2
*
order
);
// calculate integration order like in DG operator
const
int
intorder
=
intorderadd
+
quadrature_factor
*
order
;
// adapt the grid
Dune
::
PDELab
::
adapt_grid
(
grid
,
gfs
,
uold
,
unew
,
intorder
);
t_adapt
=
timer3
.
elapsed
();
t_adapt
=
timer3
.
elapsed
();
timer3
.
reset
();
timer3
.
reset
();
...
...
Write
Preview
Markdown
is supported
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