mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
foamFileSurfaceWriter -> foamSurfaceWriter for consistency with the naming of the other writers
This commit is contained in:
@ -23,7 +23,7 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "foamFileSurfaceWriter.H"
|
#include "foamSurfaceWriter.H"
|
||||||
|
|
||||||
#include "OFstream.H"
|
#include "OFstream.H"
|
||||||
#include "OSspecific.H"
|
#include "OSspecific.H"
|
||||||
@ -34,14 +34,14 @@ License
|
|||||||
|
|
||||||
namespace Foam
|
namespace Foam
|
||||||
{
|
{
|
||||||
makeSurfaceWriterType(foamFileSurfaceWriter);
|
makeSurfaceWriterType(foamSurfaceWriter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
void Foam::foamFileSurfaceWriter::writeTemplate
|
void Foam::foamSurfaceWriter::writeTemplate
|
||||||
(
|
(
|
||||||
const fileName& outputDir,
|
const fileName& outputDir,
|
||||||
const fileName& surfaceName,
|
const fileName& surfaceName,
|
||||||
@ -83,7 +83,7 @@ void Foam::foamFileSurfaceWriter::writeTemplate
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::foamFileSurfaceWriter::foamFileSurfaceWriter()
|
Foam::foamSurfaceWriter::foamSurfaceWriter()
|
||||||
:
|
:
|
||||||
surfaceWriter()
|
surfaceWriter()
|
||||||
{}
|
{}
|
||||||
@ -91,13 +91,13 @@ Foam::foamFileSurfaceWriter::foamFileSurfaceWriter()
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::foamFileSurfaceWriter::~foamFileSurfaceWriter()
|
Foam::foamSurfaceWriter::~foamSurfaceWriter()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void Foam::foamFileSurfaceWriter::write
|
void Foam::foamSurfaceWriter::write
|
||||||
(
|
(
|
||||||
const fileName& outputDir,
|
const fileName& outputDir,
|
||||||
const fileName& surfaceName,
|
const fileName& surfaceName,
|
||||||
@ -138,8 +138,8 @@ void Foam::foamFileSurfaceWriter::write
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// create write methods
|
// Create write methods
|
||||||
defineSurfaceWriterWriteFields(Foam::foamFileSurfaceWriter);
|
defineSurfaceWriterWriteFields(Foam::foamSurfaceWriter);
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,18 +22,18 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::foamFileSurfaceWriter
|
Foam::foamSurfaceWriter
|
||||||
|
|
||||||
Description
|
Description
|
||||||
A surfaceWriter for foamFiles
|
A surfaceWriter for foams
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
foamFileSurfaceWriter.C
|
foamSurfaceWriter.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef foamFileSurfaceWriter_H
|
#ifndef foamSurfaceWriter_H
|
||||||
#define foamFileSurfaceWriter_H
|
#define foamSurfaceWriter_H
|
||||||
|
|
||||||
#include "surfaceWriter.H"
|
#include "surfaceWriter.H"
|
||||||
|
|
||||||
@ -43,10 +43,10 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class foamFileSurfaceWriter Declaration
|
Class foamSurfaceWriter Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class foamFileSurfaceWriter
|
class foamSurfaceWriter
|
||||||
:
|
:
|
||||||
public surfaceWriter
|
public surfaceWriter
|
||||||
{
|
{
|
||||||
@ -70,17 +70,17 @@ class foamFileSurfaceWriter
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
//- Runtime type information
|
//- Runtime type information
|
||||||
TypeName("foamFile");
|
TypeName("foam");
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct null
|
//- Construct null
|
||||||
foamFileSurfaceWriter();
|
foamSurfaceWriter();
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~foamFileSurfaceWriter();
|
virtual ~foamSurfaceWriter();
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
@ -172,7 +172,6 @@ public:
|
|||||||
const bool isNodeValues,
|
const bool isNodeValues,
|
||||||
const bool verbose = false
|
const bool verbose = false
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user