From 2372cbdb8db079cd5c6568f39d9f033d848fbd50 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Wed, 14 Sep 2022 14:33:38 +0100 Subject: [PATCH] isoSurface: Added size and compute time to debugging messages --- .../sampledSurface/isoSurface/isoSurface.C | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/sampling/sampledSurface/isoSurface/isoSurface.C b/src/sampling/sampledSurface/isoSurface/isoSurface.C index 8351cf7ace..894e186d8d 100644 --- a/src/sampling/sampledSurface/isoSurface/isoSurface.C +++ b/src/sampling/sampledSurface/isoSurface/isoSurface.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2011-2021 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -30,6 +30,7 @@ License #include "DynamicField.H" #include "syncTools.H" #include "polyMeshTetDecomposition.H" +#include "cpuTime.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -1168,9 +1169,11 @@ Foam::isoSurface::isoSurface pVals_(pVals), iso_(iso) { + cpuTime cpuTime; + if (debug) { - Pout<< "isoSurface : iso:" << iso_ + Pout<< nl << "isoSurface : iso:" << iso_ << " filter:" << filterTypeNames_[filter] << endl; } @@ -1438,6 +1441,16 @@ Foam::isoSurface::isoSurface meshCells_ = UIndirectList