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
5988cddb
Commit
5988cddb
authored
Nov 08, 2012
by
Praetorius, Simon
Browse files
PngReader changed to 'new' localIndices dataStructure
parent
1c8b8100
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/io/PngReader.cc
View file @
5988cddb
...
...
@@ -69,7 +69,7 @@ namespace AMDiS {
const
BasisFunction
*
basFcts
=
vec
->
getFeSpace
()
->
getBasisFcts
();
int
numBasFcts
=
basFcts
->
getNumber
();
DegreeOfFreedom
*
localIndices
=
new
DegreeOfFreedom
[
numBasFcts
]
;
std
::
vector
<
DegreeOfFreedom
>
localIndices
(
numBasFcts
)
;
double
xMin
=
0.0
,
xMax
=
1.0
,
yMin
=
0.0
,
yMax
=
1.0
;
getMeshDimension
(
vec
->
getFeSpace
()
->
getMesh
(),
xMin
,
xMax
,
yMin
,
yMax
);
...
...
@@ -105,8 +105,6 @@ namespace AMDiS {
elInfo
=
stack
.
traverseNext
(
elInfo
);
}
delete
[]
localIndices
;
png_destroy_read_struct
(
&
png_ptr
,
&
info_ptr
,
NULL
);
fclose
(
fp
);
};
...
...
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