Skip to content
Snippets Groups Projects
Commit 289049c6 authored by mattijs's avatar mattijs
Browse files

BUG: forces: construct from components does not size

parent 213d409f
Branches
Tags
No related merge requests found
......@@ -423,7 +423,13 @@ Foam::forces::forces
binPoints_(),
binFormat_("undefined"),
binCumulative_(true)
{}
{
forAll(force_, i)
{
force_[i].setSize(nBin_);
moment_[i].setSize(nBin_);
}
}
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment