From 7ba34de8e47e35e160103afd86851b4667991e3f Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 15 Oct 2014 11:22:29 +0100 Subject: [PATCH] Formatting --- .../postProcessing/stressField/solidStress/solidStress.C | 7 +++---- .../OutputFilterFunctionObject.C | 1 + src/sampling/probes/probes.C | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/applications/utilities/postProcessing/stressField/solidStress/solidStress.C b/applications/utilities/postProcessing/stressField/solidStress/solidStress.C index 432cc283d..2bfa1f6d4 100644 --- a/applications/utilities/postProcessing/stressField/solidStress/solidStress.C +++ b/applications/utilities/postProcessing/stressField/solidStress/solidStress.C @@ -36,7 +36,6 @@ Description int main(int argc, char *argv[]) { - # include "addTimeOptions.H" # include "setRootCase.H" @@ -53,7 +52,7 @@ int main(int argc, char *argv[]) # include "createMesh.H" # include "readMechanicalProperties.H" - for (label i=startTime; i::destroyFilter() ptr_.reset(); } + // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template diff --git a/src/sampling/probes/probes.C b/src/sampling/probes/probes.C index b6864cb6d..2596f5ac4 100644 --- a/src/sampling/probes/probes.C +++ b/src/sampling/probes/probes.C @@ -323,6 +323,7 @@ void Foam::probes::write() { // Check if the mesh is changing and if so, resample const fvMesh& mesh = refCast(obr_); + if (mesh.moving() || mesh.changing()) { cellList_.clear();