MPI: DumpExciationsSignals for rank 0 only
parent
9c061e9d84
commit
3cbadd5c82
|
@ -113,6 +113,12 @@ void Operator_MPI::SetNeighborDown(int ny, int id)
|
||||||
m_NeighborDown[ny]=id;
|
m_NeighborDown[ny]=id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Operator_MPI::DumpExciationSignals()
|
||||||
|
{
|
||||||
|
if (m_MyID==0)
|
||||||
|
Operator_SSE_Compressed::DumpExciationSignals();
|
||||||
|
}
|
||||||
|
|
||||||
void Operator_MPI::Init()
|
void Operator_MPI::Init()
|
||||||
{
|
{
|
||||||
Operator_SSE_Compressed::Init();
|
Operator_SSE_Compressed::Init();
|
||||||
|
|
|
@ -40,6 +40,8 @@ public:
|
||||||
virtual void SetNeighborUp(int ny, int id);
|
virtual void SetNeighborUp(int ny, int id);
|
||||||
virtual void SetNeighborDown(int ny, int id);
|
virtual void SetNeighborDown(int ny, int id);
|
||||||
|
|
||||||
|
virtual void DumpExciationSignals();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Operator_MPI();
|
Operator_MPI();
|
||||||
bool m_MPI_Enabled;
|
bool m_MPI_Enabled;
|
||||||
|
|
Loading…
Reference in New Issue