BUG: forces: construct from components does not size

This commit is contained in:
mattijs
2013-05-29 08:57:23 +01:00
parent 213d409f2e
commit 289049c6df

View File

@ -423,7 +423,13 @@ Foam::forces::forces
binPoints_(),
binFormat_("undefined"),
binCumulative_(true)
{}
{
forAll(force_, i)
{
force_[i].setSize(nBin_);
moment_[i].setSize(nBin_);
}
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //