ENH: Updated constraints/restraints

This commit is contained in:
andy
2014-01-20 16:23:48 +00:00
parent 3c0058f4e9
commit b3f01cd93b
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ bool Foam::sixDoFRigidBodyMotionConstraint::read
const dictionary& sDoFRBMCDict
)
{
sDoFRBMCCoeffs_ = sDoFRBMCDict.subDict(type() + "Coeffs");
sDoFRBMCCoeffs_ = sDoFRBMCDict.subOrEmptyDict(type() + "Coeffs");
return true;
}

View File

@ -60,7 +60,7 @@ bool Foam::sixDoFRigidBodyMotionRestraint::read
const dictionary& sDoFRBMRDict
)
{
sDoFRBMRCoeffs_ = sDoFRBMRDict;
sDoFRBMRCoeffs_ = sDoFRBMRDict.subOrEmptyDict(type() + "Coeffs");
return true;
}