Download data/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.H from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 29.2 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.H
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.H
-
curl -L -o fvMatrix.H https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/src/finiteVolume/fvMatrices/fvMatrix/fvMatrix.H
29.2 kB
| /*---------------------------------------------------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Copyright (C) 2011-2026 OpenFOAM Foundation | |
| \\/ M anipulation | | |
| ------------------------------------------------------------------------------- | |
| License | |
| This file is part of OpenFOAM. | |
| OpenFOAM is free software: you can redistribute it and/or modify it | |
| under the terms of the GNU General Public License as published by | |
| the Free Software Foundation, either version 3 of the License, or | |
| (at your option) any later version. | |
| OpenFOAM is distributed in the hope that it will be useful, but WITHOUT | |
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
| FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
| for more details. | |
| You should have received a copy of the GNU General Public License | |
| along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. | |
| Class | |
| Foam::fvMatrix | |
| Description | |
| A special matrix type and solver, designed for finite volume | |
| solutions of scalar equations. | |
| Face addressing is used to make all matrix assembly | |
| and solution loops vectorise. | |
| SourceFiles | |
| fvMatrix.C | |
| fvMatrixSolve.C | |
| fvScalarMatrix.C | |
| \*---------------------------------------------------------------------------*/ | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| namespace Foam | |
| { | |
| // Forward declaration of friend functions and operators | |
| template<class Type> | |
| class fvMatrix; | |
| template<class Type> | |
| tmp<VolInternalField<Type>> operator& | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template<class Type> | |
| tmp<VolInternalField<Type>> operator& | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<VolInternalField<Type>> operator& | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template<class Type> | |
| tmp<VolInternalField<Type>> operator& | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| Ostream& operator<<(Ostream&, const fvMatrix<Type>&); | |
| template<class T> class UIndirectList; | |
| /*---------------------------------------------------------------------------*\ | |
| Class fvMatrix Declaration | |
| \*---------------------------------------------------------------------------*/ | |
| template<class Type> | |
| class fvMatrix | |
| : | |
| public tmp<fvMatrix<Type>>::refCount, | |
| public lduMatrix | |
| { | |
| // Private Data | |
| //- Const reference to VolField<Type> | |
| // Converted into a non-const reference at the point of solution. | |
| const VolField<Type>& psi_; | |
| //- Dimension set | |
| dimensionSet dimensions_; | |
| //- Source term | |
| Field<Type> source_; | |
| //- Boundary scalar field containing pseudo-matrix coeffs | |
| // for internal cells | |
| Field<Field<Type>> internalCoeffs_; | |
| //- Boundary scalar field containing pseudo-matrix coeffs | |
| // for boundary cells | |
| Field<Field<Type>> boundaryCoeffs_; | |
| //- Face flux field for non-orthogonal correction | |
| mutable SurfaceField<Type>* faceFluxCorrectionPtr_; | |
| protected: | |
| //- Declare friendship with the fvSolver class | |
| friend class fvSolver; | |
| // Protected Member Functions | |
| //- Add patch contribution to internal field | |
| template<class Type2> | |
| void addToInternalField | |
| ( | |
| const labelUList& addr, | |
| const Field<Type2>& pf, | |
| Field<Type2>& intf | |
| ) const; | |
| template<class Type2> | |
| void addToInternalField | |
| ( | |
| const labelUList& addr, | |
| const tmp<Field<Type2>>& tpf, | |
| Field<Type2>& intf | |
| ) const; | |
| //- Subtract patch contribution from internal field | |
| template<class Type2> | |
| void subtractFromInternalField | |
| ( | |
| const labelUList& addr, | |
| const Field<Type2>& pf, | |
| Field<Type2>& intf | |
| ) const; | |
| template<class Type2> | |
| void subtractFromInternalField | |
| ( | |
| const labelUList& addr, | |
| const tmp<Field<Type2>>& tpf, | |
| Field<Type2>& intf | |
| ) const; | |
| // Matrix completion functionality | |
| void addBoundaryDiag | |
| ( | |
| scalarField& diag, | |
| const direction cmpt | |
| ) const; | |
| void addCmptAvBoundaryDiag(scalarField& diag) const; | |
| void addBoundarySource | |
| ( | |
| Field<Type>& source, | |
| const bool couples=true | |
| ) const; | |
| // Matrix manipulation functionality | |
| //- Set solution in the given cell to the specified value | |
| void setValue | |
| ( | |
| const label celli, | |
| const Type& value | |
| ); | |
| //- Set solution in the given cell to the specified value | |
| void setValue | |
| ( | |
| const label celli, | |
| const Type& value, | |
| const scalar fraction, | |
| const scalarField& ddtDiag | |
| ); | |
| public: | |
| //- Solver class returned by the solver function | |
| // used for systems in which it is useful to cache the solver for reuse | |
| // e.g. if the solver is potentially expensive to construct (AMG) and can | |
| // be used several times (PISO) | |
| class fvSolver | |
| { | |
| fvMatrix<Type>& fvMat_; | |
| autoPtr<lduMatrix::solver> solver_; | |
| public: | |
| // Constructors | |
| fvSolver(fvMatrix<Type>& fvMat, autoPtr<lduMatrix::solver> sol) | |
| : | |
| fvMat_(fvMat), | |
| solver_(sol) | |
| {} | |
| // Member Functions | |
| //- Solve returning the solution statistics. | |
| // Use the given solver controls | |
| SolverPerformance<Type> solve(const dictionary&); | |
| //- Solve returning the solution statistics. | |
| // Solver controls read from fvSolution | |
| SolverPerformance<Type> solve(); | |
| }; | |
| ClassName("fvMatrix"); | |
| // Constructors | |
| //- Construct given a field to solve for | |
| fvMatrix | |
| ( | |
| const VolField<Type>&, | |
| const dimensionSet& | |
| ); | |
| //- Copy constructor | |
| fvMatrix(const fvMatrix<Type>&); | |
| //- Copy constructor of tmp<fvMatrix<Type>> deleting argument | |
| fvMatrix(const tmp<fvMatrix<Type>>&); | |
| //- Construct from Istream given field to solve for | |
| fvMatrix(const VolField<Type>&, Istream&); | |
| //- Clone | |
| tmp<fvMatrix<Type>> clone() const; | |
| //- Destructor | |
| virtual ~fvMatrix(); | |
| // Member Functions | |
| // Access | |
| VolField<Type>& psi() | |
| { | |
| return const_cast<VolField<Type>&> | |
| ( | |
| psi_ | |
| ); | |
| } | |
| const VolField<Type>& psi() const | |
| { | |
| return psi_; | |
| } | |
| const fvMesh& mesh() const | |
| { | |
| return psi_.mesh(); | |
| } | |
| const dimensionSet& dimensions() const | |
| { | |
| return dimensions_; | |
| } | |
| Field<Type>& source() | |
| { | |
| return source_; | |
| } | |
| const Field<Type>& source() const | |
| { | |
| return source_; | |
| } | |
| //- fvBoundary scalar field containing pseudo-matrix coeffs | |
| // for internal cells | |
| Field<Field<Type>>& internalCoeffs() | |
| { | |
| return internalCoeffs_; | |
| } | |
| //- fvBoundary scalar field containing pseudo-matrix coeffs | |
| // for boundary cells | |
| Field<Field<Type>>& boundaryCoeffs() | |
| { | |
| return boundaryCoeffs_; | |
| } | |
| //- Return pointer to face-flux non-orthogonal correction field | |
| SurfaceField<Type>*& faceFluxCorrectionPtr() | |
| { | |
| return faceFluxCorrectionPtr_; | |
| } | |
| // Operations | |
| //- Set solution in given cells to the specified values | |
| // and eliminate the corresponding equations from the matrix. | |
| template<template<class> class ListType> | |
| void setValues | |
| ( | |
| const labelUList& cells, | |
| const ListType<Type>& values | |
| ); | |
| //- Set solution in given cells to the specified values | |
| // and eliminate the corresponding equations from the matrix. | |
| template<template<class> class ListType> | |
| void setValues | |
| ( | |
| const labelUList& cells, | |
| const ListType<Type>& values, | |
| const scalarList& fractions, | |
| const bool hasDdt = true | |
| ); | |
| //- Set reference level for solution | |
| void setReference | |
| ( | |
| const label celli, | |
| const Type& value, | |
| const bool forceReference = false | |
| ); | |
| //- Set reference level for a component of the solution | |
| // on a given patch face | |
| void setComponentReference | |
| ( | |
| const label patchi, | |
| const label facei, | |
| const direction cmpt, | |
| const scalar value | |
| ); | |
| //- Return the relaxation factor for this equation | |
| scalar relaxationFactor() const; | |
| //- Relax matrix (for steady-state solution). | |
| // alpha = 1 : diagonally equal | |
| // alpha < 1 : diagonally dominant | |
| // alpha = 0 : do nothing | |
| // Note: Requires positive diagonal. | |
| void relax(const scalar alpha); | |
| //- Relax matrix (for steady-state solution). | |
| // alpha is read from controlDict | |
| void relax(); | |
| //- Manipulate based on a boundary field | |
| void boundaryManipulate | |
| ( | |
| typename VolField<Type>::Boundary& values | |
| ); | |
| //- Construct and return the solver | |
| // Use the given solver controls | |
| autoPtr<fvSolver> solver(const dictionary&); | |
| //- Construct and return the solver | |
| // Solver controls read from fvSolution | |
| autoPtr<fvSolver> solver(); | |
| //- Solve segregated or coupled returning the solution statistics. | |
| // Use the given solver controls | |
| SolverPerformance<Type> solve(const dictionary&); | |
| //- Solve segregated returning the solution statistics. | |
| // Use the given solver controls | |
| SolverPerformance<Type> solveSegregated(const dictionary&); | |
| //- Solve coupled returning the solution statistics. | |
| // Use the given solver controls | |
| SolverPerformance<Type> solveCoupled(const dictionary&); | |
| //- Solve segregated or coupled returning the solution statistics. | |
| // Solver controls read from fvSolution | |
| SolverPerformance<Type> solve(const word& name); | |
| //- Solve returning the solution statistics. | |
| // Solver controls read from fvSolution | |
| SolverPerformance<Type> solve(); | |
| //- Return the matrix residual | |
| tmp<Field<Type>> residual() const; | |
| //- Return the matrix scalar diagonal | |
| tmp<scalarField> D() const; | |
| //- Return the matrix Type diagonal | |
| tmp<Field<Type>> DD() const; | |
| //- Return the central coefficient | |
| tmp<volScalarField> A() const; | |
| //- Return the explicit source | |
| tmp<VolInternalField<Type>> Su() const; | |
| //- Return the implicit source | |
| tmp<volInternalScalarField> Sp() const; | |
| //- Return the H operation source | |
| tmp<VolField<Type>> H() const; | |
| //- Return H(1) | |
| tmp<volScalarField> H1() const; | |
| //- Return the face-flux field from the matrix | |
| tmp<SurfaceField<Type>> | |
| flux() const; | |
| // Member Operators | |
| void operator=(const fvMatrix<Type>&); | |
| void operator=(const tmp<fvMatrix<Type>>&); | |
| void negate(); | |
| void operator+=(const fvMatrix<Type>&); | |
| void operator+=(const tmp<fvMatrix<Type>>&); | |
| void operator-=(const fvMatrix<Type>&); | |
| void operator-=(const tmp<fvMatrix<Type>>&); | |
| void operator+= | |
| ( | |
| const VolInternalField<Type>& | |
| ); | |
| //- Assign-add an expression | |
| template<class Expression, class = EnableIfExpression<Expression>> | |
| void operator+=(const Expression& e); | |
| void operator+= | |
| ( | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| void operator+= | |
| ( | |
| const tmp<VolField<Type>>& | |
| ); | |
| void operator-= | |
| ( | |
| const VolInternalField<Type>& | |
| ); | |
| //- Assign-subtract an expression | |
| template<class Expression, class = EnableIfExpression<Expression>> | |
| void operator-=(const Expression& e); | |
| void operator-= | |
| ( | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| void operator-= | |
| ( | |
| const tmp<VolField<Type>>& | |
| ); | |
| void operator+=(const dimensioned<Type>&); | |
| void operator-=(const dimensioned<Type>&); | |
| void operator+=(const zero&); | |
| void operator-=(const zero&); | |
| void operator*=(const volInternalScalarField&); | |
| //- Assign-multiply by an expression | |
| template<class Expression, class = EnableIfExpression<Expression>> | |
| void operator*=(const Expression& e); | |
| void operator*=(const tmp<volInternalScalarField>&); | |
| void operator*=(const tmp<volScalarField>&); | |
| void operator*=(const dimensioned<scalar>&); | |
| void operator/=(const volInternalScalarField&); | |
| //- Assign-divide by an expression | |
| template<class Expression, class = EnableIfExpression<Expression>> | |
| void operator/=(const Expression& e); | |
| void operator/=(const tmp<volInternalScalarField>&); | |
| void operator/=(const tmp<volScalarField>&); | |
| void operator/=(const dimensioned<scalar>&); | |
| // Friend operators | |
| friend tmp<VolInternalField<Type>> | |
| operator& <Type> | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>& | |
| ); | |
| friend tmp<VolInternalField<Type>> | |
| operator& <Type> | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| friend tmp<VolInternalField<Type>> | |
| operator& <Type> | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const VolInternalField<Type>& | |
| ); | |
| friend tmp<VolInternalField<Type>> | |
| operator& <Type> | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| // Ostream operator | |
| friend Ostream& operator<< <Type> | |
| ( | |
| Ostream&, | |
| const fvMatrix<Type>& | |
| ); | |
| }; | |
| namespace expression | |
| { | |
| template<class Type> | |
| struct Expressionable<fvMatrix<Type>> | |
| : | |
| public notExpressionable | |
| {}; | |
| } | |
| // * * * * * * * * * * * * * * * Global functions * * * * * * * * * * * * * // | |
| template<class Type> | |
| void checkMethod | |
| ( | |
| const fvMatrix<Type>&, | |
| const fvMatrix<Type>&, | |
| const char* | |
| ); | |
| template<class Type> | |
| void checkMethod | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>&, | |
| const char* | |
| ); | |
| template<class Type> | |
| void checkMethod | |
| ( | |
| const fvMatrix<Type>&, | |
| const dimensioned<Type>& dt, | |
| const char* | |
| ); | |
| template<class Type, class Expression, class = EnableIfExpression<Expression>> | |
| void checkMethod | |
| ( | |
| const fvMatrix<Type>&, | |
| const Expression&, | |
| const char* | |
| ); | |
| //- Solve returning the solution statistics given convergence tolerance | |
| // Use the given solver controls | |
| template<class Type> | |
| SolverPerformance<Type> solve(fvMatrix<Type>&, const word&); | |
| //- Solve returning the solution statistics given convergence tolerance, | |
| // deleting temporary matrix after solution. | |
| // Use the given solver controls | |
| template<class Type> | |
| SolverPerformance<Type> solve | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const word& | |
| ); | |
| //- Solve returning the solution statistics given convergence tolerance | |
| // Solver controls read fvSolution | |
| template<class Type> | |
| SolverPerformance<Type> solve(fvMatrix<Type>&); | |
| //- Solve returning the solution statistics given convergence tolerance, | |
| // deleting temporary matrix after solution. | |
| // Solver controls read fvSolution | |
| template<class Type> | |
| SolverPerformance<Type> solve(const tmp<fvMatrix<Type>>&); | |
| //- Return the correction form of the given matrix | |
| // by subtracting the matrix multiplied by the current field | |
| template<class Type> | |
| tmp<fvMatrix<Type>> correction(const fvMatrix<Type>&); | |
| //- Return the correction form of the given temporary matrix | |
| // by subtracting the matrix multiplied by the current field | |
| template<class Type> | |
| tmp<fvMatrix<Type>> correction(const tmp<fvMatrix<Type>>&); | |
| // * * * * * * * * * * * * * * * Global operators * * * * * * * * * * * * * // | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const fvMatrix<Type>&, | |
| const zero& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator== | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const zero& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const VolInternalField<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const Expression& e, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<VolInternalField<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<VolField<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const VolInternalField<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const Expression& e, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<VolInternalField<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<VolField<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const fvMatrix<Type>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const dimensioned<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator+ | |
| ( | |
| const dimensioned<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const VolInternalField<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolInternalField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<VolField<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const VolInternalField<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const Expression& e, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<VolInternalField<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<VolField<Type>>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const VolInternalField<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const Expression& e, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<VolInternalField<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<VolField<Type>>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const fvMatrix<Type>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const dimensioned<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const dimensioned<Type>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator- | |
| ( | |
| const dimensioned<Type>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const volInternalScalarField&, | |
| const fvMatrix<Type>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const Expression& e, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const tmp<volInternalScalarField>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const tmp<volScalarField>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const volInternalScalarField&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const Expression& e, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const tmp<volInternalScalarField>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const tmp<volScalarField>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const dimensioned<scalar>&, | |
| const fvMatrix<Type>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator* | |
| ( | |
| const dimensioned<scalar>&, | |
| const tmp<fvMatrix<Type>>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const fvMatrix<Type>&, | |
| const volInternalScalarField& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const fvMatrix<Type>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<volInternalScalarField>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const fvMatrix<Type>&, | |
| const tmp<volScalarField>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const volInternalScalarField& | |
| ); | |
| template | |
| < | |
| class Type, | |
| class Expression, | |
| class = EnableIfExpression<Expression> | |
| > | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const Expression& e | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<volInternalScalarField>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const tmp<volScalarField>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const fvMatrix<Type>&, | |
| const dimensioned<scalar>& | |
| ); | |
| template<class Type> | |
| tmp<fvMatrix<Type>> operator/ | |
| ( | |
| const tmp<fvMatrix<Type>>&, | |
| const dimensioned<scalar>& | |
| ); | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| } // End namespace Foam | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| // Specialisation for scalars | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| // ************************************************************************* // | |