Skip to content

Instantly share code, notes, and snippets.

View angus-g's full-sized avatar

Angus Gibson angus-g

  • The Australian National University
View GitHub Profile
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="Parallel partitioning, load balancing and data-management services"
HOMEPAGE="http://www.cs.sandia.gov/zoltan"
SRC_URI="http://cs.sandia.gov/~kddevin/Zoltan_Distributions/${PN}_distrib_v${PV}.tar.gz"
!> Increments the diapycnal diffusivity in a specified band of latitudes and densities.
module user_change_diffusivity
! This file is part of MOM6. See LICENSE.md for the license.
use MOM_diag_mediator, only : diag_ctrl, time_type
use MOM_error_handler, only : MOM_error, is_root_pe, FATAL, WARNING, NOTE
use MOM_file_parser, only : get_param, log_version, param_file_type
use MOM_grid, only : ocean_grid_type
use MOM_unit_scaling, only : unit_scale_type
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import glfw
import OpenGL.GL as gl
from OpenGL.GL import shaders
import numpy as np
from numpy import array
import imgui
from imgui.integrations.glfw import GlfwRenderer
def main():
! Copyright (C) 2018 Your name.
! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays colors.constants fonts io kernel locals math namespaces opengl prettyprint sequences strings
ui ui.gadgets ui.gadgets.labels ui.gadgets.worlds ui.gestures ui.render ui.text ;
IN: rogue
TUPLE: cell { value string } ;
: <cell> ( -- cell )
cell new " " >>value ;