mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: codedMixed: changed className to be consistent with function
This commit is contained in:
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -73,18 +73,18 @@ extern "C"
|
|||||||
makeRemovablePatchTypeField
|
makeRemovablePatchTypeField
|
||||||
(
|
(
|
||||||
fvPatch${FieldType},
|
fvPatch${FieldType},
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
const char* const ${typeName}FixedValueFvPatch${FieldType}::SHA1sum =
|
const char* const ${typeName}MixedValueFvPatch${FieldType}::SHA1sum =
|
||||||
"${SHA1sum}";
|
"${SHA1sum}";
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF
|
const DimensionedField<${TemplateType}, volMesh>& iF
|
||||||
@ -100,10 +100,10 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}& ptf,
|
const ${typeName}MixedValueFvPatch${FieldType}& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF,
|
const DimensionedField<${TemplateType}, volMesh>& iF,
|
||||||
const fvPatchFieldMapper& mapper
|
const fvPatchFieldMapper& mapper
|
||||||
@ -119,8 +119,8 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF,
|
const DimensionedField<${TemplateType}, volMesh>& iF,
|
||||||
@ -137,10 +137,10 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}& ptf
|
const ${typeName}MixedValueFvPatch${FieldType}& ptf
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
mixedFvPatchField<${TemplateType}>(ptf)
|
mixedFvPatchField<${TemplateType}>(ptf)
|
||||||
@ -153,10 +153,10 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}& ptf,
|
const ${typeName}MixedValueFvPatch${FieldType}& ptf,
|
||||||
const DimensionedField<${TemplateType}, volMesh>& iF
|
const DimensionedField<${TemplateType}, volMesh>& iF
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
@ -172,8 +172,8 @@ ${typeName}FixedValueFvPatch${FieldType}
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
${typeName}FixedValueFvPatch${FieldType}::
|
${typeName}MixedValueFvPatch${FieldType}::
|
||||||
~${typeName}FixedValueFvPatch${FieldType}()
|
~${typeName}MixedValueFvPatch${FieldType}()
|
||||||
{
|
{
|
||||||
if (${verbose:-false})
|
if (${verbose:-false})
|
||||||
{
|
{
|
||||||
@ -184,7 +184,7 @@ ${typeName}FixedValueFvPatch${FieldType}::
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void ${typeName}FixedValueFvPatch${FieldType}::updateCoeffs()
|
void ${typeName}MixedValueFvPatch${FieldType}::updateCoeffs()
|
||||||
{
|
{
|
||||||
if (this->updated())
|
if (this->updated())
|
||||||
{
|
{
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -43,10 +43,10 @@ namespace Foam
|
|||||||
{
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
A templated FixedValueFvPatch
|
A templated MixedValueFvPatchField
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
class ${typeName}FixedValueFvPatch${FieldType}
|
class ${typeName}MixedValueFvPatch${FieldType}
|
||||||
:
|
:
|
||||||
public mixedFvPatchField<${TemplateType}>
|
public mixedFvPatchField<${TemplateType}>
|
||||||
{
|
{
|
||||||
@ -62,14 +62,14 @@ public:
|
|||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from patch and internal field
|
//- Construct from patch and internal field
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<${TemplateType}, volMesh>&
|
const DimensionedField<${TemplateType}, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct from patch, internal field and dictionary
|
//- Construct from patch, internal field and dictionary
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<${TemplateType}, volMesh>&,
|
const DimensionedField<${TemplateType}, volMesh>&,
|
||||||
@ -77,18 +77,18 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct by mapping a copy onto a new patch
|
//- Construct by mapping a copy onto a new patch
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}&,
|
const ${typeName}MixedValueFvPatch${FieldType}&,
|
||||||
const fvPatch&,
|
const fvPatch&,
|
||||||
const DimensionedField<${TemplateType}, volMesh>&,
|
const DimensionedField<${TemplateType}, volMesh>&,
|
||||||
const fvPatchFieldMapper&
|
const fvPatchFieldMapper&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct as copy
|
//- Construct as copy
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}&
|
const ${typeName}MixedValueFvPatch${FieldType}&
|
||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
@ -96,14 +96,14 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp< fvPatch${FieldType} >
|
return tmp< fvPatch${FieldType} >
|
||||||
(
|
(
|
||||||
new ${typeName}FixedValueFvPatch${FieldType}(*this)
|
new ${typeName}MixedValueFvPatch${FieldType}(*this)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
//- Construct as copy setting internal field reference
|
//- Construct as copy setting internal field reference
|
||||||
${typeName}FixedValueFvPatch${FieldType}
|
${typeName}MixedValueFvPatch${FieldType}
|
||||||
(
|
(
|
||||||
const ${typeName}FixedValueFvPatch${FieldType}&,
|
const ${typeName}MixedValueFvPatch${FieldType}&,
|
||||||
const DimensionedField<${TemplateType}, volMesh>&
|
const DimensionedField<${TemplateType}, volMesh>&
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -115,13 +115,13 @@ public:
|
|||||||
{
|
{
|
||||||
return tmp< fvPatch${FieldType} >
|
return tmp< fvPatch${FieldType} >
|
||||||
(
|
(
|
||||||
new ${typeName}FixedValueFvPatch${FieldType}(*this, iF)
|
new ${typeName}MixedValueFvPatch${FieldType}(*this, iF)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//- Destructor
|
//- Destructor
|
||||||
virtual ~${typeName}FixedValueFvPatch${FieldType}();
|
virtual ~${typeName}MixedValueFvPatch${FieldType}();
|
||||||
|
|
||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
|||||||
Reference in New Issue
Block a user