Skip to content

Commit

Permalink
removing unnecessary function declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
seegyoung committed Jan 23, 2025
1 parent f0099e7 commit 6285327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/Omega_h_adios2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ long unsigned int comm_size, rank;

template <typename T>
static void write_value(adios2::IO &io, adios2::Engine &writer,
T val, std::string &name, bool global)
T val, std::string &name, bool global=false)
{
if (global)
{
Expand All @@ -36,7 +36,7 @@ static void write_value(adios2::IO &io, adios2::Engine &writer,

template <typename T>
static void read_value(adios2::IO &io, adios2::Engine &reader,
T *val, std::string &name, bool global)
T *val, std::string &name, bool global=false)
{
adios2::Variable<T> bpData = io.InquireVariable<T>(name);
if (bpData) // found
Expand Down
9 changes: 0 additions & 9 deletions src/Omega_h_adios2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
#include "Omega_h_library.hpp"

namespace Omega_h {

template <typename T>
static void write_value(adios2::IO &, adios2::Engine &writer,
T val, std::string &name, bool global=false);

template <typename T>
static void read_value(adios2::IO &, adios2::Engine &reader,
T *val, std::string &name, bool global=false);

void write_adios2(filesystem::path const& path,
std::map<Mesh*, std::string>& mesh_map);
void write_adios2(filesystem::path const& path, Mesh *mesh, std::string pref="");
Expand Down

0 comments on commit 6285327

Please sign in to comment.