From 064da149bf93a13d2d05b15bcbb3931fc0ed223a Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 27 May 2014 15:44:20 +0100 Subject: [PATCH] BUG: timeVaryingUniformFixedValuePointPatchField: calling updateCoeffs with null internal field --- .../timeVaryingUniformFixedValuePointPatchField.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenFOAM/fields/pointPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchField.C b/src/OpenFOAM/fields/pointPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchField.C index 2590a08dcd..1f434f4f2a 100644 --- a/src/OpenFOAM/fields/pointPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchField.C +++ b/src/OpenFOAM/fields/pointPatchFields/derived/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchField.C @@ -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(ptf, p, iF, mapper), timeSeries_(ptf.timeSeries_) { - updateCoeffs(); + this->operator==(timeSeries_(this->db().time().timeOutputValue())); } @@ -73,7 +73,7 @@ timeVaryingUniformFixedValuePointPatchField fixedValuePointPatchField(p, iF), timeSeries_(dict) { - updateCoeffs(); + this->operator==(timeSeries_(this->db().time().timeOutputValue())); }