Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
dumux-repositories
dumux
Commits
813a8ebb
Commit
813a8ebb
authored
6 years ago
by
Dennis Gläser
Committed by
Timo Koch
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[facet][gridmanager] do not use detail namespace for precondition checks
parent
298d78b6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1431
Feature/facetcoupling with mpfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/multidomain/facet/gridmanager.hh
+7
-7
7 additions, 7 deletions
dumux/multidomain/facet/gridmanager.hh
with
7 additions
and
7 deletions
dumux/multidomain/facet/gridmanager.hh
+
7
−
7
View file @
813a8ebb
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
#include
"gmshreader.hh"
#include
"gmshreader.hh"
namespace
Dumux
{
namespace
Dumux
{
namespace
Detail
{
namespace
FCGridManagerChecks
{
// The grid creator and grid data classes provided below
// The grid creator and grid data classes provided below
// require that the grids passed as template arguments are
// require that the grids passed as template arguments are
...
@@ -84,8 +84,8 @@ template<typename... Grids>
...
@@ -84,8 +84,8 @@ template<typename... Grids>
class
FacetCouplingGridDataWrapper
class
FacetCouplingGridDataWrapper
{
{
// make sure all grids have the same world dimension and are ordered in descending dimension
// make sure all grids have the same world dimension and are ordered in descending dimension
static_assert
(
Detail
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
Detail
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
//! determine the number of involved grids
//! determine the number of involved grids
static
constexpr
std
::
size_t
numGrids
=
sizeof
...(
Grids
);
static
constexpr
std
::
size_t
numGrids
=
sizeof
...(
Grids
);
...
@@ -154,8 +154,8 @@ template<typename... Grids>
...
@@ -154,8 +154,8 @@ template<typename... Grids>
class
FacetCouplingEmbeddings
class
FacetCouplingEmbeddings
{
{
// make sure all grids have the same world dimension and are ordered in descending dimension
// make sure all grids have the same world dimension and are ordered in descending dimension
static_assert
(
Detail
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
Detail
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
//! the i-th grid type
//! the i-th grid type
template
<
std
::
size_t
id
>
using
Grid
=
typename
std
::
tuple_element_t
<
id
,
std
::
tuple
<
Grids
...
>>
;
template
<
std
::
size_t
id
>
using
Grid
=
typename
std
::
tuple_element_t
<
id
,
std
::
tuple
<
Grids
...
>>
;
...
@@ -284,8 +284,8 @@ template<typename... Grids>
...
@@ -284,8 +284,8 @@ template<typename... Grids>
class
FacetCouplingGridManager
class
FacetCouplingGridManager
{
{
// make sure all grids have the same world dimension and are ordered in descending dimension
// make sure all grids have the same world dimension and are ordered in descending dimension
static_assert
(
Detail
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
false
,
Grids
...
>::
value
,
"All grids must have the same world dimension!"
);
static_assert
(
Detail
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
static_assert
(
FCGridManagerChecks
::
FulfillConditions
<
true
,
Grids
...
>::
value
,
"Grids must be ordered w.r.t the dimension in descending order!"
);
// we use a wrapper class for the grid data containing the data on all grids
// we use a wrapper class for the grid data containing the data on all grids
using
GridDataWrapper
=
FacetCouplingGridDataWrapper
<
Grids
...
>
;
using
GridDataWrapper
=
FacetCouplingGridDataWrapper
<
Grids
...
>
;
...
...
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