Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
7df47c93
Commit
7df47c93
authored
Sep 17, 2021
by
Ivan Buntic
Committed by
Timo Koch
Oct 26, 2021
Browse files
[disc][multidomain] Use discretization tag instead of enum as template argument.
parent
e4a65c56
Changes
1
Hide whitespace changes
Inline
Side-by-side
dumux/multidomain/fvassembler.hh
View file @
7df47c93
...
...
@@ -104,41 +104,41 @@ private:
using
TimeLoop
=
TimeLoopBase
<
Scalar
>
;
using
ThisType
=
MultiDomainFVAssembler
<
MDTraits
,
CouplingManager
,
diffMethod
,
isImplicit
()
>
;
template
<
DiscretizationMethod
discMethod
,
std
::
size_t
id
>
template
<
class
DiscretizationMethod
,
std
::
size_t
id
>
struct
SubDomainAssemblerType
;
template
<
std
::
size_t
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
::
cct
pfa
,
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
s
::
CCT
pfa
,
id
>
{
using
type
=
SubDomainCCLocalAssembler
<
id
,
SubDomainTypeTag
<
id
>
,
ThisType
,
diffMethod
,
isImplicit
()
>
;
};
template
<
std
::
size_t
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
::
ccm
pfa
,
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
s
::
CCM
pfa
,
id
>
{
using
type
=
SubDomainCCLocalAssembler
<
id
,
SubDomainTypeTag
<
id
>
,
ThisType
,
diffMethod
,
isImplicit
()
>
;
};
template
<
std
::
size_t
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
::
b
ox
,
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
s
::
B
ox
,
id
>
{
using
type
=
SubDomainBoxLocalAssembler
<
id
,
SubDomainTypeTag
<
id
>
,
ThisType
,
diffMethod
,
isImplicit
()
>
;
};
template
<
std
::
size_t
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
::
s
taggered
,
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
s
::
S
taggered
,
id
>
{
using
type
=
SubDomainStaggeredLocalAssembler
<
id
,
SubDomainTypeTag
<
id
>
,
ThisType
,
diffMethod
,
isImplicit
()
>
;
};
template
<
std
::
size_t
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
::
fcs
taggered
,
id
>
struct
SubDomainAssemblerType
<
DiscretizationMethod
s
::
FCS
taggered
,
id
>
{
using
type
=
SubDomainFaceCenteredLocalAssembler
<
id
,
SubDomainTypeTag
<
id
>
,
ThisType
,
diffMethod
,
isImplicit
()
>
;
};
template
<
std
::
size_t
id
>
using
SubDomainAssembler
=
typename
SubDomainAssemblerType
<
GridGeometry
<
id
>::
d
iscMethod
,
id
>::
type
;
using
SubDomainAssembler
=
typename
SubDomainAssemblerType
<
typename
GridGeometry
<
id
>::
D
isc
retization
Method
,
id
>::
type
;
public:
...
...
Write
Preview
Supports
Markdown
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