Dear all,
I write #define VISC2 into cpp.h and make,however I find that roms invoking VISC4。I don’t know which is in conflict with VISC2 in cpp.h?now I need your help。
how to choose cpp?
Re: how to choose cpp?
The code I have calls it UV_VIS2, not VISC2. Asking for a flag ROMS doesn't know about is like asking for #define MARS, not going to do anything. Which ROMS are you using?
Re: how to choose cpp?
Sorry,I write #define UV_VISC2 into cpp.h。
Re: how to choose cpp?
What advection scheme are you using? There's this block in globaldefs.h:
Code: Select all
#ifdef UV_U3ADV_SPLIT
# define VISC_3DCOEF
# ifndef UV_C4ADVECTION
# define UV_C4ADVECTION
# endif
# ifndef UV_VIS4
# define UV_VIS4
# endif
# ifdef UV_VIS2
# undef UV_VIS2
# endif
# ifdef UV_SMAGORINSKY
# undef UV_SMAGORINSKY
# endif
#endif
Re: how to choose cpp?
I need globaldefs.h and find the reason of my problem. Thank you very much.