Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
df344803
Commit
df344803
authored
Oct 19, 2015
by
incardon
Browse files
Fixing minor problems
parent
935c25aa
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/CSVWriter.hpp
View file @
df344803
...
...
@@ -15,7 +15,6 @@
#include "util/common.hpp"
#include <boost/mpl/range_c.hpp>
#include <boost/mpl/for_each.hpp>
#include "Point_test.hpp"
#include "csv_multiarray.hpp"
#include "util.hpp"
...
...
src/GraphMLWriter.hpp
View file @
df344803
...
...
@@ -595,8 +595,8 @@ class GraphMLWriter
// create a new node
en
.
new_node
(
nc
,
it
.
source
(),
it
.
target
());
// Iterate through all the
vertex
and create the
vertex
list
boost
::
mpl
::
for_each
<
boost
::
mpl
::
range_c
<
int
,
0
,
Graph
::
V
_type
::
max_prop
>
>
(
en
);
// Iterate through all the
edges
and create the
edge
list
boost
::
mpl
::
for_each
<
boost
::
mpl
::
range_c
<
int
,
0
,
Graph
::
E
_type
::
max_prop
>
>
(
en
);
// end new node
en
.
end_node
();
...
...
src/VTKWriter_graph.hpp
View file @
df344803
...
...
@@ -665,7 +665,7 @@ public:
// Check if the file is open
if
(
ofs
.
is_open
()
==
false
)
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
;}
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
+
"
\n
"
;}
ofs
<<
vtk_header
<<
point_prop_header
<<
point_list
<<
vertex_prop_header
<<
vertex_list
<<
edge_prop_header
<<
edge_list
<<
point_data_header
<<
point_data
;
...
...
src/VTKWriter_grids.hpp
View file @
df344803
...
...
@@ -357,7 +357,7 @@ public:
// Check if the file is open
if
(
ofs
.
is_open
()
==
false
)
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
;}
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
+
"
\n
"
;}
ofs
<<
vtk_header
<<
point_prop_header
<<
point_list
<<
vertex_prop_header
<<
vertex_list
<<
point_data_header
<<
point_data
;
...
...
src/VTKWriter_grids_st.hpp
View file @
df344803
...
...
@@ -558,7 +558,7 @@ public:
// Check if the file is open
if
(
ofs
.
is_open
()
==
false
)
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
;}
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
+
"
\n
"
;}
ofs
<<
vtk_header
<<
point_prop_header
<<
point_list
<<
vertex_prop_header
<<
vertex_list
<<
point_data_header
<<
point_data
;
...
...
src/VTKWriter_vector_box.hpp
View file @
df344803
...
...
@@ -439,7 +439,7 @@ public:
// Check if the file is open
if
(
ofs
.
is_open
()
==
false
)
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
;}
{
std
::
cerr
<<
"Error cannot create the VTK file: "
+
file
+
"
\n
"
;}
ofs
<<
vtk_header
<<
point_prop_header
<<
point_list
<<
cell_prop_header
<<
cell_list
<<
cell_types_header
<<
cell_types_list
<<
cell_data_header
<<
cell_data_list
;
...
...
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