Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
e3b70904
Commit
e3b70904
authored
Feb 07, 2012
by
Uwe Schulzweida
Browse files
grid.c: rename CELL to UNSTRUCTURED
parent
d62530e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
e3b70904
...
...
@@ -1216,7 +1216,7 @@ void gridDefXsize(int gridID, int xsize)
Error
(
"xsize %d is greater then gridsize %d"
,
xsize
,
gridInqSize
(
gridID
));
if
(
gridInqType
(
gridID
)
==
GRID_UNSTRUCTURED
&&
xsize
!=
gridInqSize
(
gridID
)
)
Error
(
"xsize %d must be equal gridsize %d for gridtype
CELL
"
,
xsize
,
gridInqSize
(
gridID
));
Error
(
"xsize %d must be equal gridsize %d for gridtype
: UNSTRUCTURED
"
,
xsize
,
gridInqSize
(
gridID
));
gridptr
->
xsize
=
xsize
;
...
...
@@ -1327,7 +1327,7 @@ void gridDefYsize(int gridID, int ysize)
Error
(
"ysize %d is greater then gridsize %d"
,
ysize
,
gridInqSize
(
gridID
));
if
(
gridInqType
(
gridID
)
==
GRID_UNSTRUCTURED
&&
ysize
!=
gridInqSize
(
gridID
)
)
Error
(
"ysize %d must be equal gridsize %d for gridtype
CELL
"
,
ysize
,
gridInqSize
(
gridID
));
Error
(
"ysize %d must be equal gridsize %d for gridtype
: UNSTRUCTURED
"
,
ysize
,
gridInqSize
(
gridID
));
gridptr
->
ysize
=
ysize
;
...
...
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