Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
amdis
amdis-core
Commits
108d80a8
Commit
108d80a8
authored
8 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
removed size_type from dune:functions:XXXbasis
parent
f81fe982
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/amdis/utility/GetDegree.hpp
+17
-17
17 additions, 17 deletions
dune/amdis/utility/GetDegree.hpp
with
17 additions
and
17 deletions
dune/amdis/utility/GetDegree.hpp
+
17
−
17
View file @
108d80a8
...
...
@@ -11,30 +11,30 @@
#include
<dune/amdis/common/Mpl.hpp>
namespace
AMDiS
namespace
AMDiS
{
namespace
Impl
{
// helper class to extract the polynomial degree of a pqk nodal basis
template
<
class
FeSpace
>
template
<
class
FeSpace
>
struct
GetDegree
:
int_
<
1
>
{};
template
<
class
GV
,
int
k
,
class
ST
>
struct
GetDegree
<
Dune
::
Functions
::
PQkNodalBasis
<
GV
,
k
,
ST
>
>
:
int_
<
k
>
{};
template
<
class
GV
,
int
k
,
class
ST
>
struct
GetDegree
<
Dune
::
Functions
::
LagrangeDGBasis
<
GV
,
k
,
ST
>
>
:
int_
<
k
>
{};
template
<
class
GV
,
class
ST
>
struct
GetDegree
<
Dune
::
Functions
::
PQ1NodalBasis
<
GV
,
ST
>
>
:
int_
<
1
>
{};
template
<
class
GV
,
class
ST
>
struct
GetDegree
<
Dune
::
Functions
::
TaylorHoodBasis
<
GV
,
ST
>
>
:
int_
<
2
>
{};
template
<
class
GV
,
int
k
>
struct
GetDegree
<
Dune
::
Functions
::
PQkNodalBasis
<
GV
,
k
>
>
:
int_
<
k
>
{};
template
<
class
GV
,
int
k
>
struct
GetDegree
<
Dune
::
Functions
::
LagrangeDGBasis
<
GV
,
k
>
>
:
int_
<
k
>
{};
template
<
class
GV
>
struct
GetDegree
<
Dune
::
Functions
::
PQ1NodalBasis
<
GV
>
>
:
int_
<
1
>
{};
template
<
class
GV
>
struct
GetDegree
<
Dune
::
Functions
::
TaylorHoodBasis
<
GV
>
>
:
int_
<
2
>
{};
}
// end namespace Impl
/// \brief Return the polynomial degree of a given FESpace. Falls back to 1 if unknown.
template
<
class
FeSpace
>
constexpr
int
getPolynomialDegree
=
Impl
::
GetDegree
<
FeSpace
>::
value
;
}
// end namespace AMDiS
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