mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
better error message
This commit is contained in:
@ -118,7 +118,8 @@ void Foam::Cloud<ParticleType>::checkFieldIOobject
|
|||||||
"void Cloud<ParticleType>::checkFieldIOobject"
|
"void Cloud<ParticleType>::checkFieldIOobject"
|
||||||
"(Cloud<ParticleType>, IOField<DataType>)"
|
"(Cloud<ParticleType>, IOField<DataType>)"
|
||||||
) << "Size of " << data.name()
|
) << "Size of " << data.name()
|
||||||
<< " field does not match the number of particles"
|
<< " field " << data.size()
|
||||||
|
<< " does not match the number of particles " << c.size()
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user