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
d07c3c78
Commit
d07c3c78
authored
Apr 14, 2016
by
Pietro Incardona
Browse files
Changing vcluster initialization
parent
b5dbab02
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/CSVWriter/CSVWriter.hpp
View file @
d07c3c78
...
...
@@ -250,7 +250,7 @@ public:
// Check if the file is open
if
(
ofs
.
is_open
()
==
false
)
{
std
::
cerr
<<
"Error cannot create the CSV file: "
+
file
;}
{
std
::
cerr
<<
"Error
"
<<
__FILE__
<<
":"
<<
__LINE__
<<
"
cannot create the CSV file: "
<<
file
<<
std
::
endl
;}
ofs
<<
csv_header
<<
point_data
;
...
...
src/HDF5_XdmfWriter/HDF5_XdmfWriter_point_set.hpp
View file @
d07c3c78
...
...
@@ -135,7 +135,7 @@ public:
*/
template
<
typename
VPos
,
typename
VPrp
,
int
...
prp
>
bool
write
(
const
std
::
string
&
file
,
openfpm
::
vector
<
VPos
>
&
v_pos
,
openfpm
::
vector
<
VPrp
>
&
v_prp
,
size_t
stop
)
{
Vcluster
&
v_cl
=
*
global
_v
_
cluster
;
Vcluster
&
v_cl
=
create
_vcluster
()
;
// Open and HDF5 file in parallel
...
...
src/VTKWriter/VTKWriter_dist_graph.hpp
View file @
d07c3c78
...
...
@@ -1116,7 +1116,7 @@ public:
template
<
int
prp
=
-
1
>
bool
write
(
std
::
string
file
,
std
::
string
graph_name
=
"Graph"
,
file_type
ft
=
file_type
::
ASCII
)
{
Vcluster
&
v_cl
=
*
global
_v
_
cluster
;
Vcluster
&
v_cl
=
create
_vcluster
()
;
g
.
deleteGhosts
();
...
...
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