Formatting

This commit is contained in:
Hrvoje Jasak 2011-05-24 17:20:38 +01:00
parent 9efd2bc542
commit 8961f170a3
8 changed files with 34 additions and 33 deletions

View file

@ -161,7 +161,8 @@ void fixedNormalSlipFvPatchField<Type>::evaluate(const Pstream::commsTypes)
template<class Type> template<class Type>
tmp<Field<Type> > fixedNormalSlipFvPatchField<Type>::snGradTransformDiag() const tmp<Field<Type> >
fixedNormalSlipFvPatchField<Type>::snGradTransformDiag() const
{ {
vectorField nHat = this->patch().nf(); vectorField nHat = this->patch().nf();
vectorField diag(nHat.size()); vectorField diag(nHat.size());

View file

@ -50,6 +50,21 @@ waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
{} {}
template<class Type>
waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
(
const fvPatch& p,
const DimensionedField<Type, volMesh>& iF,
const dictionary& dict
)
:
advectiveFvPatchField<Type>(p, iF, dict),
psiName_(dict.lookupOrDefault<word>("psi", "psi")),
UName_(dict.lookupOrDefault<word>("U", "U")),
gamma_(readScalar(dict.lookup("gamma")))
{}
template<class Type> template<class Type>
waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
( (
@ -66,21 +81,6 @@ waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
{} {}
template<class Type>
waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
(
const fvPatch& p,
const DimensionedField<Type, volMesh>& iF,
const dictionary& dict
)
:
advectiveFvPatchField<Type>(p, iF, dict),
psiName_(dict.lookupOrDefault<word>("psi", "psi")),
UName_(dict.lookupOrDefault<word>("U", "U")),
gamma_(readScalar(dict.lookup("gamma")))
{}
template<class Type> template<class Type>
waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
( (
@ -89,7 +89,7 @@ waveTransmissiveFvPatchField<Type>::waveTransmissiveFvPatchField
: :
advectiveFvPatchField<Type>(ptpsf), advectiveFvPatchField<Type>(ptpsf),
psiName_(ptpsf.psiName_), psiName_(ptpsf.psiName_),
UName_(ptpsf.psiName_), UName_(ptpsf.UName_),
gamma_(ptpsf.gamma_) gamma_(ptpsf.gamma_)
{} {}

View file

@ -111,7 +111,7 @@ public:
upwindScheme_(mesh, faceFlux) upwindScheme_(mesh, faceFlux)
{} {}
//- Construct from mesh and Istream. //- Construct from mesh and Istream
// The name of the flux field is read from the Istream and looked-up // The name of the flux field is read from the Istream and looked-up
// from the mesh objectRegistry // from the mesh objectRegistry
DeferredCorrectionLimitedScheme DeferredCorrectionLimitedScheme