Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-xt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
ag-ohlberger
dune-community
dune-xt
Commits
bc324456
Commit
bc324456
authored
6 years ago
by
René Fritze
Committed by
René Milk
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[test] make sure eoc gridpovider are at least minimally coverred
parent
a8214c84
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dune/xt/grid/test/eoc_gridprovider.py
+5
-0
5 additions, 0 deletions
dune/xt/grid/test/eoc_gridprovider.py
dune/xt/grid/test/eoc_gridprovider.tpl
+25
-0
25 additions, 0 deletions
dune/xt/grid/test/eoc_gridprovider.tpl
with
30 additions
and
0 deletions
dune/xt/grid/test/eoc_gridprovider.py
0 → 100644
+
5
−
0
View file @
bc324456
import
dune.xt.grid.types
as
grid_types
from
dune.xt.codegen
import
typeid_to_typedef_name
as
safe_name
# alberta needs manual flag adding in cmake, so we skip it here
all_grids
=
((
safe_name
(
g
),
g
)
for
g
in
grid_types
.
all_types
(
cache
,
list
(
range
(
1
,
4
)))
if
'
Alberta
'
not
in
g
)
This diff is collapsed.
Click to expand it.
dune/xt/grid/test/eoc_gridprovider.tpl
0 → 100644
+
25
−
0
View file @
bc324456
// This file is part of the dune-xt-grid project:
// https://github.com/dune-community/dune-xt-grid
// Copyright 2009-2018 dune-xt-grid developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/licenses/gpl-license)
// with "runtime exception" (http://www.dune-project.org/license.html)
// Authors:
// Rene Milk (2018)
#include
<dune
/
xt
/
common
/
test
/
main.hxx
>
#include
<dune
/
xt
/
grid
/
gridprovider
/
eoc.hh
>
#include
<dune
/
xt
/
grid
/
grids.hh
>
{% for name, type in config.all_grids %}
GTEST_TEST(EocProvider_{
{
name
}
}, layers)
{
using Level = Dune::XT::Grid::LevelBasedEOCGridProvider
<
{
{
type
}
}
>
;
using DD = Dune::XT::Grid::DdSubdomainsBasedEOCGridProvider
<
{
{
type
}
}
>
;
using Leaf = Dune::XT::Grid::LeafBasedEOCGridProvider
<
{
{
type
}
}
>
;
}
{% endfor %}
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