Commit a4897a43 authored by incardon's avatar incardon
Browse files

Fixing writer for 1D point

parent 1a8e1bb0
Pipeline #3219 failed with stages
in 3 minutes and 46 seconds
......@@ -366,7 +366,7 @@ public:
*
*/
template<typename T>
class prop_write_out<1,T>
class prop_write_out<0,T>
{
public:
......@@ -449,7 +449,7 @@ public:
*
*/
template<typename T>
class prop_write_out_new<1,T>
class prop_write_out_new<0,T>
{
public:
......
......@@ -54,7 +54,7 @@ struct vtk_dims
//! dimensionality of the vtk property (scalar)
enum
{
value = 1
value = 0
};
};
......
......@@ -21,7 +21,7 @@
*
* @return Std::string of path to current working directory.
*/
std::string get_cwd()
static std::string get_cwd()
{
char *cwd = nullptr;
size_t size;
......@@ -39,7 +39,7 @@ std::string get_cwd()
* @param path Std::string with path of file for which existence should be checked.
* @return True, if file exists, false if not.
*/
bool check_if_file_exists(std::string path)
static bool check_if_file_exists(std::string path)
{
try
{
......@@ -63,7 +63,7 @@ bool check_if_file_exists(std::string path)
*
* @param path Std::string that contains path including filename of the file that should be created.
*/
void create_file_if_not_exist(std::string path)
static void create_file_if_not_exist(std::string path)
{
auto & v_cl = create_vcluster();
if (v_cl.rank() == 0)
......@@ -82,7 +82,7 @@ void create_file_if_not_exist(std::string path)
* @param path Std::string with path of directory for which existence should be checked.
* @return True, if directory exists, false if not.
*/
bool check_if_directory_exists(std::string path)
static bool check_if_directory_exists(std::string path)
{
try
{
......@@ -100,7 +100,7 @@ bool check_if_directory_exists(std::string path)
*
* @param path Std::string that contains path including name of the folder that should be created.
*/
void create_directory_if_not_exist(std::string path)
static void create_directory_if_not_exist(std::string path)
{
auto & v_cl = create_vcluster();
if (v_cl.rank() == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment