Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
agnumpde
dune-tnnmg
Commits
dec8990b
Commit
dec8990b
authored
Sep 05, 2017
by
lh1887
Browse files
Use std::array in tests
parent
4eed66b1
Pipeline
#6948
passed with stage
in 2 minutes and 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dune/tnnmg/test/multitypegstest.cc
View file @
dec8990b
...
@@ -225,7 +225,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
...
@@ -225,7 +225,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
array
<
int
,
dim
>
s
;
typename
std
::
array
<
int
,
dim
>
s
;
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
GridType
grid
(
L
,
s
);
GridType
grid
(
L
,
s
);
...
...
dune/tnnmg/test/nonlineargsperformancetest.cc
View file @
dec8990b
...
@@ -233,7 +233,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
...
@@ -233,7 +233,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
array
<
int
,
dim
>
s
;
typename
std
::
array
<
int
,
dim
>
s
;
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
GridType
grid
(
L
,
s
);
GridType
grid
(
L
,
s
);
...
...
dune/tnnmg/test/nonlineargstest.cc
View file @
dec8990b
...
@@ -309,7 +309,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
...
@@ -309,7 +309,7 @@ bool checkWithYaspGrid(int refine, const std::string fileName="")
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typedef
Dune
::
YaspGrid
<
dim
>
GridType
;
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
FieldVector
<
typename
GridType
::
ctype
,
dim
>
L
(
1.0
);
typename
Dune
::
array
<
int
,
dim
>
s
;
typename
std
::
array
<
int
,
dim
>
s
;
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
std
::
fill
(
s
.
begin
(),
s
.
end
(),
1
);
GridType
grid
(
L
,
s
);
GridType
grid
(
L
,
s
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment