CharacteristicMappingMethod / cmm-turbulence

CMM Turbulence code
GNU General Public License v3.0
1 stars 0 forks source link

QoL: reorder kernel and host function calls #34

Closed Arcadia197 closed 1 year ago

Arcadia197 commented 2 years ago

My kernel and host functions became quite messy and could be worked over to improve readability.

What could be done: Restructure all functions to be consistent. This should be in the order of 1) SettingsMain, 2) MapStack, 3) TCudaGrid2D, 4) Grid variables, 5) FFT stuff, 6) the rest

Shorten function inputs, this could be done by bundling up stuff.

Arcadia197 commented 1 year ago

I shortened the input recently by creating maps that hold all variables. I believe this is now atleast somewhat more readable