Commit c5ed28d0 authored by Mark Olesen's avatar Mark Olesen Committed by Andrew Heather
Browse files

STYLE: extraneous space in template parameter

parent fd4ffc8a
......@@ -102,9 +102,9 @@ public:
);
//- Construct and return a clone
virtual tmp<fvPatch${FieldType} > clone() const
virtual tmp<fvPatch${FieldType}> clone() const
{
return tmp<fvPatch${FieldType} >
return tmp<fvPatch${FieldType}>
(
new ${typeName}FixedValueFvPatch${FieldType}(*this)
);
......@@ -118,12 +118,12 @@ public:
);
//- Construct and return a clone setting internal field reference
virtual tmp<fvPatch${FieldType} > clone
virtual tmp<fvPatch${FieldType}> clone
(
const DimensionedField<${TemplateType}, volMesh>& iF
) const
{
return tmp<fvPatch${FieldType} >
return tmp<fvPatch${FieldType}>
(
new ${typeName}FixedValueFvPatch${FieldType}(*this, iF)
);
......
......@@ -102,9 +102,9 @@ public:
);
//- Construct and return a clone
virtual tmp<fvPatch${FieldType} > clone() const
virtual tmp<fvPatch${FieldType}> clone() const
{
return tmp<fvPatch${FieldType} >
return tmp<fvPatch${FieldType}>
(
new ${typeName}MixedValueFvPatch${FieldType}(*this)
);
......@@ -118,12 +118,12 @@ public:
);
//- Construct and return a clone setting internal field reference
virtual tmp<fvPatch${FieldType} > clone
virtual tmp<fvPatch${FieldType}> clone
(
const DimensionedField<${TemplateType}, volMesh>& iF
) const
{
return tmp<fvPatch${FieldType} >
return tmp<fvPatch${FieldType}>
(
new ${typeName}MixedValueFvPatch${FieldType}(*this, iF)
);
......
......@@ -293,18 +293,13 @@ Foam::tmp<Foam::Field<Foam::solveScalar>> Foam::lduMatrix::residual
}
Foam::tmp<Foam::scalarField > Foam::lduMatrix::H1() const
Foam::tmp<Foam::scalarField> Foam::lduMatrix::H1() const
{
tmp<scalarField > tH1
(
new scalarField(lduAddr().size(), Zero)
);
auto tH1 = tmp<scalarField>::New(lduAddr().size(), Zero);
if (lowerPtr_ || upperPtr_)
{
scalarField& H1_ = tH1.ref();
scalar* __restrict__ H1Ptr = H1_.begin();
scalar* __restrict__ H1Ptr = tH1.ref().begin();
const label* __restrict__ uPtr = lduAddr().upperAddr().begin();
const label* __restrict__ lPtr = lduAddr().lowerAddr().begin();
......
......@@ -73,7 +73,7 @@ Foam::porosityModels::powerLawLopesdaCostaZone::powerLawLopesdaCostaZone
// Functional form of the porosity surface area per unit volume as a
// function of the normalized vertical position
autoPtr<Function1<scalar >> SigmaFunc
autoPtr<Function1<scalar>> SigmaFunc
(
Function1<scalar>::New("Sigma", dict)
);
......
......@@ -141,7 +141,7 @@ public:
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
template<>
tmp<scalarField > basicSymmetryFvPatchField<scalar>::snGrad() const;
tmp<scalarField> basicSymmetryFvPatchField<scalar>::snGrad() const;
template<>
void basicSymmetryFvPatchField<scalar>::evaluate
......
......@@ -157,7 +157,7 @@ public:
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
template<>
tmp<scalarField > wedgeFvPatchField<scalar>::snGrad() const;
tmp<scalarField> wedgeFvPatchField<scalar>::snGrad() const;
template<>
void wedgeFvPatchField<scalar>::evaluate
......
......@@ -107,7 +107,7 @@ public:
//- Construct and return a clone
virtual tmp<fvPatchScalarField> clone() const
{
return tmp<fvPatchScalarField >
return tmp<fvPatchScalarField>
(
new interfaceCompressionFvPatchScalarField(*this)
);
......
......@@ -158,7 +158,7 @@ public:
//- Construct and return a clone
virtual tmp<fvPatchScalarField> clone() const
{
return tmp<fvPatchScalarField >
return tmp<fvPatchScalarField>
(
new phaseHydrostaticPressureFvPatchScalarField(*this)
);
......
......@@ -145,7 +145,7 @@ public:
//- Construct and return a clone
virtual tmp<fvPatchScalarField> clone() const
{
return tmp<fvPatchScalarField >
return tmp<fvPatchScalarField>
(
new prghPressureFvPatchScalarField(*this)
);
......
......@@ -153,7 +153,7 @@ public:
//- Construct and return a clone
virtual tmp<fvPatchScalarField> clone() const
{
return tmp<fvPatchScalarField >
return tmp<fvPatchScalarField>
(
new prghTotalHydrostaticPressureFvPatchScalarField(*this)
);
......
......@@ -156,7 +156,7 @@ public:
//- Construct and return a clone
virtual tmp<fvPatchScalarField> clone() const
{
return tmp<fvPatchScalarField >
return tmp<fvPatchScalarField>
(
new prghTotalPressureFvPatchScalarField(*this)
);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment