Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Backofen, Rainer
amdis
Commits
a7553081
Commit
a7553081
authored
Aug 07, 2012
by
Thomas Witkowski
Browse files
Fixed small issue with arh reader.
parent
b5ad74aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/io/ArhReader.cc
View file @
a7553081
...
...
@@ -107,6 +107,8 @@ namespace AMDiS {
ifstream
file
;
file
.
open
(
filename
.
c_str
(),
ios
::
in
|
ios
::
binary
);
TEST_EXIT
(
file
.
is_open
())
(
"Cannot open file %s
\n
"
,
filename
.
c_str
());
string
typeId
=
""
;
uint32_t
nMacroElements
=
0
;
...
...
@@ -119,8 +121,8 @@ namespace AMDiS {
file
.
read
(
reinterpret_cast
<
char
*>
(
&
nAllValues
),
4
);
TEST_EXIT
(
nValueVectors
==
vecs
.
size
())
(
"File has %d vectors, but %d DOFVectors are provided!
\n
"
,
nValueVectors
,
vecs
.
size
());
(
"File
%s
has %d vectors, but %d DOFVectors are provided!
\n
"
,
filename
.
c_str
(),
nValueVectors
,
vecs
.
size
());
for
(
unsigned
int
i
=
0
;
i
<
nMacroElements
;
i
++
)
{
uint32_t
elIndex
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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