Lateral Boundary Conditions: Difference between revisions
From WikiROMS
Jump to navigationJump to search
No edit summary (change visibility) |
No edit summary (change visibility) |
||
Line 11: | Line 11: | ||
{| id="var_tab" style="font-family: monospace" border="1" cellspacing="0" cellpadding="5" align="center" | {| id="var_tab" style="font-family: monospace" border="1" cellspacing="0" cellpadding="5" align="center" | ||
! align=" | ! align="center" | CPP | ||
! align=" | ! align="center" | Logical Switch : IF LBC(...) THEN | ||
|- bgcolor="white" | |- bgcolor="white" | ||
|align="right" | [[Options#WEST_FSRADIATION|WEST_FSRADIATION]] | |align="right" | [[Options#WEST_FSRADIATION|WEST_FSRADIATION]] |
Revision as of 16:12, 9 September 2011
Lateral Boundary Conditions
The lateral boundary conditions are now specified with logical switches instead of CPP flags to allow nested grid configurations. Their values are loaded into the structured array:
where 1:4 are the numbered boundary edges, nLBCvar are the number LBC state variables, and Ngrids is the number of nested grids.
Changes
CPP | Logical Switch : IF LBC(...) THEN |
---|---|
WEST_FSRADIATION | LBC(iwest, isFsur, ng) % radiation |
EAST_FSRADIATION | LBC(ieast, isFsur, ng) % radiation |
SOUTH_FSRADIATION | LBC(isouth, isFsur, ng) % radiation |
NORTH_FSRADIATION | LBC(inorth, isFsur, ng) % radiation |
WEST_TRADIATION | LBC(iwest, isTvar(:), ng) % radiation |
EAST_TRADIATION | LBC(ieast, isTvar(:), ng) % radiation |
SOUTH_TRADIATION | LBC(isouth, isTvar(:), ng) % radiation |
NORTH_TRADIATION | LBC(inorth, isTvar(:), ng) % radiation |