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
59a120f8
Commit
59a120f8
authored
11 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
added maxSpeed method.
parent
21e46527
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/fem-dg/models/defaultmodel.hh
+23
-0
23 additions, 0 deletions
dune/fem-dg/models/defaultmodel.hh
with
23 additions
and
0 deletions
dune/fem-dg/models/defaultmodel.hh
+
23
−
0
View file @
59a120f8
...
...
@@ -199,6 +199,29 @@ public:
return
0
;
}
//! maximal wave speed due to advection part
inline
void
maxSpeed
(
const
EntityType
&
entity
,
const
double
time
,
const
DomainType
&
x
,
const
DomainType
&
normal
,
const
RangeType
&
u
,
double
&
advspeed
,
double
&
totalspeed
)
const
{
advspeed
=
totalspeed
=
0
;
}
//! maximal wave speed due to diffusion part
inline
double
diffusionTimeStep
(
const
IntersectionType
&
it
,
const
double
enVolume
,
const
double
circumEstimate
,
const
double
time
,
const
FaceDomainType
&
x
,
const
RangeType
&
u
)
const
{
return
0
;
}
public
:
/**
* @brief checks for existence of dirichlet boundary values
...
...
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