- Oct 24, 2016
-
-
Ansgar Burchardt authored
document sementics of codim parameter for IndexSet::subIndex If an entity of codimension cc > 0 is passed into IndexSet::subIndex, what is the semantics of the 'codim' parameter? In DUNE, codimensions are always with respect to the grid dimension (see method subEntity of reference element). This patch clearly states that codim is to be understood with respect to the grid dimension. See merge request !97
-
Ansgar Burchardt authored
Fix includes etc. to make headercheck pass This should solve #35 . See merge request !108
-
Martin Nolte authored
If an entity of codimension cc > 0 is passed into IndexSet::subIndex, what is the semantics of the 'codim' parameter? In DUNE, codimensions are always with respect to the grid dimension (see method subEntity of reference element). This patch clearly states that codim is to be understood with respect to the grid dimension.
-
- Oct 21, 2016
-
-
Christian Engwer authored
Avoid calling deprecated methods This silences several compiler warnings from gcc 6.2.0 looking like this: dune/grid/common/grid.hh:730:45: warning: ‘int Dune::OneDGrid::overlapSize(int, int) const’ is deprecated: "overlapSize() is deprecated. Use the method on the LevelGridView instead." [-Wdeprecated-declarations] See merge request !107
-
Linus Seelinger authored
-
Ansgar Burchardt authored
This silences several compiler warnings from gcc 6.2.0 looking like this: dune/grid/common/grid.hh:730:45: warning: ‘int Dune::OneDGrid::overlapSize(int, int) const’ is deprecated: "overlapSize() is deprecated. Use the method on the LevelGridView instead." [-Wdeprecated-declarations]
-
- Oct 20, 2016
-
-
Carsten Gräser authored
Fix subIndex method for UGGrid When using Hygrid::ifElse always keep in mind that some types in the functions given as "if" and "else" branch are fixed, such that compilation may fail altough the template is not instanciated. To avoid this, those functions have one templated parameter which is instanciated with the identity for the selected branch. Passing objects through this branch will delay resolution of their type until instantiation which does only happen for the selected branch. By passing the entity through `id` we use this to make subIndex compile for clang. It seems that gcc is less picky here. See merge request !101
-
- Oct 19, 2016
-
-
Carsten Gräser authored
-
Carsten Gräser authored
There is no return for this case and the throw statement was not triggered due to a type in the corresponding check.
-
Robert K authored
-
Robert K authored
type was missing.
-
- Oct 18, 2016
-
-
Carsten Gräser authored
When using Hygrid::ifElse always keep in mind that some types in the functions given as "if" and "else" branch are fixed, such that compilation may fail altough the template is not instanciated. To avoid this, those functions have one templated parameter which is instanciated with the identity for the selected branch. Passing objects through this branch will delay resolution of their type until instantiation which does only happen for the selected branch. By passing the entity through `id` we use this to make subIndex compile for clang. It seems that gcc is less picky here.
-
Christian Engwer authored
Split YaspGrid tests into more tests and introduce parallel testing The previous YaspGrid test was a single test which took ages to compile and run. This branch remodels the Yasp testing suite to achieve the following: * [x] Split the different parts into separate tests * [x] Introduce a more sophisticated communication test * [ ] Test periodic grids * [x] Do parallel testing through dune_add_test * [x] Test with -Wall -Werror!!! * [x] Have tests with and without deprecations! See merge request !3
-
Oliver Sander authored
Update test environments - No longer test with clang 3.5. - Add clang 3.8 from Debian 8 + backports - Add gcc 5.4 + clang 3.8 from Ubuntu 16.04 LTS. - Use `duneci-standard-test` See merge request !100
-
Oliver Sander authored
Remove the obsolete IdentityGridEntityPointer class See merge request !99
-
Ansgar Burchardt authored
- No longer test with clang 3.5. - Add clang 3.8 from Debian 8 + backports - Add gcc 5.4 + clang 3.8 from Ubuntu 16.04 LTS. - Use `duneci-standard-test`
-
Oliver Sander authored
-
Christian Engwer authored
-
Christian Engwer authored
Feature/deprecate external ug See merge request !94
-
Christian Engwer authored
-
Dominic Kempf authored
This (not-yet merged to master) feature of dune_add_test allows us to halve the execution time of the yasp test suite here.
-
Dominic Kempf authored
There seems to be a bug to fix.
-
Dominic Kempf authored
-
Linus Seelinger authored
(cherry picked from commit f155bf5feae0f1627bc3898b6c9e3ee4e451c7b9)
-
Linus Seelinger authored
(cherry picked from commit 37f0489419b319f96b0b9357c5d724937debff3f)
-
Linus Seelinger authored
(cherry picked from commit 38f21b0b2c5f5953385a4e568ad764ea179a652a)
-
Linus Seelinger authored
(cherry picked from commit 467384420d573f1fb5c6de0daa8fc60c42f58661)
-
Linus Seelinger authored
(cherry picked from commit 6a73ddc3b983919c44e833d914f8d3636aa68ad8)
-
Linus Seelinger authored
(cherry picked from commit af489648c2f285c570e7b31bd9e1a4b2ad2bcff6)
-
Linus Seelinger authored
(cherry picked from commit df0eb79d6374e2bd057cc6e7be17322649901c28)
-
Linus Seelinger authored
[Tests] Split yaspgrid tests into multiple ones in a separate directory, reduced run time for 3d case (cherry picked from commit 1dda7ea599658c56d5750a863c4f3bb581bfe22e) Conflicts: dune/grid/test/CMakeLists.txt
-
Dominic Kempf authored
(cherry picked from commit a1bc18ff)
-
Linus Seelinger authored
* Test by Steffen Müthing with some modifications (cherry picked from commit c579813bcfda4ed38666b957c011634baf98a067)
-
- Oct 14, 2016
-
-
Oliver Sander authored
[test] add static check for higher codimension information on grid views Until now, the static part of the grid check only check on codim 0 structures, e.g., on the index set. This patch also performs these checks on higher codimensions. For the IndexSet::subIndex method, it will only check whether the method compiles. If codim > 0, it will silently ignore a Dune::NotImplemented exception, so that grids are not forced to implement the method; it simply has to compile. Note: This check is able to detect the error fix in !86. This merge request is basically !89 , but with Martin's initial implementation removed. As it only lived to be completely replaced 24h later, I didn't see the point in keeping it in the history. See merge request !96
-
Oliver Sander authored
Implement the subIndex method for entities of all dimensions Previously, it was available only for elements. The following question appears: what does the codim-parameter in template<int cc> unsigned int subIndex (const Codim<cc>::Entity& e, int i, unsigned int codim) const mean? Is it the codimension wrt to the grid, or wrt to the entity e? I did not find this documented anywhere, and therefore made my own choice. The 'codim' in this patch is the codimension with respect to the *grid*. See merge request !95
-
Until now, the static part of the grid check only check on codim 0 structures, e.g., on the index set. This patch also performs these checks on higher codimensions. For the IndexSet::subIndex method, it will only check whether the method compiles. If codim > 0, it will silently ignore a Dune::NotImplemented exception, so that grids are not forced to implement the method; it simply has to compile. Note: This check is able to detect the error fix in !86.
-
- Oct 13, 2016
-
-
Oliver Sander authored
Previously, it was available only for elements. The following question appears: what does the codim-parameter in template<int cc> unsigned int subIndex (const Codim<cc>::Entity& e, int i, unsigned int codim) const mean? Is it the codimension wrt to the grid, or wrt to the entity e? I did not find this documented anywhere, and therefore made my own choice. The 'codim' in this patch is the codimension with respect to the *grid*.
-
Robert K authored
-
Robert K authored
-
Robert K authored
on it's own.
-