Commit 562fbd70 authored by Kilian Lackhove's avatar Kilian Lackhove

Coupling: Only receive if m_recvSteps > 0

parent 58d16917
......@@ -466,6 +466,11 @@ void CwipiCoupling::ReceiveFields(const int step,
{
ASSERTL1(m_nRecvVars == field.num_elements(), "field size mismatch");
if (m_recvSteps < 1)
{
return;
}
int nq = m_evalField->GetTotPoints();
// make sure we have sensible data in old/new field the first time this
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment