Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
901d3b6c
Commit
901d3b6c
authored
Nov 30, 2020
by
Steffen Schotthöfer
Browse files
changed connMat to unsigned
Former-commit-id:
79c6d288
parent
4d41674f
Changes
2
Hide whitespace changes
Inline
Side-by-side
code/input/exampleMN.cfg
View file @
901d3b6c
...
...
@@ -14,8 +14,8 @@ OUTPUT_FILE = exampleMN
% Log directory
LOG_DIR = ../result/logs
% Mesh File
%
MESH_FILE = linesource.su2
MESH_FILE = linesource_debug.su2
MESH_FILE = linesource.su2
%
MESH_FILE = linesource_debug.su2
%
% ---- Problem description ---
%
...
...
code/src/common/mesh.cpp
View file @
901d3b6c
...
...
@@ -51,7 +51,7 @@ void Mesh::ComputeConnectivity() {
std
::
sort
(
sortedBoundaries
[
i
].
begin
(),
sortedBoundaries
[
i
].
end
()
);
}
blaze
::
CompressedMatrix
<
bool
>
connMat
(
_numCells
,
_numNodes
);
blaze
::
CompressedMatrix
<
unsigned
>
connMat
(
_numCells
,
_numNodes
);
for
(
unsigned
i
=
mpiCellStart
;
i
<
mpiCellEnd
;
++
i
)
{
for
(
auto
j
:
_cells
[
i
]
)
connMat
.
set
(
i
,
j
,
true
);
}
...
...
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