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
042cc275
Commit
042cc275
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Small Fix in the VTKWriter
parent
51f98fac
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/Makefile.am
+1
-1
1 addition, 1 deletion
src/Makefile.am
src/VTKWriter/VTKWriter_dist_graph.hpp
+2
-3
2 additions, 3 deletions
src/VTKWriter/VTKWriter_dist_graph.hpp
src/VTKWriter/VTKWriter_graph.hpp
+3
-0
3 additions, 0 deletions
src/VTKWriter/VTKWriter_graph.hpp
with
6 additions
and
4 deletions
src/Makefile.am
+
1
−
1
View file @
042cc275
...
@@ -9,7 +9,7 @@ io_LDADD = $(LINKLIBS)
...
@@ -9,7 +9,7 @@ io_LDADD = $(LINKLIBS)
nobase_include_HEADERS
=
CSVWriter/csv_multiarray.hpp CSVWriter/CSVWriter.hpp
\
nobase_include_HEADERS
=
CSVWriter/csv_multiarray.hpp CSVWriter/CSVWriter.hpp
\
GraphMLWriter/GraphMLWriter.hpp util.hpp
\
GraphMLWriter/GraphMLWriter.hpp util.hpp
\
VTKWriter/VTKWriter.hpp VTKWriter/VTKWriter_graph.hpp VTKWriter/VTKWriter_point_set.hpp VTKWriter/VTKWriter_grids.hpp VTKWriter/VTKWriter_grids_st.hpp VTKWriter/VTKWriter_grids_util.hpp VTKWriter/VTKWriter_vector_box.hpp HDF5_XdmfWriter/HDF5_XdmfWriter.hpp HDF5_XdmfWriter/HDF5_XdmfWriter_point_set.hpp HDF5_XdmfWriter/HDF5_XdmfWriter_util.hpp
\
VTKWriter/VTKWriter.hpp
VTKWriter/VTKWriter_dist_graph.hpp
VTKWriter/VTKWriter_graph.hpp VTKWriter/VTKWriter_point_set.hpp VTKWriter/VTKWriter_grids.hpp VTKWriter/VTKWriter_grids_st.hpp VTKWriter/VTKWriter_grids_util.hpp VTKWriter/VTKWriter_vector_box.hpp HDF5_XdmfWriter/HDF5_XdmfWriter.hpp HDF5_XdmfWriter/HDF5_XdmfWriter_point_set.hpp HDF5_XdmfWriter/HDF5_XdmfWriter_util.hpp
\
Plot/GoogleChart.hpp Plot/util.hpp
Plot/GoogleChart.hpp Plot/util.hpp
...
...
This diff is collapsed.
Click to expand it.
src/VTKWriter/VTKWriter_dist_graph.hpp
+
2
−
3
View file @
042cc275
...
@@ -111,11 +111,10 @@ struct vtk_dist_vertex_node
...
@@ -111,11 +111,10 @@ struct vtk_dist_vertex_node
* \param n_obj object container to access its properties for example encapc<...>
* \param n_obj object container to access its properties for example encapc<...>
*
*
*/
*/
vtk_dist_vertex_node
(
std
::
string
&
v_node
,
typename
G
::
V_container
&
n_obj
,
s_type
(
&
x
)[
3
])
:
vtk_dist_vertex_node
(
std
::
string
&
v_node
,
typename
G
::
V_container
&
n_obj
,
s_type
(
&
x
)[
3
])
x
(
x
),
vo
(
n_obj
),
v_node
(
v_node
)
,
z_set
(
false
)
:
z_set
(
false
),
x
(
x
),
vo
(
n_obj
),
v_node
(
v_node
)
{
{
}
}
;
//! \brief Write collected information
//! \brief Write collected information
void
write
()
void
write
()
...
...
This diff is collapsed.
Click to expand it.
src/VTKWriter/VTKWriter_graph.hpp
+
3
−
0
View file @
042cc275
...
@@ -64,6 +64,9 @@ struct vtk_vertex_node_array_scalar_selector<true>
...
@@ -64,6 +64,9 @@ struct vtk_vertex_node_array_scalar_selector<true>
template
<
typename
T
,
typename
ele_v
,
typename
G
,
typename
s_type
>
template
<
typename
T
,
typename
ele_v
,
typename
G
,
typename
s_type
>
static
inline
void
move
(
typename
G
::
V_container
&
vo
,
s_type
(
&
x
)[
3
],
bool
&
z_set
)
static
inline
void
move
(
typename
G
::
V_container
&
vo
,
s_type
(
&
x
)[
3
],
bool
&
z_set
)
{
{
if
(
G
::
V_type
::
attributes
::
name
[
T
::
value
]
!=
"x"
)
return
;
if
(
std
::
extent
<
ele_v
>::
value
==
3
)
if
(
std
::
extent
<
ele_v
>::
value
==
3
)
z_set
=
true
;
z_set
=
true
;
...
...
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