Skip to content
Snippets Groups Projects
Commit 3620005b authored by Andrew Heather's avatar Andrew Heather
Browse files

bugfix - had forgotten to size sub-list

parent edf79bf0
Branches
Tags
No related merge requests found
......@@ -67,6 +67,8 @@ void Foam::timeActivatedExplicitMulticomponentPointSource::updateAddressing()
{
cellOwners_[sourceI] = cid;
}
fieldIds_[sourceI].setSize(psp.fieldData().size());
forAll(psp.fieldData(), fieldI)
{
const word& fieldName = psp.fieldData()[fieldI].first();
......@@ -85,7 +87,7 @@ void Foam::timeActivatedExplicitMulticomponentPointSource::updateAddressing()
{
fieldIds_[sourceI][fieldI] = cfid;
}
}
}
}
}
......
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