mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: extraneous space in template parameter
This commit is contained in:
committed by
Andrew Heather
parent
fd4ffc8a27
commit
c5ed28d0e3
@ -102,9 +102,9 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- 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)
|
new ${typeName}FixedValueFvPatch${FieldType}(*this)
|
||||||
);
|
);
|
||||||
@ -118,12 +118,12 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone setting internal field reference
|
//- 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 DimensionedField<${TemplateType}, volMesh>& iF
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return tmp<fvPatch${FieldType} >
|
return tmp<fvPatch${FieldType}>
|
||||||
(
|
(
|
||||||
new ${typeName}FixedValueFvPatch${FieldType}(*this, iF)
|
new ${typeName}FixedValueFvPatch${FieldType}(*this, iF)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -102,9 +102,9 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone
|
//- 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)
|
new ${typeName}MixedValueFvPatch${FieldType}(*this)
|
||||||
);
|
);
|
||||||
@ -118,12 +118,12 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Construct and return a clone setting internal field reference
|
//- 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 DimensionedField<${TemplateType}, volMesh>& iF
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return tmp<fvPatch${FieldType} >
|
return tmp<fvPatch${FieldType}>
|
||||||
(
|
(
|
||||||
new ${typeName}MixedValueFvPatch${FieldType}(*this, iF)
|
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
|
auto tH1 = tmp<scalarField>::New(lduAddr().size(), Zero);
|
||||||
(
|
|
||||||
new scalarField(lduAddr().size(), Zero)
|
|
||||||
);
|
|
||||||
|
|
||||||
if (lowerPtr_ || upperPtr_)
|
if (lowerPtr_ || upperPtr_)
|
||||||
{
|
{
|
||||||
scalarField& H1_ = tH1.ref();
|
scalar* __restrict__ H1Ptr = tH1.ref().begin();
|
||||||
|
|
||||||
scalar* __restrict__ H1Ptr = H1_.begin();
|
|
||||||
|
|
||||||
const label* __restrict__ uPtr = lduAddr().upperAddr().begin();
|
const label* __restrict__ uPtr = lduAddr().upperAddr().begin();
|
||||||
const label* __restrict__ lPtr = lduAddr().lowerAddr().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
|
// Functional form of the porosity surface area per unit volume as a
|
||||||
// function of the normalized vertical position
|
// function of the normalized vertical position
|
||||||
autoPtr<Function1<scalar >> SigmaFunc
|
autoPtr<Function1<scalar>> SigmaFunc
|
||||||
(
|
(
|
||||||
Function1<scalar>::New("Sigma", dict)
|
Function1<scalar>::New("Sigma", dict)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -141,7 +141,7 @@ public:
|
|||||||
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
|
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
tmp<scalarField > basicSymmetryFvPatchField<scalar>::snGrad() const;
|
tmp<scalarField> basicSymmetryFvPatchField<scalar>::snGrad() const;
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
void basicSymmetryFvPatchField<scalar>::evaluate
|
void basicSymmetryFvPatchField<scalar>::evaluate
|
||||||
|
|||||||
@ -157,7 +157,7 @@ public:
|
|||||||
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
|
// * * * * * * * * * * * Template Specialisations * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
tmp<scalarField > wedgeFvPatchField<scalar>::snGrad() const;
|
tmp<scalarField> wedgeFvPatchField<scalar>::snGrad() const;
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
void wedgeFvPatchField<scalar>::evaluate
|
void wedgeFvPatchField<scalar>::evaluate
|
||||||
|
|||||||
@ -107,7 +107,7 @@ public:
|
|||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
virtual tmp<fvPatchScalarField> clone() const
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField >
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new interfaceCompressionFvPatchScalarField(*this)
|
new interfaceCompressionFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -158,7 +158,7 @@ public:
|
|||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
virtual tmp<fvPatchScalarField> clone() const
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField >
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new phaseHydrostaticPressureFvPatchScalarField(*this)
|
new phaseHydrostaticPressureFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -145,7 +145,7 @@ public:
|
|||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
virtual tmp<fvPatchScalarField> clone() const
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField >
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new prghPressureFvPatchScalarField(*this)
|
new prghPressureFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -153,7 +153,7 @@ public:
|
|||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
virtual tmp<fvPatchScalarField> clone() const
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField >
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new prghTotalHydrostaticPressureFvPatchScalarField(*this)
|
new prghTotalHydrostaticPressureFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
|
|||||||
@ -156,7 +156,7 @@ public:
|
|||||||
//- Construct and return a clone
|
//- Construct and return a clone
|
||||||
virtual tmp<fvPatchScalarField> clone() const
|
virtual tmp<fvPatchScalarField> clone() const
|
||||||
{
|
{
|
||||||
return tmp<fvPatchScalarField >
|
return tmp<fvPatchScalarField>
|
||||||
(
|
(
|
||||||
new prghTotalPressureFvPatchScalarField(*this)
|
new prghTotalPressureFvPatchScalarField(*this)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user