Git clean-up

This commit is contained in:
Hrvoje Jasak 2016-01-06 05:00:36 +00:00
parent 3847a56cf3
commit 502a6fb8d7
5 changed files with 3 additions and 80 deletions

View file

@ -254,59 +254,6 @@ void Foam::totalPressureFvPatchScalarField::updateCoeffs()
}
Foam::tmp<Foam::scalarField>
Foam::totalPressureFvPatchScalarField::snGrad() const
{
return tmp<scalarField>
(
new scalarField(this->size(), 0.0)
);
}
Foam::tmp<Foam::scalarField>
Foam::totalPressureFvPatchScalarField::valueInternalCoeffs
(
const tmp<scalarField>&
) const
{
return tmp<scalarField>
(
new scalarField(this->size(), 0.0)
);
}
Foam::tmp<Foam::scalarField>
Foam::totalPressureFvPatchScalarField::valueBoundaryCoeffs
(
const tmp<scalarField>&
) const
{
return *this;
}
Foam::tmp<Foam::scalarField>
Foam::totalPressureFvPatchScalarField::gradientInternalCoeffs() const
{
return tmp<scalarField>
(
new scalarField(this->size(), 0.0)
);
}
Foam::tmp<Foam::scalarField>
Foam::totalPressureFvPatchScalarField::gradientBoundaryCoeffs() const
{
return tmp<scalarField>
(
new scalarField(this->size(), 0.0)
);
}
void Foam::totalPressureFvPatchScalarField::write(Ostream& os) const
{
fvPatchScalarField::write(os);

View file

@ -207,30 +207,6 @@ public:
//- Update the coefficients associated with the patch field
virtual void updateCoeffs();
//- Return patch-normal gradient
virtual tmp<scalarField> snGrad() const;
//- Return the matrix diagonal coefficients corresponding to the
// evaluation of the value of this patchField with given weights
virtual tmp<scalarField> valueInternalCoeffs
(
const tmp<scalarField>&
) const;
//- Return the matrix source coefficients corresponding to the
// evaluation of the value of this patchField with given weights
virtual tmp<scalarField> valueBoundaryCoeffs
(
const tmp<scalarField>&
) const;
//- Return the matrix diagonal coefficients corresponding to the
// evaluation of the gradient of this patchField
virtual tmp<scalarField> gradientInternalCoeffs() const;
//- Return the matrix source coefficients corresponding to the
// evaluation of the gradient of this patchField
virtual tmp<scalarField> gradientBoundaryCoeffs() const;
//- Write
virtual void write(Ostream&) const;

View file

@ -90,7 +90,7 @@ inline void Foam::UList<T>::checkStart(const label start) const
if (start<0 || (start && start>=size_))
{
FatalErrorIn("UList<T>::checkStart(const label)")
<< "start " << start << " out of range 0 ... " << max(label(size_-1), label(0))
<< "start " << start << " out of range 0 ... " << max(size_-1, 0)
<< abort(FatalError);
}
}

View file

@ -168,7 +168,7 @@ void Foam::BlockILUCpPrecon<Type>::calcActiveTypeFactorization
// Update diagonal entry, inverting it for future use
LDUType& diagRowI = diagPtr[rowI];
diagRowI = mult.inv(zDiagI);
diagRowI = mult.inverse(zDiag);
// Index for updating L and U
register label zwIndex;

View file

@ -295,7 +295,7 @@ void coupledKEpsilon::correct()
+ fvm::div(phi_, k_)
+ fvm::SuSp(-fvc::div(phi_), k_)
- fvm::laplacian(DkEff(), k_)
+ fvm::Sp(Cmu_*k_/(nut_ + nutSmall_), k_)
+ fvm::Sp(Cmu_*k_/(nut_ + nutSmall), k_)
- G
);