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
f3e34aca
Commit
f3e34aca
authored
Feb 21, 2008
by
Jerry Clarke
Browse files
fix Dsm without MPI
parent
ab7bff7c
Changes
3
Hide whitespace changes
Inline
Side-by-side
libsrc/XdmfDataDesc.cxx
View file @
f3e34aca
...
...
@@ -32,7 +32,9 @@ XdmfDataDesc::XdmfDataDesc() {
this
->
NextOffset
=
0
;
this
->
Rank
=
1
;
this
->
ShapeString
=
0
;
#ifndef XDMF_NO_MPI
this
->
DsmBuffer
=
NULL
;
#endif
}
XdmfDataDesc
::~
XdmfDataDesc
()
{
...
...
libsrc/XdmfElement.cxx
View file @
f3e34aca
...
...
@@ -61,7 +61,9 @@ XdmfElement::XdmfElement() {
this
->
ReferenceElement
=
NULL
;
this
->
State
=
XDMF_ELEMENT_STATE_UNINITIALIZED
;
this
->
CopyReferenceData
=
1
;
#ifndef XDMF_NO_MPI
this
->
DsmBuffer
=
NULL
;
#endif
}
XdmfElement
::~
XdmfElement
()
{
...
...
libsrc/XdmfTopology.cxx
View file @
f3e34aca
...
...
@@ -585,7 +585,9 @@ if( this->GetClass() == XDMF_UNSTRUCTURED ){
// cout << "Connection DataItem = " << &Connections << endl;
XdmfDebug
(
"Reading Connections from DataItem"
);
if
(
Connections
.
SetDOM
(
this
->
DOM
)
==
XDMF_FAIL
)
return
(
XDMF_FAIL
);
#ifndef XDMF_NO_MPI
Connections
.
SetDsmBuffer
(
this
->
DsmBuffer
);
#endif
if
(
this
->
ConnectivityIsMine
&&
this
->
Connectivity
)
delete
this
->
Connectivity
;
if
(
Connections
.
SetElement
(
ConnectionElement
,
0
)
==
XDMF_FAIL
)
return
(
XDMF_FAIL
);
if
(
Connections
.
UpdateInformation
()
==
XDMF_FAIL
)
return
(
XDMF_FAIL
);
...
...
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