T-Flows icon indicating copy to clipboard operation
T-Flows copied to clipboard

It just occurred to me ...

Open Niceno opened this issue 4 years ago • 2 comments

... if we were storing boundary condition information in faces, rather than in boundary cells, we would avoid all those

if(c2 < 0) then
  ! Do what needs to be done
end if

That would shorten the code, and make it faster to an extent

Niceno avatar May 14 '20 19:05 Niceno

Dear Egor, I see you assigned this issue to your own self. I guess it means you like the idea or at least agree with it?

Niceno avatar May 17 '20 07:05 Niceno

Definitely, Bojan, For some models like Rsm we solve numerous similar of equations with tons of checks like this. I feel that it should improve performance for those models.

I am working on this issue today.

palkinev avatar May 18 '20 03:05 palkinev