ENH: Updated function objects

This commit is contained in:
andy
2012-12-13 10:40:38 +00:00
parent 6aba1d08f8
commit 9d5ce4ae76
47 changed files with 120 additions and 120 deletions

View File

@ -43,7 +43,6 @@ SourceFiles
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
#include "pointFieldFwd.H"
#include "OFstream.H"
#include "Switch.H"
@ -55,6 +54,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -142,7 +142,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -45,7 +45,6 @@ SourceFiles
#include "functionObjectFile.H"
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
#include "Switch.H"
#include "OFstream.H"
@ -57,6 +56,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
class fvMesh;
@ -144,7 +144,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -43,7 +43,6 @@ SourceFiles
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
#include "pointFieldFwd.H"
#include "OFstream.H"
#include "Switch.H"
@ -55,6 +54,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -135,7 +135,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -42,7 +42,6 @@ SourceFiles
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
#include "pointFieldFwd.H"
#include "OFstream.H"
#include "Switch.H"
@ -54,6 +53,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -137,7 +137,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -46,7 +46,6 @@ SourceFiles
#include "volFieldsFwd.H"
#include "surfaceFieldsFwd.H"
#include "pointFieldFwd.H"
#include "OFstream.H"
#include "Switch.H"
@ -58,6 +57,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -138,7 +138,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -150,6 +150,12 @@ public:
//- Read and set the function object if its data have changed
virtual bool read(const dictionary&);
//- Update mesh
virtual void updateMesh(const mapPolyMesh&);
//- Move points
virtual void movePoints(const polyMesh&);
};

View File

@ -44,7 +44,7 @@ SourceFiles
#ifndef dsmcFields_H
#define dsmcFields_H
#include "pointFieldFwd.H"
#include "typeInfo.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -54,10 +54,11 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
Class dsmcFields Declaration
Class dsmcFields Declaration
\*---------------------------------------------------------------------------*/
class dsmcFields
@ -130,7 +131,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -111,7 +111,6 @@ SourceFiles
#define pressureTools_H
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
#include "dimensionedScalar.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -122,6 +121,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -253,7 +253,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -175,7 +175,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -60,7 +60,6 @@ SourceFiles
#ifndef timeActivatedFileUpdate_H
#define timeActivatedFileUpdate_H
#include "pointFieldFwd.H"
#include "Tuple2.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -71,6 +70,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
/*---------------------------------------------------------------------------*\
@ -160,7 +160,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -75,7 +75,6 @@ SourceFiles
#include "functionObjectFile.H"
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
#include "Switch.H"
#include "OFstream.H"
@ -87,6 +86,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
class fvMesh;
@ -185,7 +185,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -42,7 +42,6 @@ SourceFiles
#include "functionObjectFile.H"
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
#include "Switch.H"
#include "OFstream.H"
@ -54,6 +53,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
class fvMesh;
@ -161,7 +161,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};

View File

@ -42,7 +42,6 @@ SourceFiles
#include "functionObjectFile.H"
#include "volFieldsFwd.H"
#include "pointFieldFwd.H"
#include "Switch.H"
#include "OFstream.H"
@ -54,6 +53,7 @@ namespace Foam
// Forward declaration of classes
class objectRegistry;
class dictionary;
class polyMesh;
class mapPolyMesh;
class fvMesh;
@ -148,7 +148,7 @@ public:
{}
//- Update for changes of mesh
virtual void movePoints(const pointField&)
virtual void movePoints(const polyMesh&)
{}
};