Hi All,
I'm trying to look at
Hi All,
I'm trying to look at the coefficients from fvMatrix. Is there an easy way to print or look at them. So far I figured out that fvMatrix is derived from lduMatrix and the adressing is in fvMesh but I found no method to ouput the coefficients. For a GeometricField I can construct a object with an IOobject which is really nice. Can I do something similar for fvMatrix? Thanks in advance! Marco |
From the fvMatrix.H file, it l
From the fvMatrix.H file, it looks like the Ostream operator is overloaded to handle output:
template<class> Ostream& operator<<(ostream&>& fvm) { os <<>(fvm) << nl << fvm.dimensions_ << nl << fvm.source_ << nl << fvm.internalCoeffs_ << nl << fvm.boundaryCoeffs_ << endl; os.check("Ostream& operator<<(ostream&,>&"); return os; } Try using Info << yourFvMatrix << endl; |
Hi Sandeep,
it worked. Grea
Hi Sandeep,
it worked. Great! Thanks for your help. Best regards, Marco |
All times are GMT -4. The time now is 17:50. |