Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
10536d3b
Commit
10536d3b
authored
Apr 14, 2020
by
Praetorius, Simon
Browse files
use concept aliases in BoundaryConditions
parent
de0b3746
Changes
2
Hide whitespace changes
Inline
Side-by-side
amdis/DirichletBC.hpp
View file @
10536d3b
...
...
@@ -110,8 +110,8 @@ namespace AMDiS
/// Make a DirichletBC from a row- and colbasis with treepath arguments
template
<
class
Mat
,
class
Sol
,
class
Rhs
,
class
RB
,
class
RTP
,
class
CB
,
class
CTP
,
class
Values
,
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
RB
::
GridView
>,
RB
>
()
),
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
CB
::
GridView
>
,
CB
>
()
)
>
REQUIRES
(
Concept
s
::
GlobalBasis
<
RB
>
),
REQUIRES
(
Concept
s
::
GlobalBasis
<
CB
>
)
>
auto
makeDirichletBC
(
RB
const
&
rowBasis
,
RTP
const
&
rowTreePath
,
CB
const
&
colBasis
,
CTP
const
&
colTreePath
,
BoundarySubset
<
typename
RB
::
GridView
::
Intersection
>
boundarySubset
,
...
...
@@ -124,8 +124,8 @@ namespace AMDiS
/// Make a DirichletBC from a global row- and colbasis
template
<
class
Mat
,
class
Sol
,
class
Rhs
,
class
RB
,
class
CB
,
class
Values
,
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
RB
::
GridView
>,
RB
>
()
),
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
CB
::
GridView
>
,
CB
>
()
)
>
REQUIRES
(
Concept
s
::
GlobalBasis
<
RB
>
),
REQUIRES
(
Concept
s
::
GlobalBasis
<
CB
>
)
>
auto
makeDirichletBC
(
RB
const
&
rowBasis
,
CB
const
&
colBasis
,
BoundarySubset
<
typename
RB
::
GridView
::
Intersection
>
boundarySubset
,
Values
&&
values
)
...
...
amdis/PeriodicBC.hpp
View file @
10536d3b
...
...
@@ -145,7 +145,7 @@ namespace AMDiS
/// Make a PeriodicBC from a global basis and treepath
template
<
class
Mat
,
class
Sol
,
class
Rhs
,
class
B
,
class
TP
,
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
B
::
GridView
>,
B
>
()
)
>
REQUIRES
(
Concept
s
::
GlobalBasis
<
B
>
)
>
auto
makePeriodicBC
(
B
const
&
basis
,
TP
const
&
tp
,
BoundarySubset
<
typename
B
::
GridView
::
Intersection
>
boundarySubset
,
Impl
::
FaceTrafo
<
B
>
trafo
)
...
...
@@ -156,7 +156,7 @@ namespace AMDiS
/// Make a PeriodicBC from a global basis
template
<
class
Mat
,
class
Sol
,
class
Rhs
,
class
B
,
REQUIRES
(
Dune
::
models
<
Dune
::
Functions
::
Concept
::
GlobalBasis
<
typename
B
::
GridView
>,
B
>
()
)
>
REQUIRES
(
Concept
s
::
GlobalBasis
<
B
>
)
>
auto
makePeriodicBC
(
B
const
&
basis
,
BoundarySubset
<
typename
B
::
GridView
::
Intersection
>
boundarySubset
,
Impl
::
FaceTrafo
<
B
>
trafo
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment