fixedNormalInletOutletVelocity: Minor reorganization

This commit is contained in:
Henry Weller
2016-02-07 22:51:01 +00:00
parent 7b39ea3cc4
commit 14df9bde95

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -52,25 +52,6 @@ fixedNormalInletOutletVelocityFvPatchVectorField
}
Foam::fixedNormalInletOutletVelocityFvPatchVectorField::
fixedNormalInletOutletVelocityFvPatchVectorField
(
const fixedNormalInletOutletVelocityFvPatchVectorField& ptf,
const fvPatch& p,
const DimensionedField<vector, volMesh>& iF,
const fvPatchFieldMapper& mapper
)
:
directionMixedFvPatchVectorField(ptf, p, iF, mapper),
phiName_(ptf.phiName_),
fixTangentialInflow_(ptf.fixTangentialInflow_),
normalVelocity_
(
fvPatchVectorField::New(ptf.normalVelocity(), p, iF, mapper)
)
{}
Foam::fixedNormalInletOutletVelocityFvPatchVectorField::
fixedNormalInletOutletVelocityFvPatchVectorField
(
@ -94,6 +75,25 @@ fixedNormalInletOutletVelocityFvPatchVectorField
}
Foam::fixedNormalInletOutletVelocityFvPatchVectorField::
fixedNormalInletOutletVelocityFvPatchVectorField
(
const fixedNormalInletOutletVelocityFvPatchVectorField& ptf,
const fvPatch& p,
const DimensionedField<vector, volMesh>& iF,
const fvPatchFieldMapper& mapper
)
:
directionMixedFvPatchVectorField(ptf, p, iF, mapper),
phiName_(ptf.phiName_),
fixTangentialInflow_(ptf.fixTangentialInflow_),
normalVelocity_
(
fvPatchVectorField::New(ptf.normalVelocity(), p, iF, mapper)
)
{}
Foam::fixedNormalInletOutletVelocityFvPatchVectorField::
fixedNormalInletOutletVelocityFvPatchVectorField
(