Skip to content
Snippets Groups Projects
Commit 735faa2a authored by William F Godoy's avatar William F Godoy
Browse files

Removed MPI_COMM_SELF from headers, fixed bug in VariableBase

parent ca22b602
No related branches found
No related tags found
1 merge request!124Refactor
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
/** from ADIOS class passed to Engine created with Open /** from ADIOS class passed to Engine created with Open
* if no new communicator is passed */ * if no new communicator is passed */
MPI_Comm m_MPIComm = MPI_COMM_SELF; MPI_Comm m_MPIComm;
/** true: extra exceptions checks */ /** true: extra exceptions checks */
const bool m_DebugMode = false; const bool m_DebugMode = false;
......
...@@ -112,8 +112,8 @@ void VariableBase::SetMemorySelection(const SelectionBoundingBox &selection) ...@@ -112,8 +112,8 @@ void VariableBase::SetMemorySelection(const SelectionBoundingBox &selection)
} }
} }
ConvertUint64VectorToSizetVector(selection.m_Count, m_MemoryCount); m_MemoryCount = selection.m_Count;
ConvertUint64VectorToSizetVector(selection.m_Start, m_MemoryStart); m_MemoryStart = selection.m_Start;
} }
void VariableBase::SetStepSelection(const unsigned int startStep, void VariableBase::SetStepSelection(const unsigned int startStep,
......
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
void Close(); void Close();
private: private:
MPI_Comm m_MPIComm = MPI_COMM_SELF; MPI_Comm m_MPIComm;
const bool m_DebugMode = false; const bool m_DebugMode = false;
void Init(); void Init();
......
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