Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CrayzeeWulf
Xdmf
Commits
848412fc
Commit
848412fc
authored
Sep 29, 2011
by
Kenneth Leiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
COMP: Remove some warnings.
parent
e579eeee
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
core/XdmfArray.cpp
core/XdmfArray.cpp
+0
-1
core/XdmfHDF5Writer.cpp
core/XdmfHDF5Writer.cpp
+1
-1
core/XdmfWriter.cpp
core/XdmfWriter.cpp
+1
-1
utils/XdmfTopologyConverter.cpp
utils/XdmfTopologyConverter.cpp
+2
-1
No files found.
core/XdmfArray.cpp
View file @
848412fc
...
...
@@ -666,7 +666,6 @@ XdmfArray::populateItem(const std::map<std::string, std::string> & itemPropertie
{
XdmfItem
::
populateItem
(
itemProperties
,
childItems
,
reader
);
std
::
string
contentVal
;
unsigned
int
sizeVal
=
1
;
const
shared_ptr
<
const
XdmfArrayType
>
arrayType
=
XdmfArrayType
::
New
(
itemProperties
);
...
...
core/XdmfHDF5Writer.cpp
View file @
848412fc
...
...
@@ -216,7 +216,7 @@ XdmfHDF5Writer::write(XdmfArray & array,
// Overwriting - dataset rank must remain the same (hdf5 constraint)
hid_t
dataspace
=
H5Dget_space
(
dataset
);
const
int
ndims
=
H5Sget_simple_extent_ndims
(
dataspace
);
const
unsigned
int
ndims
=
H5Sget_simple_extent_ndims
(
dataspace
);
if
(
ndims
!=
current_dims
.
size
())
XdmfError
::
message
(
XdmfError
::
FATAL
,
\
"Data set rank different -- ndims != "
...
...
core/XdmfWriter.cpp
View file @
848412fc
...
...
@@ -48,8 +48,8 @@ public:
mHeavyDataWriter
(
heavyDataWriter
),
mLastXPathed
(
false
),
mLightDataLimit
(
100
),
mStream
(
stream
),
mMode
(
Default
),
mStream
(
stream
),
mWriteXPaths
(
true
),
mXMLCurrentNode
(
NULL
),
mXMLDocument
(
NULL
),
...
...
utils/XdmfTopologyConverter.cpp
View file @
848412fc
...
...
@@ -487,7 +487,7 @@ namespace {
toReturnSet
->
initialize
(
set
->
getArrayType
(),
set
->
getSize
());
for
(
int
i
=
0
;
i
<
set
->
getSize
();
++
i
)
{
for
(
unsigned
int
i
=
0
;
i
<
set
->
getSize
();
++
i
)
{
const
unsigned
int
nodeId
=
set
->
getValue
<
unsigned
int
>
(
i
);
std
::
map
<
unsigned
int
,
unsigned
int
>::
const_iterator
iter
=
oldIdToNewId
.
find
(
nodeId
);
...
...
@@ -928,4 +928,5 @@ XdmfTopologyConverter::convert(const shared_ptr<XdmfUnstructuredGrid> gridToConv
"Cannot convert topology type in "
"XdmfTopologyConverter::convert"
);
}
}
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