mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: forces: construct from components does not size
This commit is contained in:
@ -423,7 +423,13 @@ Foam::forces::forces
|
|||||||
binPoints_(),
|
binPoints_(),
|
||||||
binFormat_("undefined"),
|
binFormat_("undefined"),
|
||||||
binCumulative_(true)
|
binCumulative_(true)
|
||||||
{}
|
{
|
||||||
|
forAll(force_, i)
|
||||||
|
{
|
||||||
|
force_[i].setSize(nBin_);
|
||||||
|
moment_[i].setSize(nBin_);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
Reference in New Issue
Block a user