Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-functions-debug
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
graeser
dune-functions-debug
Commits
18287c04
Commit
18287c04
authored
7 years ago
by
oliver.sander_at_tu-dresden.de
Browse files
Options
Downloads
Patches
Plain Diff
Minor cleanup
parent
d419e99b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/functions/functionspacebases/raviartthomasbasis.hh
+2
-7
2 additions, 7 deletions
dune/functions/functionspacebases/raviartthomasbasis.hh
with
2 additions
and
7 deletions
dune/functions/functionspacebases/raviartthomasbasis.hh
+
2
−
7
View file @
18287c04
...
@@ -148,17 +148,12 @@ class RaviartThomasNode;
...
@@ -148,17 +148,12 @@ class RaviartThomasNode;
template
<
typename
GV
,
int
k
,
class
MI
,
class
TP
,
class
ST
,
GeometryType
::
BasicType
basic_type
>
template
<
typename
GV
,
int
k
,
class
MI
,
class
TP
,
class
ST
,
GeometryType
::
BasicType
basic_type
>
class
RaviartThomasNodeIndexSet
;
class
RaviartThomasNodeIndexSet
;
template
<
typename
GV
,
int
k
,
class
MI
,
class
ST
,
GeometryType
::
BasicType
basic_type
>
class
RaviartThomasPreBasis
;
template
<
typename
GV
,
int
k
,
class
MI
,
class
ST
,
GeometryType
::
BasicType
basic_type
>
template
<
typename
GV
,
int
k
,
class
MI
,
class
ST
,
GeometryType
::
BasicType
basic_type
>
class
RaviartThomasPreBasis
class
RaviartThomasPreBasis
{
{
static
const
int
dim
=
GV
::
dimension
;
static
const
int
dim
=
GV
::
dimension
;
using
FiniteElementMap
=
typename
Impl
::
RaviartThomasLocalFiniteElementMap
<
GV
,
dim
,
basic_type
,
typename
GV
::
ctype
,
double
,
k
>
;
using
FiniteElementMap
=
typename
Impl
::
RaviartThomasLocalFiniteElementMap
<
GV
,
dim
,
basic_type
,
typename
GV
::
ctype
,
double
,
k
>
;
private:
template
<
typename
,
int
,
class
,
class
,
class
,
GeometryType
::
BasicType
>
template
<
typename
,
int
,
class
,
class
,
class
,
GeometryType
::
BasicType
>
friend
class
RaviartThomasNodeIndexSet
;
friend
class
RaviartThomasNodeIndexSet
;
...
@@ -267,7 +262,6 @@ class RaviartThomasNode :
...
@@ -267,7 +262,6 @@ class RaviartThomasNode :
public
LeafBasisNode
<
ST
,
TP
>
public
LeafBasisNode
<
ST
,
TP
>
{
{
static
const
int
dim
=
GV
::
dimension
;
static
const
int
dim
=
GV
::
dimension
;
static
const
int
maxSize
=
StaticPower
<
(
k
+
1
),
GV
::
dimension
>::
power
;
using
Base
=
LeafBasisNode
<
ST
,
TP
>
;
using
Base
=
LeafBasisNode
<
ST
,
TP
>
;
...
@@ -383,7 +377,8 @@ public:
...
@@ -383,7 +377,8 @@ public:
size_t
subentity
=
localKey
.
subEntity
();
size_t
subentity
=
localKey
.
subEntity
();
size_t
codim
=
localKey
.
codim
();
size_t
codim
=
localKey
.
codim
();
if
(
not
(
codim
==
0
or
codim
==
1
))
DUNE_THROW
(
Dune
::
NotImplemented
,
"Grid contains elements not supported for the RaviartThomasBasis"
);
if
(
not
(
codim
==
0
or
codim
==
1
))
DUNE_THROW
(
Dune
::
NotImplemented
,
"Grid contains elements not supported for the RaviartThomasBasis"
);
*
it
=
{
preBasis_
->
codimOffset_
[
codim
]
+
*
it
=
{
preBasis_
->
codimOffset_
[
codim
]
+
preBasis_
->
dofsPerCodim
[
codim
]
*
gridIndexSet
.
subIndex
(
element
,
subentity
,
codim
)
+
localKey
.
index
()
};
preBasis_
->
dofsPerCodim
[
codim
]
*
gridIndexSet
.
subIndex
(
element
,
subentity
,
codim
)
+
localKey
.
index
()
};
...
...
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