Skip to content

Commit

Permalink
Remove no longer needed type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
schnellerhase committed Sep 15, 2024
1 parent 4437a09 commit 6ac505a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions cpp/test/mesh/generation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ constexpr auto EPS = std::numeric_limits<T>::epsilon();
TEMPLATE_TEST_CASE("Interval mesh", "[mesh][interval]", float, double)
{
using T = TestType;
mesh::Mesh<T> mesh = mesh::create_interval<T>(MPI_COMM_SELF, 4, {T(0), T(1)});
mesh::Mesh<T> mesh = mesh::create_interval<T>(MPI_COMM_SELF, 4, {0, 1});

{
int comp_result;
Expand Down Expand Up @@ -263,10 +263,8 @@ TEMPLATE_TEST_CASE("Rectangle quadrilateral mesh",
{
using T = TestType;

const std::array<T, 2> lower = {0, 0};
const std::array<T, 2> upper = {1, 1};
mesh::Mesh<T> mesh = dolfinx::mesh::create_rectangle<T>(
MPI_COMM_SELF, {lower, upper}, {1, 1}, mesh::CellType::quadrilateral);
MPI_COMM_SELF, {{{0, 0}, {1, 1}}}, {1, 1}, mesh::CellType::quadrilateral);

// vertex layout:
// 1---3
Expand Down Expand Up @@ -305,10 +303,8 @@ TEMPLATE_TEST_CASE("Rectangle triangle mesh (right)",
{
using T = TestType;

const std::array<T, 2> lower = {0, 0};
const std::array<T, 2> upper = {1, 1};
mesh::Mesh<T> mesh = dolfinx::mesh::create_rectangle<T>(
MPI_COMM_SELF, {lower, upper}, {1, 1}, mesh::CellType::triangle,
MPI_COMM_SELF, {{{0, 0}, {1, 1}}}, {1, 1}, mesh::CellType::triangle,
mesh::DiagonalType::right);

// vertex layout:
Expand Down Expand Up @@ -392,10 +388,8 @@ TEMPLATE_TEST_CASE("Rectangle triangle mesh (crossed)",
{
using T = TestType;

const std::array<T, 2> lower = {0, 0};
const std::array<T, 2> upper = {1, 1};
mesh::Mesh<T> mesh = dolfinx::mesh::create_rectangle<T>(
MPI_COMM_SELF, {lower, upper}, {1, 1}, mesh::CellType::triangle,
MPI_COMM_SELF, {{{0, 0}, {1, 1}}}, {1, 1}, mesh::CellType::triangle,
mesh::DiagonalType::crossed);

// vertex layout:
Expand Down

0 comments on commit 6ac505a

Please sign in to comment.