Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_io
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_io
Commits
e5cdbbf7
Commit
e5cdbbf7
authored
Mar 02, 2016
by
Pietro Incardona
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Dist Graph writer
parent
ffdf8f16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
+1
-1
src/VTKWriter/VTKWriter_graph.hpp
src/VTKWriter/VTKWriter_graph.hpp
+1
-1
No files found.
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
View file @
e5cdbbf7
...
...
@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE( graphml_writer_use)
// Boundary conditions, non periodic
size_t
bc
[]
=
{
NON_PERIODIC
,
NON_PERIODIC
,
NON_PERIODIC
};
Graph_CSR
<
ne_cp
,
ne_cp
>
g_csr
=
g_factory
.
construct
<
5
,
float
,
2
,
ne_cp
::
x
,
ne_cp
::
y
,
ne_cp
::
z
>
(
sz
,
box
,
bc
);
Graph_CSR
<
ne_cp
,
ne_cp
>
g_csr
=
g_factory
.
construct
<
5
,
NO_VERTEX_ID
,
float
,
2
,
ne_cp
::
x
,
ne_cp
::
y
,
ne_cp
::
z
>
(
sz
,
box
,
bc
);
// Create a graph ML
GraphMLWriter
<
Graph_CSR
<
ne_cp
,
ne_cp
>>
gw
(
g_csr
);
...
...
src/VTKWriter/VTKWriter_graph.hpp
View file @
e5cdbbf7
...
...
@@ -970,7 +970,7 @@ class VTKWriter<Graph, VTK_GRAPH>
vtk_vertex_node
<
Graph
,
attr
>
vn
(
v_out
,
obj
,
x
);
// 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
-
1
>
>
(
vn
);
boost
::
mpl
::
for_each
<
boost
::
mpl
::
range_c
<
int
,
0
,
Graph
::
V_type
::
max_prop
>
>
(
vn
);
// write the node string
vn
.
write
();
...
...
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