Skip to content
Snippets Groups Projects
Commit fac23ddd authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing documentation

parent 636fdc90
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment