added manipulateMatrix function

This commit is contained in:
andy 2008-08-27 11:13:57 +01:00
parent d9535b4b35
commit 1dc35beb58
2 changed files with 17 additions and 2 deletions

View File

@ -28,6 +28,7 @@ License
#include "dictionary.H"
#include "fvMesh.H"
#include "fvPatchFieldMapper.H"
//#include "fvMatrices.H"
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
@ -223,6 +224,13 @@ void Foam::fvPatchField<Type>::evaluate(const Pstream::commsTypes)
}
template<class Type>
void Foam::fvPatchField<Type>::manipulateMatrix(fvMatrix<Type>& matrix)
{
// do nothing
}
template<class Type>
void Foam::fvPatchField<Type>::write(Ostream& os) const
{

View File

@ -27,12 +27,12 @@ Class
Description
Abstract base class with a fat-interface to all derived classes
covering all possible ways in which they might be used.
covering all possible ways in which they might be used.
The first level of derivation is to basic patchFields which cover
zero-gradient, fixed-gradient, fixed-value and mixed conditions.
The next level of derivation covers all the specialised typed with
The next level of derivation covers all the specialised types with
specific evaluation proceedures, particularly with respect to specific
fields.
@ -66,6 +66,9 @@ class volMesh;
template<class Type>
class fvPatchField;
template<class Type>
class fvMatrix;
template<class Type>
Ostream& operator<<(Ostream&, const fvPatchField<Type>&);
@ -407,6 +410,10 @@ public:
}
//- Manipulate matrix
virtual void manipulateMatrix(fvMatrix<Type>& matrix);
//- Write
virtual void write(Ostream&) const;