fvMatrix: Corrected type returned by Su method

This commit is contained in:
Will Bainbridge
2023-09-15 12:02:04 +01:00
parent 0b321e3eea
commit 1ff0bcd81b
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -827,11 +827,11 @@ Foam::tmp<Foam::volScalarField> Foam::fvMatrix<Type>::A() const
template<class Type>
Foam::tmp<Foam::volScalarField::Internal> Foam::fvMatrix<Type>::Su() const
Foam::tmp<Foam::VolInternalField<Type>> Foam::fvMatrix<Type>::Su() const
{
tmp<volScalarField::Internal> tSu
tmp<VolInternalField<Type>> tSu
(
volScalarField::Internal::New
VolInternalField<Type>::New
(
"Su(" +psi_.name() + ')',
psi_.mesh(),

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -438,7 +438,7 @@ public:
tmp<volScalarField> A() const;
//- Return the explicit source
tmp<volScalarField::Internal> Su() const;
tmp<VolInternalField<Type>> Su() const;
//- Return the implicit source
tmp<volScalarField::Internal> Sp() const;