Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ben Boeckel
Xdmf
Commits
763ed500
Commit
763ed500
authored
May 06, 2008
by
Jerry Clarke
Browse files
CollectionType not set in UpdateInformation()
parent
690ad9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
libsrc/XdmfGrid.cxx
View file @
763ed500
...
...
@@ -317,6 +317,14 @@ attribute = this->Get("GridType");
if
(
!
attribute
)
attribute
=
this
->
Get
(
"Type"
);
if
(
XDMF_WORD_CMP
(
attribute
,
"Collection"
)
){
this
->
GridType
=
XDMF_GRID_COLLECTION
;
attribute
=
this
->
Get
(
"CollectionType"
);
if
(
attribute
){
if
(
XDMF_WORD_CMP
(
attribute
,
"Temporal"
)
){
this
->
SetCollectionType
(
XDMF_GRID_COLLECTION_TEMPORAL
);
}
else
if
(
XDMF_WORD_CMP
(
attribute
,
"Spatial"
)
){
this
->
SetCollectionType
(
XDMF_GRID_COLLECTION_SPATIAL
);
}
}
}
else
if
(
XDMF_WORD_CMP
(
attribute
,
"Subset"
)
){
this
->
GridType
=
XDMF_GRID_SUBSET
;
}
else
if
(
XDMF_WORD_CMP
(
attribute
,
"Tree"
)
){
...
...
Write
Preview
Supports
Markdown
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