A question about nCellsAll in MPAS Ocean #6164
Replies: 1 comment 3 replies
-
@jacob-stu-allen, you are only printing output from processor 0 by default. You need to compile in debug mode to get output from all processors (each in its own log file).
I don't see any mention of |
Beta Was this translation helpful? Give feedback.
-
Hello!
I'm adding source code modifications to mpas_ocn_surface_bulk_forcing.f90 in mpaso, and I'm confused about the nCells and nCellsAll integers commonly used in the mpas subroutines. For my modifications to work, I need to loop through each cell and make an if statement at each cell of windStressZonal. However, when I print out nCellsAll, it's much smaller than I expected (2252) and restricts my computation to about 190°E-210°E and 15°S-5°S.
How do I loop through each cell on the ocean surface? See subroutine, wind_bolster_user in the attached mpas_ocn_surface_bulk_forcing.f90.
My two modified files are attached. I would attach the ocean log, but it's ~40 mb as I printed out every lat, lon in the do loop starting on line 287.
Thanks in advance,
Jacob
Beta Was this translation helpful? Give feedback.
All reactions