Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-pdelab-tutorials
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
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
PDELab
dune-pdelab-tutorials
Commits
28a8660e
Commit
28a8660e
authored
7 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Skipping linear in the name of LOP and TLOP
parent
affc9960
No related branches found
No related tags found
1 merge request
!42
Feature/tutorial07update
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorial07/src/driver.hh
+2
-2
2 additions, 2 deletions
tutorial07/src/driver.hh
tutorial07/src/hyperbolicdg.hh
+11
-11
11 additions, 11 deletions
tutorial07/src/hyperbolicdg.hh
with
13 additions
and
13 deletions
tutorial07/src/driver.hh
+
2
−
2
View file @
28a8660e
...
...
@@ -41,9 +41,9 @@ void driver (const GV& gv, const FEMDG& femdg, NUMFLUX& numflux, Dune::Parameter
std
::
cout
<<
"degrees of freedom: "
<<
gfs
.
globalSize
()
<<
std
::
endl
;
// Make instationary grid operator
using
LOP
=
Dune
::
PDELab
::
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEMDG
>
;
using
LOP
=
Dune
::
PDELab
::
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEMDG
>
;
LOP
lop
(
numflux
);
using
TLOP
=
Dune
::
PDELab
::
DG
Linear
HyperbolicTemporalOperator
<
NUMFLUX
,
FEMDG
>
;
using
TLOP
=
Dune
::
PDELab
::
DGHyperbolicTemporalOperator
<
NUMFLUX
,
FEMDG
>
;
TLOP
tlop
(
numflux
);
using
MBE
=
Dune
::
PDELab
::
ISTL
::
BCRSMatrixBackend
<>
;
...
...
This diff is collapsed.
Click to expand it.
tutorial07/src/hyperbolicdg.hh
+
11
−
11
View file @
28a8660e
...
...
@@ -34,13 +34,13 @@ namespace Dune {
\tparam FEM Finite Element Map needed to select the cache
*/
template
<
typename
NUMFLUX
,
typename
FEM
>
class
DG
Linear
HyperbolicSpatialOperator
:
public
NumericalJacobianApplyVolume
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianVolume
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianApplySkeleton
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianSkeleton
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianApplyBoundary
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianBoundary
<
DG
Linear
HyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
class
DGHyperbolicSpatialOperator
:
public
NumericalJacobianApplyVolume
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianVolume
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianApplySkeleton
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianSkeleton
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianApplyBoundary
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
NumericalJacobianBoundary
<
DGHyperbolicSpatialOperator
<
NUMFLUX
,
FEM
>
>
,
public
FullSkeletonPattern
,
public
FullVolumePattern
,
public
LocalOperatorDefaultFlags
,
...
...
@@ -62,7 +62,7 @@ namespace Dune {
enum
{
doLambdaVolume
=
true
};
// ! constructor
DG
Linear
HyperbolicSpatialOperator
(
NUMFLUX
&
numflux_
,
int
overintegration_
=
0
)
DGHyperbolicSpatialOperator
(
NUMFLUX
&
numflux_
,
int
overintegration_
=
0
)
:
numflux
(
numflux_
),
overintegration
(
overintegration_
),
cache
(
20
)
{
}
...
...
@@ -364,8 +364,8 @@ namespace Dune {
* \f}
*/
template
<
typename
NUMFLUX
,
typename
FEM
>
class
DG
Linear
HyperbolicTemporalOperator
:
public
NumericalJacobianApplyVolume
<
DG
Linear
HyperbolicTemporalOperator
<
NUMFLUX
,
FEM
>
>
,
class
DGHyperbolicTemporalOperator
:
public
NumericalJacobianApplyVolume
<
DGHyperbolicTemporalOperator
<
NUMFLUX
,
FEM
>
>
,
public
LocalOperatorDefaultFlags
,
public
InstationaryLocalOperatorDefaultMethods
<
typename
NUMFLUX
::
RF
>
{
...
...
@@ -380,7 +380,7 @@ namespace Dune {
// residual assembly flags
enum
{
doAlphaVolume
=
true
};
DG
Linear
HyperbolicTemporalOperator
(
NUMFLUX
&
numflux_
,
int
overintegration_
=
0
)
DGHyperbolicTemporalOperator
(
NUMFLUX
&
numflux_
,
int
overintegration_
=
0
)
:
numflux
(
numflux_
),
overintegration
(
overintegration_
),
cache
(
20
)
{}
...
...
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