Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dune-fem-dg
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
Container Registry
Model registry
Operate
Environments
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
dune-fem
dune-fem-dg
Commits
9c678682
Commit
9c678682
authored
9 years ago
by
Stefan Girke
Browse files
Options
Downloads
Patches
Plain Diff
moved indicator from AlgorithmBase to StepperBase
parent
9e73d21e
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
dune/fem-dg/stepper/baseevolution.hh
+0
-6
0 additions, 6 deletions
dune/fem-dg/stepper/baseevolution.hh
dune/fem-dg/stepper/stepperbase.hh
+7
-1
7 additions, 1 deletion
dune/fem-dg/stepper/stepperbase.hh
with
7 additions
and
7 deletions
dune/fem-dg/stepper/baseevolution.hh
+
0
−
6
View file @
9c678682
...
...
@@ -141,9 +141,6 @@ public:
// choose a suitable GridView
typedef
typename
Traits
::
GridPartType
GridPartType
;
// the indicator function type (for limiting only)
typedef
typename
Traits
::
IndicatorType
IndicatorType
;
// type of IOTuple
typedef
typename
Traits
::
IOTupleType
IOTupleType
;
...
...
@@ -188,9 +185,6 @@ public:
return
grid_
.
comm
().
sum
(
grSize
);
}
// return reference to additional variables
virtual
IndicatorType
*
indicator
()
{
return
0
;
}
//! initialize method for time loop, i.e. L2-project initial data
virtual
void
initializeStep
(
TimeProviderType
&
tp
,
const
int
loop
)
=
0
;
...
...
This diff is collapsed.
Click to expand it.
dune/fem-dg/stepper/stepperbase.hh
+
7
−
1
View file @
9c678682
...
...
@@ -79,6 +79,9 @@ struct StepperBase
// ... as well as the Space type
typedef
typename
Traits
::
DiscreteSpaceType
DiscreteSpaceType
;
// the indicator function type (for limiting only)
typedef
typename
Traits
::
IndicatorType
IndicatorType
;
// The ODE Solvers
typedef
typename
Traits
::
OdeSolverType
OdeSolverType
;
typedef
typename
OdeSolverType
::
MonitorType
OdeSolverMonitorType
;
...
...
@@ -112,7 +115,6 @@ struct StepperBase
// type of adaptation manager
typedef
Dune
::
Fem
::
AdaptationManager
<
GridType
,
RestrictionProlongationType
>
AdaptationManagerType
;
using
BaseType
::
indicator
;
using
BaseType
::
grid_
;
using
BaseType
::
limitSolution
;
...
...
@@ -138,6 +140,7 @@ struct StepperBase
{
// set refine weight
rp_
.
setFatherChildWeight
(
Dune
::
DGFGridInfo
<
GridType
>
::
refineWeight
()
);
}
//! destructor
...
...
@@ -393,6 +396,9 @@ struct StepperBase
return
*
problem_
;
}
// return reference to additional variables
virtual
IndicatorType
*
indicator
()
{
return
0
;
}
virtual
const
ModelType
&
model
()
const
=
0
;
protected
:
...
...
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