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
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_io
Commits
cf184ff5
Commit
cf184ff5
authored
May 25, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding print ghost option
parent
b1d0d9e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/VTKWriter/VTKWriter.hpp
src/VTKWriter/VTKWriter.hpp
+1
-0
src/VTKWriter/VTKWriter_graph.hpp
src/VTKWriter/VTKWriter_graph.hpp
+3
-4
No files found.
src/VTKWriter/VTKWriter.hpp
View file @
cf184ff5
...
...
@@ -103,6 +103,7 @@ enum file_type
#define VTK_WRITER 0x10000
#define FORMAT_ASCII 0x0
#define FORMAT_BINARY 0x10000000
#define PRINT_GHOST 1
template
<
typename
Object
,
unsigned
int
imp
>
class
VTKWriter
...
...
src/VTKWriter/VTKWriter_graph.hpp
View file @
cf184ff5
...
...
@@ -65,14 +65,13 @@ struct vtk_vertex_node_array_scalar_selector<true>
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
;
{
return
;}
if
(
std
::
extent
<
ele_v
>::
value
==
3
)
z_set
=
true
;
{
z_set
=
true
;}
for
(
size_t
i
=
0
;
i
<
std
::
extent
<
ele_v
>::
value
;
i
++
)
x
[
i
]
=
convert
<
typename
boost
::
remove_reference
<
decltype
(
vo
.
template
get
<
T
::
value
>()[
i
])
>::
type
>::
template
to
<
s_type
>(
vo
.
template
get
<
T
::
value
>()[
i
]);
{
x
[
i
]
=
convert
<
typename
boost
::
remove_reference
<
decltype
(
vo
.
template
get
<
T
::
value
>()[
i
])
>::
type
>::
template
to
<
s_type
>(
vo
.
template
get
<
T
::
value
>()[
i
]);}
}
};
...
...
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