Class faMatrix is not fully compilable
src/finiteArea/faMatrices/faMatrix/faMatrix.C) does not compile under OpenFOAM-v2006 as it uses:
lduMatrix::eliminatedEqns()that is part of foam-extend-4.1-project, but misses in OpenFOAM-v2006
internalField()method that seems to be renamed to
Steps to reproduce
Try to compile the attached code:
What is the current bug behaviour?
What is the expected correct behavior?
Relevant logs and/or images
- OpenFOAM version : OpenFOAM-v2006
- Operating system : CentOS 8 (4.18.0-193.14.2.el8_2.x86_64)
- Hardware info : VirtualBox 6.1.12 r139181
- Compiler : gcc 8.3.1
Bug breaks basic C++ rules, should not depend on a specific environment.
Quick and dirty patch:
A more elegant solution would involve the port of the
lduMatrix class from foam-extend-project.