Repository navigation
馃ェ Oceananigans v0.3: More model features and super hacky GPU support.
Pre-release
Pre-release
Features
- Main struct is now the
Modelinstead of theProblem. It should be neater too. - Support for no-slip boundary conditions at the top and bottom.
- Boundary condition information stored in a
BoundaryConditionsstruct. - Abstract output writer (checkpoints and writing fields to disk) and diagnostics framework.
ModelMetadatastruct to store architecture (e.g.:cpuor:gpu) and floating point number precision.ModelConfigurationstruct to store physical parameters such as viscosity and diffusivity.Clockstruct keeps track of time, time step number, and 螖t.- Refactored 未! and avg! operators to use
@views @.so they work on CPUs and GPUs. - GPU-compatible DFT! and IDFT! operators based on FFT! and IFFT! operations.
- Super hacky and very slow GPU support (but it works out of the box!). This will be overhauled ASAP.
- Support for 1D vertical models.
- More examples: stratified deep convection, Rayleigh鈥揃茅nard convection, 1D vertical.
Main bug fixes
- Added in Coriolis term for u and v-momentum equations (important for 3D simulations). ali-ramadhan@1b07df1
- Fixed typo in u鈭噖! operator causing blowup in some 2D simulations (Ay and Az were mixed up). ali-ramadhan@d7326c8