Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CrayzeeWulf
Xdmf
Commits
cd830047
Commit
cd830047
authored
May 17, 2011
by
Kenneth Leiter
Browse files
ENH: Minor include changes to keep consistent style.
parent
e058cc5b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Xdmf.i
View file @
cd830047
...
...
@@ -24,6 +24,7 @@ swig -v -c++ -python -o XdmfPython.cpp Xdmf.i
#
include
<
XdmfInformation
.
hpp
>
#
include
<
XdmfItem
.
hpp
>
#
include
<
XdmfItemProperty
.
hpp
>
#
include
<
XdmfSharedPtr
.
hpp
>
#
include
<
XdmfSystemUtils
.
hpp
>
#
include
<
XdmfVisitor
.
hpp
>
#
include
<
XdmfWriter
.
hpp
>
...
...
core/XdmfCore.i
View file @
cd830047
...
...
@@ -22,6 +22,7 @@ swig -v -c++ -python -o XdmfCorePython.cpp XdmfCore.i
#
include
<
XdmfInformation
.
hpp
>
#
include
<
XdmfItem
.
hpp
>
#
include
<
XdmfItemProperty
.
hpp
>
#
include
<
XdmfSharedPtr
.
hpp
>
#
include
<
XdmfSystemUtils
.
hpp
>
#
include
<
XdmfVersion
.
hpp
>
#
include
<
XdmfVisitor
.
hpp
>
...
...
tests/Cxx/TestXdmfVisitorValueCounter.cpp
View file @
cd830047
...
...
@@ -31,7 +31,8 @@ public:
}
void
visit
(
XdmfArray
&
array
,
shared_ptr
<
Loki
::
BaseVisitor
>
)
visit
(
XdmfArray
&
array
,
const
shared_ptr
<
XdmfBaseVisitor
>
)
{
mCount
+=
array
.
getSize
();
}
...
...
utils/XdmfExodusReader.cpp
View file @
cd830047
...
...
@@ -491,7 +491,7 @@ XdmfExodusReader::read(const std::string & fileName,
// Subtract all node ids by 1 since exodus indices start at 1
for
(
int
j
=
0
;
j
<
num_nodes_in_set
;
++
j
)
{
setPointer
[
i
]
--
;
setPointer
[
j
]
--
;
}
toReturn
->
insert
(
set
);
...
...
utils/XdmfExodusReader.hpp
View file @
cd830047
...
...
@@ -29,8 +29,8 @@ class XdmfHeavyDataWriter;
class
XdmfUnstructuredGrid
;
// Includes
#include
<boost/shared_ptr.hpp>
#include
<string>
#include
"XdmfSharedPtr.hpp"
/**
* @brief Reads an ExodusII file from disk into an Xdmf structure in
...
...
utils/XdmfExodusWriter.hpp
View file @
cd830047
...
...
@@ -28,8 +28,8 @@
class
XdmfUnstructuredGrid
;
// Includes
#include
<boost/shared_ptr.hpp>
#include
<string>
#include
"XdmfSharedPtr.hpp"
/**
* @brief Writes an Xdmf structure in memory to an ExodusII file on
...
...
utils/XdmfPartitioner.cpp
View file @
cd830047
...
...
@@ -621,4 +621,4 @@ int main(int argc, char* argv[])
std
::
cout
<<
"Wrote: "
<<
xmlFileName
.
str
()
<<
std
::
endl
;
}
#endif //BUILD_EXE
#endif //
BUILD_EXE
utils/XdmfPartitioner.hpp
View file @
cd830047
...
...
@@ -31,8 +31,8 @@ class XdmfSet;
class
XdmfUnstructuredGrid
;
// Includes
#include
<boost/shared_ptr.hpp>
#include
<set>
#include
"XdmfSharedPtr.hpp"
/**
* @brief XdmfPartitioner partitions an XdmfGrid using the metis
...
...
utils/XdmfTopologyConverter.hpp
View file @
cd830047
...
...
@@ -30,7 +30,7 @@ class XdmfTopologyType;
class
XdmfUnstructuredGrid
;
// Includes
#include
<boost/s
hared
_p
tr.hpp
>
#include
"XdmfS
hared
P
tr.hpp
"
/**
* @brief Converts an unstructured grid to different topology types.
...
...
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