BUG: timeVaryingUniformFixedValuePointPatchField: calling updateCoeffs with null internal field

This commit is contained in:
mattijs 2014-05-27 15:44:20 +01:00
parent 9cfc6e5c46
commit e400f45f33

View file

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