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
hyteg
hyteg
Commits
f5e758b9
Commit
f5e758b9
authored
Jan 10, 2022
by
Marcel Koch
Browse files
remove unused gatherIndices instantiation
parent
faa4cc95
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/ginkgo/GinkgoBlockSolver.hpp
View file @
f5e758b9
...
...
@@ -20,34 +20,6 @@
#include "hyteg/solvers/Solver.hpp"
namespace
hyteg
{
void
gatherIndices
(
std
::
vector
<
int32_t
>&
velocityIndices
,
std
::
vector
<
int32_t
>&
pressureIndices
,
const
PrimitiveStorage
&
storage
,
uint_t
level
,
const
P1StokesFunction
<
int32_t
>&
numerator
)
{
for
(
auto
dof
:
FunctionIterator
<
vertexdof
::
VertexDoFFunction
<
int32_t
>
>
(
numerator
.
uvw
[
0
],
level
)
)
{
velocityIndices
.
push_back
(
dof
.
value
()
);
}
for
(
auto
dof
:
FunctionIterator
<
vertexdof
::
VertexDoFFunction
<
int32_t
>
>
(
numerator
.
uvw
[
1
],
level
)
)
{
velocityIndices
.
push_back
(
dof
.
value
()
);
}
if
(
storage
.
hasGlobalCells
()
)
{
for
(
auto
dof
:
FunctionIterator
<
vertexdof
::
VertexDoFFunction
<
int32_t
>
>
(
numerator
.
uvw
[
2
],
level
)
)
{
velocityIndices
.
push_back
(
dof
.
value
()
);
}
}
for
(
auto
dof
:
FunctionIterator
<
vertexdof
::
VertexDoFFunction
<
int32_t
>
>
(
numerator
.
p
,
level
)
)
{
pressureIndices
.
push_back
(
dof
.
value
()
);
}
}
void
gatherIndices
(
std
::
vector
<
int32_t
>&
velocityIndices
,
std
::
vector
<
int32_t
>&
pressureIndices
,
...
...
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