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

Merge branch 'bp1read' of https://github.com/williamfgc/adios2 into bp1read

* 'bp1read' of https://github.com/williamfgc/adios2:
  Bp1read (#24)
parents 3e8892c3 8de906be
No related branches found
No related tags found
1 merge request!294Bp1read : Initial Reading Capabilities and latest API
......@@ -45,20 +45,20 @@ AdvanceStatus ADIOS1Reader::BeginStep(AdvanceMode mode, const float timeout_sec)
#define declare_type(T) \
void ADIOS1Reader::DoGetSync(Variable<T> &variable, T *values) \
{ \
m_ADIOS1.ScheduleReadCommon( \
variable.m_Name, variable.m_Start, variable.m_Count, \
variable.GetAvailableStepsStart(), \
variable.GetAvailableStepsStart(), variable.m_ReadAsLocalValue, \
variable.m_ReadAsJoined, (void *)values); \
m_ADIOS1.ScheduleReadCommon(variable.m_Name, variable.m_Start, \
variable.m_Count, variable.m_StepStart, \
variable.m_StepCount, \
variable.m_ReadAsLocalValue, \
variable.m_ReadAsJoined, (void *)values); \
m_ADIOS1.PerformReads(); \
} \
void ADIOS1Reader::DoGetDeferred(Variable<T> &variable, T *values) \
{ \
m_ADIOS1.ScheduleReadCommon( \
variable.m_Name, variable.m_Start, variable.m_Count, \
variable.GetAvailableStepsStart(), \
variable.GetAvailableStepsStart(), variable.m_ReadAsLocalValue, \
variable.m_ReadAsJoined, (void *)values); \
m_ADIOS1.ScheduleReadCommon(variable.m_Name, variable.m_Start, \
variable.m_Count, variable.m_StepStart, \
variable.m_StepCount, \
variable.m_ReadAsLocalValue, \
variable.m_ReadAsJoined, (void *)values); \
}
ADIOS2_FOREACH_TYPE_1ARG(declare_type)
......
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