Skip to content

Commit

Permalink
Update BMI C++ header to match upstream with virtual dtor and correc …
Browse files Browse the repository at this point in the history
…namespace
  • Loading branch information
ajkhattak committed Jul 2, 2024
1 parent a8cc575 commit bcc7669
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bmi/bmi.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#include <string>
#include <vector>

namespace bmixx {
namespace bmi {

//const int BMI_SUCCESS = 0;
// const int BMI_FAILURE = 1;
//const int BMI_FAILURE = 1;

const int MAX_COMPONENT_NAME = 2048;
const int MAX_VAR_NAME = 2048;
Expand All @@ -21,6 +21,8 @@ namespace bmixx {

class Bmi {
public:
virtual ~Bmi() { }

// Model control functions.
virtual void Initialize(std::string config_file) = 0;
virtual void Update() = 0;
Expand Down

0 comments on commit bcc7669

Please sign in to comment.