Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_io
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_io
Commits
fac23ddd
Commit
fac23ddd
authored
7 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing documentation
parent
636fdc90
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/VTKWriter/VTKWriter_vector_box.hpp
+12
-3
12 additions, 3 deletions
src/VTKWriter/VTKWriter_vector_box.hpp
with
12 additions
and
3 deletions
src/VTKWriter/VTKWriter_vector_box.hpp
+
12
−
3
View file @
fac23ddd
...
@@ -18,11 +18,19 @@ class v_box
...
@@ -18,11 +18,19 @@ class v_box
{
{
public:
public:
/*! \brief Constructor
*
* \param v
*
*/
v_box
(
const
vector
&
v
)
v_box
(
const
vector
&
v
)
:
v
(
v
)
:
v
(
v
)
{}
{}
//! dataset-name
std
::
string
dataset
;
std
::
string
dataset
;
//! vector
const
vector
&
v
;
const
vector
&
v
;
};
};
...
@@ -37,6 +45,7 @@ public:
...
@@ -37,6 +45,7 @@ public:
template
<
typename
vector
>
template
<
typename
vector
>
class
VTKWriter
<
vector
,
VECTOR_BOX
>
class
VTKWriter
<
vector
,
VECTOR_BOX
>
{
{
//! data to write
openfpm
::
vector
<
v_box
<
vector
>>
v
;
openfpm
::
vector
<
v_box
<
vector
>>
v
;
/*! \brief It get the vertex properties list
/*! \brief It get the vertex properties list
...
@@ -146,6 +155,7 @@ class VTKWriter<vector,VECTOR_BOX>
...
@@ -146,6 +155,7 @@ class VTKWriter<vector,VECTOR_BOX>
}
}
else
else
{
{
/* coverity[dead_error_line] */
v_out
+=
"0.0"
;
v_out
+=
"0.0"
;
}
}
}
}
...
@@ -162,11 +172,10 @@ class VTKWriter<vector,VECTOR_BOX>
...
@@ -162,11 +172,10 @@ class VTKWriter<vector,VECTOR_BOX>
/*! \brief Create the VTK vertex definition
/*! \brief Create the VTK vertex definition
*
*
*
\tparam s_type spatial type of the data
*
* \
tparam attr false x,y,z are set to 0 for each vertex
* \
return the string with the vertex definition
*
*
*/
*/
std
::
string
get_cell_list
()
std
::
string
get_cell_list
()
{
{
// base
// base
...
...
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