Skip to content
Snippets Groups Projects
Commit c4d5bed3 authored by Tobias Leibner's avatar Tobias Leibner Committed by René Fritze
Browse files

[test.grid_provider] use dune-testtools

parent bd9182f9
No related branches found
No related tags found
No related merge requests found
......@@ -12,36 +12,6 @@
#include <dune/stuff/common/type_utils.hh>
#include <dune/stuff/grid/provider/interface.hh>
#define SGRIDS /* clang-format off */ \
Dune::SGrid<1, 1> \
, Dune::SGrid<2, 2> \
, Dune::SGrid<3, 3> \
, Dune::SGrid<4, 4> \
/*, Dune::SGrid<1, 2> <- grid provider do not work for these combinations, bc. of the visualization with */ \
/*, Dune::SGrid<2, 3> boundary info, bc. of function based boundary info bc. of global function interface */ \
/*, Dune::SGrid<3, 4> */ \
/*, Dune::SGrid<4, 5> */ /*clang-format on */
#define YASPGRIDS /* clang-format off */ \
Dune::YaspGrid<1, Dune::EquidistantOffsetCoordinates<double, 1>> \
, Dune::YaspGrid<2, Dune::EquidistantOffsetCoordinates<double, 2>> \
, Dune::YaspGrid<3, Dune::EquidistantOffsetCoordinates<double, 3>> \
, Dune::YaspGrid<4, Dune::EquidistantOffsetCoordinates<double, 4>> /* clang-format on */
#if HAVE_ALUGRID
#define ALUGRIDS /* clang-format off */ \
Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming> \
, Dune::ALUGrid<3, 3, Dune::cube, Dune::nonconforming> \
, Dune::ALUGrid<2, 2, Dune::simplex, Dune::nonconforming> \
, Dune::ALUGrid<3, 3, Dune::simplex, Dune::nonconforming> \
, Dune::ALUGrid<2, 2, Dune::simplex, Dune::conforming> \
, Dune::ALUGrid<3, 3, Dune::simplex, Dune::conforming> \
/*, Dune::ALUGrid<2, 3, Dune::cube, Dune::nonconforming> same reasons as above */ \
/*, Dune::ALUGrid<2, 3, Dune::simplex, Dune::nonconforming> */ \
/*, Dune::ALUGrid<2, 3, Dune::simplex, Dune::conforming> */ /* clang-format on */
#endif // HAVE_ALUGRID
#include "gtest/gtest.h"
template <class GridProviderType>
......
......@@ -6,13 +6,13 @@ geometry_is_simplex = false, true | expand 2
refinement = Dune::nonconforming, Dune::conforming | expand 3
refinement_short = nonconforming, conforming | expand 3
grid_yasp = YaspGrid<{dimDomain},Dune::EquidistantOffsetCoordinates<double,{dimDomain}>>
grid_alu = ALUGrid<{dimDomain},{dimDomain},{geometry},{refinement}>
grid_yasp = Dune::YaspGrid<{dimDomain},Dune::EquidistantOffsetCoordinates<double,{dimDomain}>>
grid_alu = Dune::ALUGrid<{dimDomain},{dimDomain},{geometry},{refinement}>
grid = {grid_yasp}, {grid_alu} | expand grid
'{grid}' == 'ALUGrid<1,1,{geometry},{refinement}>' | exclude
'{grid}' == 'ALUGrid<{dimDomain},{dimDomain},Dune::cube,Dune::conforming>' | exclude
'{grid}' == 'Dune::ALUGrid<1,1,{geometry},{refinement}>' | exclude
'{grid}' == 'Dune::ALUGrid<{dimDomain},{dimDomain},Dune::cube,Dune::conforming>' | exclude
entity_type = Dune::{grid}::Codim<0>::Entity
entity_type = {grid}::Codim<0>::Entity
1, ALUGRID_FOUND | expand grid | cmake_guard
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment