mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: rigidBodyMotionState: not readable in binary. Fixes #871.
This commit is contained in:
@ -357,7 +357,8 @@ bool Foam::rigidBodyMeshMotion::writeObject
|
||||
);
|
||||
|
||||
model_.state().write(dict);
|
||||
return dict.regIOobject::write();
|
||||
// Force ascii writing
|
||||
return dict.regIOobject::writeObject(IOstream::ASCII, ver, cmp, valid);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -301,7 +301,8 @@ bool Foam::rigidBodyMeshMotionSolver::writeObject
|
||||
);
|
||||
|
||||
model_.state().write(dict);
|
||||
return dict.regIOobject::write();
|
||||
// Force ascii writing
|
||||
return dict.regIOobject::writeObject(IOstream::ASCII, ver, cmp, valid);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user