BUG: timeVaryingUniformFixedValuePointPatchField: calling updateCoeffs with null internal field

This commit is contained in:
mattijs
2014-05-27 15:44:20 +01:00
committed by Andrew Heather
parent 1b89c7e38c
commit 064da149bf

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -56,7 +56,7 @@ timeVaryingUniformFixedValuePointPatchField
fixedValuePointPatchField<Type>(ptf, p, iF, mapper),
timeSeries_(ptf.timeSeries_)
{
updateCoeffs();
this->operator==(timeSeries_(this->db().time().timeOutputValue()));
}
@ -73,7 +73,7 @@ timeVaryingUniformFixedValuePointPatchField
fixedValuePointPatchField<Type>(p, iF),
timeSeries_(dict)
{
updateCoeffs();
this->operator==(timeSeries_(this->db().time().timeOutputValue()));
}