MPI: DumpExciationsSignals for rank 0 only

pull/1/head
Thorsten Liebig 2011-03-08 14:03:24 +01:00
parent 9c061e9d84
commit 3cbadd5c82
2 changed files with 8 additions and 0 deletions

View File

@ -113,6 +113,12 @@ void Operator_MPI::SetNeighborDown(int ny, int id)
m_NeighborDown[ny]=id;
}
void Operator_MPI::DumpExciationSignals()
{
if (m_MyID==0)
Operator_SSE_Compressed::DumpExciationSignals();
}
void Operator_MPI::Init()
{
Operator_SSE_Compressed::Init();

View File

@ -40,6 +40,8 @@ public:
virtual void SetNeighborUp(int ny, int id);
virtual void SetNeighborDown(int ny, int id);
virtual void DumpExciationSignals();
protected:
Operator_MPI();
bool m_MPI_Enabled;