ENH: Updates to temperature jump BC

This commit is contained in:
andy
2012-10-24 17:20:22 +01:00
parent 26d6f801bf
commit bb4cde58e3

View File

@ -61,12 +61,11 @@ Foam::temperatureJumpFvPatchScalarField::temperatureJumpFvPatchScalarField
)
:
fixedJumpFvPatchField<scalar>(p, iF),
jumpTable_(new DataEntry<scalar>("jumpTable"))
jumpTable_(0)
{
if (this->cyclicPatch().owner())
{
jumpTable_ = DataEntry<scalar>::New("jumpTable", dict);
jumpTable_ = DataEntry<scalar>::New("jumpTable", dict);
}
if (dict.found("value"))