WENO-OF / WENOEXT

Weighted essentially non-oscillatory library for the framework of OpenFOAM
GNU General Public License v3.0
119 stars 64 forks source link

Loop over cell index not face index #6

Closed JanGaertner closed 4 years ago

JanGaertner commented 4 years ago

https://github.com/TobiasMartin/WENOEXT/blob/d513a696055ddae97290cf450c858c1151ededc5/libWENOEXT/finiteVolume/interpolation/surfaceInterpolation/schemes/WENOUpwindFit/WENOUpwindFit.C#L740

Here it is looped over a cell index not a face index. I believe it would be corrrect to loop over the cell index to access the correct face flux

JanGaertner commented 4 years ago

Ah just saw that it only loops over the number of cells which is equal of the number of faces and requires this for the dimension option...