Skip to content
Snippets Groups Projects
Commit 0120d772 authored by Vaggelis Papoutsis's avatar Vaggelis Papoutsis Committed by Andrew Heather
Browse files

BUG: topology optimisation design variables were not written

properly for continuation (written through SubField instead of Field)
parent afe9b90d
Branches
Tags
1 merge request!649ENH: update of the adjoint library and introduction of topology optimisation
......@@ -571,7 +571,8 @@ void Foam::topODesignVariables::writeDesignVars()
bool Foam::topODesignVariables::writeData(Ostream& os) const
{
alpha_.writeEntry("alpha", os);
const scalarField& alpha = alpha_;
alpha.writeEntry("alpha", os);
return true;
}
......
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