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
6cae5a88
Commit
6cae5a88
authored
10 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
NoFlux class for elliptic problems.
parent
8453c255
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/operator/fluxes/Makefile.am
+1
-1
1 addition, 1 deletion
dune/fem-dg/operator/fluxes/Makefile.am
dune/fem-dg/operator/fluxes/noflux.hh
+58
-0
58 additions, 0 deletions
dune/fem-dg/operator/fluxes/noflux.hh
with
59 additions
and
1 deletion
dune/fem-dg/operator/fluxes/Makefile.am
+
1
−
1
View file @
6cae5a88
fluxesdir
=
$(
includedir
)
/dune/fem-dg/operator/fluxes
fluxes_HEADERS
=
averageflux.hh diffusionflux.hh ldgflux.hh
\
mhd_fluxes.hh rotator.hh dgprimalfluxes.hh eulerfluxes.hh
\
mhd_eqns.hh mhdfluxes.hh mhd_eqns.cc mhd_fluxes.cc
mhd_eqns.hh mhdfluxes.hh mhd_eqns.cc mhd_fluxes.cc
noflux.hh
include
$(top_srcdir)/am/global-rules
This diff is collapsed.
Click to expand it.
dune/fem-dg/operator/fluxes/noflux.hh
0 → 100644
+
58
−
0
View file @
6cae5a88
#ifndef DUNE_FEMDG_NOFLUX_HH
#define DUNE_FEMDG_NOFLUX_HH
#include
<string>
namespace
Dune
{
template
<
class
ModelType
>
class
NoFlux
{
public:
typedef
ModelType
Model
;
typedef
typename
Model
::
Traits
Traits
;
enum
{
dimRange
=
Model
::
dimRange
};
typedef
typename
Model
::
DomainType
DomainType
;
typedef
typename
Model
::
RangeType
RangeType
;
typedef
typename
Model
::
FluxRangeType
FluxRangeType
;
typedef
typename
Model
::
FaceDomainType
FaceDomainType
;
typedef
typename
Model
::
EntityType
EntityType
;
typedef
typename
Model
::
IntersectionType
IntersectionType
;
public
:
/**
* @brief constructor
*/
NoFlux
(
const
Model
&
mod
)
:
model_
(
mod
)
{}
static
std
::
string
name
()
{
return
"UpwindFlux"
;
}
const
Model
&
model
()
const
{
return
model_
;}
/**
* @brief evaluates the flux \f$g(u,v)\f$
*
* @return maximum wavespeed * normal
*/
template
<
class
QuadratureImp
>
inline
double
numericalFlux
(
const
IntersectionType
&
it
,
const
EntityType
&
inside
,
const
EntityType
&
outside
,
const
double
time
,
const
QuadratureImp
&
faceQuadInner
,
const
QuadratureImp
&
faceQuadOuter
,
const
int
quadPoint
,
const
RangeType
&
uLeft
,
const
RangeType
&
uRight
,
RangeType
&
gLeft
,
RangeType
&
gRight
)
const
{
gLeft
=
0
;
gRight
=
0
;
return
0
;
}
protected
:
const
Model
&
model_
;
};
}
#endif
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