From c7dd5e32c502c48c6b2e48b34ac2143788249e2c Mon Sep 17 00:00:00 2001 From: mattijs Date: Fri, 24 Apr 2009 18:09:48 +0100 Subject: [PATCH] added some debug printing --- .../directMappedFixedValueFvPatchField.C | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C index 0c3bf43408..d85e393fd8 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/directMappedFixedValue/directMappedFixedValueFvPatchField.C @@ -296,6 +296,16 @@ void directMappedFixedValueFvPatchField::updateCoeffs() this->operator==(newValues); + if (debug) + { + Info<< "directMapped on field:" << fldName + << " patch:" << this->patch().name() + << " avg:" << gAverage(*this) + << " min:" << gMin(*this) + << " max:" << gMax(*this) + << endl; + } + fixedValueFvPatchField::updateCoeffs(); }