Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
ae020f59
Commit
ae020f59
authored
Mar 05, 2021
by
ESTERIE Pierre
Browse files
Update particle unit
parent
e0a0fd80
Changes
1
Show whitespace changes
Inline
Side-by-side
experimental/units/container/particle.cpp
View file @
ae020f59
...
...
@@ -214,6 +214,31 @@ TEST_CASE("reset-outputs", "[reset-outputs]")
std
::
cout
<<
'\n'
;
++
it
;
}
it
=
std
::
begin
(
c
);
for
(
std
::
size_t
i
{
0
};
i
<
c
.
size
();
++
i
)
{
auto
proxy
=
proxy_type
(
*
it
);
for
(
std
::
size_t
ii
{
0
};
ii
<
proxy
.
sizeof_outputs
();
++
ii
)
{
proxy
.
outputs
(
ii
)
=
0.
;
}
++
it
;
}
it
=
std
::
begin
(
c
);
for
(
std
::
size_t
i
{
0
};
i
<
c
.
size
();
++
i
)
{
meta
::
repeat
(
[
i
](
auto
const
&
e
)
{
using
type
=
std
::
decay_t
<
decltype
(
e
)
>
;
std
::
cout
<<
e
<<
' '
;
REQUIRE
(
e
==
0.
);
},
meta
::
sub_tuple
(
*
it
,
typename
proxy_type
::
range_outputs_type
{}));
std
::
cout
<<
'\n'
;
++
it
;
}
}
}
...
...
Write
Preview
Markdown
is supported
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