Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_data
Commits
e5cdbbf7
Commit
e5cdbbf7
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Adding Dist Graph writer
parent
ffdf8f16
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
+1
-1
1 addition, 1 deletion
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
src/VTKWriter/VTKWriter_graph.hpp
+1
-1
1 addition, 1 deletion
src/VTKWriter/VTKWriter_graph.hpp
with
2 additions
and
2 deletions
src/GraphMLWriter/GraphMLWriter_unit_tests.hpp
+
1
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
src/VTKWriter/VTKWriter_graph.hpp
+
1
−
1
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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment