ascl_id stringclasses 752
values | repo_url stringclasses 737
values | file_path stringlengths 4 194 | content large_stringlengths 1 1M | language stringclasses 29
values | license_type stringclasses 24
values | size int64 1 1M |
|---|---|---|---|---|---|---|
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/Namelist_Definitions/numerical_controls_namelist.txt | **band_solve**
For use with models employing either a finite-difference scheme or at least three Chebyshev domains in radius. In those models, the rows of the normally dense matrices used in the Crank-Nicolson scheme may be rearranged into a banded or block-banded form for finite-difference and Chebyshev methods res... | Text | Unknown | 2,129 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/publications/author_plot.R | # Code to make a network plot of ASPECT authors
# Jane Carlen, February 2019
# Modify paths and files for inclusion in ASPECT repo and website.
# LJ Hwang May 2019
# Modified for Rayleigh
# LJ Hwang July 2019
# ------------------------------------------------------------------------------------------
# 0. Setup ----... | R | Unknown | 4,989 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/publications/publications.rst | .. raw:: latex
\clearpage
Publications
============
A list of publications using the Rayleigh code.
Software Citation
-----------------
**List:** :cite:`nicholas_featherstone_2024_11391213`, :cite:`nicholas_featherstone_2022_6522806` :cite:`nicholas_featherstone_2021_5774039`, :cite:`nicholas_featherstone_20... | reStructuredText | Unknown | 1,578 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/induction_equation.rst | Induction Equation
====================================================================
======================================================================================================================================= ====== ===========================
:math:`\left[\boldsymbol{B}\cdot\boldsymbol{\nabla}\boldsy... | reStructuredText | Unknown | 12,340 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/qcodes.rst | .. _quantityCodes:
Output Quantity Codes
=====================
.. toctree::
:maxdepth: 2
:caption: Below are tables enumerating the menu codes necessary to specify diagnostic outputs in Rayleigh.
velocity_field
mass_flux
vorticity_field
kinetic_energy
thermal_field
thermal_energy
magnetic_... | reStructuredText | Unknown | 705 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/momentum_equation.rst | Momentum Equation
====================================================================
=============================================================================================================================== ====== ==========================
:math:`\mathrm{f}_1\left[\boldsymbol{v}\cdot\boldsymbol{\nabla}\bold... | reStructuredText | Unknown | 10,340 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/magnetic_energy.rst | Magnetic Energy
====================================================================
=================================================== ====== ====================
:math:`\frac{1}{2}c_4\boldsymbol{B}^2` 1101 magnetic\_energy
:math:`\frac{1}{2}c_4B_r^2` 1102 radial\_me ... | reStructuredText | Unknown | 1,198 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/axial_field.rst | Axial Field
====================================================================
======================================================= ====== =====================
:math:`v_z` 2801 v\_z
:math:`\overline{v_z}` 2802 vm\... | reStructuredText | Unknown | 2,449 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/mass_flux.rst | Mass Flux
====================================================================
========================================= ===== ===============
:math:`\mathrm{f}_1v_r` 201 rhov\_r
:math:`\mathrm{f}_1v_\theta` 202 rhov\_theta
:math:`\mathrm{f}_1v_\phi` 203 ... | reStructuredText | Unknown | 786 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/vorticity_field.rst | Vorticity
====================================================================
============================================================================ ===== =========================
:math:`\omega_r` 301 vort\_r
:math:`\omega_\theta` ... | reStructuredText | Unknown | 4,820 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/thermal_energy.rst | Thermal Energy
====================================================================
================================================================== ===== =========================
:math:`\mathrm{f}_1\mathrm{f}_4\Theta` 701 thermal\_energy\_full
:math:`\mathrm{f}_1\mathrm{f}_4\Thet... | reStructuredText | Unknown | 1,411 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/velocity_field.rst | Velocity Field
====================================================================
========================================================================================= ===== ==================
:math:`v_r` 1 v\_r
:math:`v_... | reStructuredText | Unknown | 12,692 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/kinetic_energy.rst | Kinetic Energy
====================================================================
=========================================================== ===== ===================
:math:`\frac{1}{2}\mathrm{f}_1{\boldsymbol v}^2` 401 kinetic\_energy
:math:`\frac{1}{2}\mathrm{f}_1v_r^2` 40... | reStructuredText | Unknown | 2,268 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/amom_equation.rst | Angular Momentum Equation
====================================================================
=================================================================================================================================================== ====== ======================
:math:`r\,\mathrm{sin}\theta\mathrm{f}_1\lef... | reStructuredText | Unknown | 5,153 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/ke_equation.rst | Kinetic Energy Equation
====================================================================
====================================================================================================================================================== ====== ========================
:math:`-c_3\mathrm{f}_1\boldsymbol{v}\cdo... | reStructuredText | Unknown | 10,135 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/magnetic_field.rst | Magnetic Field
====================================================================
========================================================================================= ===== ==================
:math:`B_r` 801 b\_r
:math:`B_... | reStructuredText | Unknown | 12,692 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/turbKE.rst | Turbulent Kinetic Energy Generation
====================================================================
========================================================================================================================================= ====== ============================
:math:`\mathrm{f}_2{\Theta^\prime}{v^\... | reStructuredText | Unknown | 3,781 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/thermal_field.rst | Thermal Variables
====================================================================
======================================================================================== ===== ======================
:math:`\Theta` 501 entropy
:ma... | reStructuredText | Unknown | 9,004 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/thermal_equation.rst | Thermal Energy Equation
====================================================================
==================================================================================================================================================================================================================================... | reStructuredText | Unknown | 25,211 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/current_density.rst | Current Density
====================================================================
===================================================================================== ====== ===============
:math:`\mathcal{J}_r` 1001 j\_r
:math:`\mathcal{J}_r'... | reStructuredText | Unknown | 2,630 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/diagnostic_codes/me_equation.rst | Magnetic Energy Equation
====================================================================
========================================================================================================================================================================== ====== =====================
:math:`\left[\left(\bol... | reStructuredText | Unknown | 9,448 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/analyze_output.rst | .. raw:: latex
\clearpage
.. _analysis:
Analyzing Output
===============
As discussed in :ref:`output_controls`,Rayleigh comes bundled with an in-situ diagnostics package that allows
the user to sample a simulation in a variety of ways, and at
user-specified intervals throughout a run. We refer the user to the... | reStructuredText | Unknown | 7,075 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/troubleshooting.rst | .. raw:: latex
\clearpage
.. _troubleshooting:
Troubleshooting
===============
If you have questions that go beyond this manual, there are a number of
resources:
- For questions on the source code of Rayleigh,
portability, installation, new or existing features, etc., use the
Rayleigh forum at
<ht... | reStructuredText | Unknown | 2,940 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/model_setup.rst | .. raw:: latex
\clearpage
.. _model_setup:
Setting Up a Model
==================
This section details the basics of running a custom model
in Rayleigh. For a commplete list of all Rayleigh input
parameters, see :ref:`namelists`.
.. _setup_prep:
Preparation
-----------
Each simulation run using Rayleigh shoul... | reStructuredText | Unknown | 48,585 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/run_rayleigh.rst | .. raw:: latex
\clearpage
.. _run_rayleigh:
Running Rayleigh
================
After setting up a custom ``main_input`` file, now it is time to run the new model.
This section focuses on the basics of running a Rayleigh model.
.. _load_balance:
Load-Balancing
---------------------------------
Rayleigh is paral... | reStructuredText | Unknown | 21,326 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/index.rst | User Guide
**********
.. toctree::
:maxdepth: 2
getting_started
physics_math_overview
model_setup
run_rayleigh
run_at_scale
analyze_output
../../../CONTRIBUTING.md
troubleshooting
references
utilities
under_development
| reStructuredText | Unknown | 257 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/under_development.rst | .. raw:: latex
\clearpage
.. _under_development:
Under Development
=================
The following features are large undertakings that are being incrementally improved. They are provided here with no guarantee of functionality or accuracy. After testing and further development they will become supported featu... | reStructuredText | Unknown | 2,705 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/getting_started.rst | .. raw:: latex
\clearpage
.. _getting_started:
Getting Started
=================================
Accessing Rayleigh
------------------
You can download the Rayleigh source code from `Rayleigh's GitHub respository <https://github.com/geodynamics/Rayleigh>`_ .
Setting up a Rayleigh Development Environment
------... | reStructuredText | Unknown | 31,544 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/arbitrary_scalar_fields.txt | Rayleigh can solve for additional active, :math:`\chi_{a_i}`, (coupled to the momentum equation through buoyancy) or
passive, :math:`\chi_{p_i}`, scalar fields (where :math:`i` can range up to 50 for each type of scalar).
.. _scalar_equations:
Scalar Equations
^^^^^^^^^^^^^^^^
Both types of scalar fields are evolved... | Text | Unknown | 16,721 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/newtonian_cooling.txt | .. _newtonian_cooling:
Newtonian Cooling
-----------------------
We have added an initial implementation of Newtonian cooling to the code that adds a term to the thermal energy equation of the form
.. math::
:label: newton
\frac{\partial \Theta}{\partial t} = \frac{\Delta\Theta_{\mathrm{eq}}-\Theta}{\tau_\ma... | Text | Unknown | 1,861 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/physics_math_overview.rst | .. raw:: latex
\clearpage
.. _physics_math:
Underlying Physics
=======================================
Rayleigh solves the MHD equations in spherical geometry under the
Boussinesq and anelastic approximations. This section will provide a
basic overview of those equations as well as the mathematical approach
R... | reStructuredText | Unknown | 33,538 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/utilities.rst | .. raw:: latex
\clearpage
.. _utilities:
Utilities
=========
This page documents various utility scripts that are used with Rayleigh, either for pre- or post-processing.
.. _spectral_input:
Spectral Input
--------------
.. include:: spectral_input.txt
| reStructuredText | Unknown | 267 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/run_at_scale.rst | .. raw:: latex
\clearpage
.. _run_scale:
Running at Scale
================
.. _get_ready:
Getting Ready for Large Runs
----------------------------
Need text here.
.. _modules_queues:
Modules and Queues
------------------
Need text here.
.. _example_modules:
Example Configurations
----------------------... | reStructuredText | Unknown | 3,987 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/spectral_input.txt |
The python module/script `pre_processing/rayleigh_spectral_input.py` can be used to generate generic spectral input files to be used for spatially varying initial and boundary
conditions of certain variables in Rayleigh. This is used to generate a file, the name of which is entered into `main_input` to
specify which ... | Text | Unknown | 11,215 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/references.rst | .. raw:: latex
\clearpage
References
===========
.. bibliography:: references.bib
| reStructuredText | Unknown | 90 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | doc/source/User_Guide/coupled_bcs.txt | Rayleigh can couple the values and gradients of scalar fields (including the temperature/entropy, :math:`\Theta`, and active,
:math:`\chi_{a_i}`, scalar fields) at the
boundaries through this initial implementation of coupled boundary conditions.
These boundary conditions take the form:
.. math::
:label: coupled_b... | Text | Unknown | 14,287 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Meridional_Slices.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 3,446 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/lut_mapping.py | """
DO NOT EDIT THIS FILE, unless you really know what you are doing...
This file is automatically generated by generate_mapping.py. To make
changes to this file, do so by re-running that code on the
appropriate directories in the Rayleigh source code.
There are three dictionaries defined here:
name_given_code ... | Python | Unknown | 133,703 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/pyproject.toml | [tool.black]
line-length = 88
| TOML | Unknown | 30 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/reference_tools.py | #Reference State Generation Tools (reference_tools.py)
import numpy
class equation_coefficients:
""" equation coeff class """
nconst = 11 # new "version 2" default
nfunc = 14
version=2
c_dict = {'two_omega':1, 'buoy_fact':2, 'p_fact':3, 'lorentz_fact':4, 'visc_fact':5,
'diff_f... | Python | Unknown | 14,981 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/vapor_notebook.ipynb | {
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#Must have rayleigh_vapor class\n",
"#Useful to have gen_3d_filelist helper function\n",
"from rayleigh_diagnostics import rayleigh_vapor , gen_3d_filelist"
]
},
{
"cell_type"... | Jupyter Notebook | Unknown | 9,386 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/lut.py | """
Module to help manage mapping between quantity names and quantity codes
"""
from __future__ import print_function
# if custom mapping exists, use it
try:
from lut_mapping_custom import code_given_name, name_given_code, tex_given_code
except ImportError:
from lut_mapping import code_given_name, name_given_c... | Python | Unknown | 3,777 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/projection.py | import numpy
import matplotlib.pyplot as plt
import matplotlib
from scipy.interpolate import griddata
def sph_to_cart(theta,phi):
""" Assumes r = 1 for now.
Converts theta,phi to x,y,z
theta and phi should have same dimension.
returns x,y,z """
x = numpy.sin(theta)*numpy.cos(ph... | Python | Unknown | 12,114 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Point_Probes.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 11,249 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/spectral_utils_tutorial.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial: spectral_utils.py"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook demonstrates how to use the methods in the spectral_utils.py utility. There are four classes (SHT, Fourier, L... | Jupyter Notebook | Unknown | 34,849 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/rayleigh_diagnostics.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 139,893 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/rayleigh.py | #
# Copyright (C) 2021 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 34,160 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/convert_full3d_to_nc.py | #!/usr/bin/env python3
#
# Copyright (C) 2019 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at... | Python | Unknown | 3,965 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/spectral_utils.py | """
Interface to the Rayleigh grid and spectral transforms, including:
+ Fourier grid/transforms/derivatives
+ Legendre grid/transforms/derivatives
+ Chebyshev grid/transforms/derivatives
R. Orvedahl May 24, 2021
"""
from __future__ import print_function
import numpy as np
from scipy.linalg.blas import dg... | Python | Unknown | 99,407 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/generate_mapping.py | """
Generate the look-up-table for Rayleigh diagnostic output quantities.
The look-up-table maps the quantity code to the Fortran variable name associated
with that quantity code. The default behavior is to generate and store the mapping
to the file called lut_mapping.py. The main user interface is located in the file... | Python | Unknown | 20,417 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/vapor_converter.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Rayleigh output -> VAPoR input Converter\n",
"\n",
"## Setup\n",
"\n",
"You must set these variables for this notebook to run properly.\n",
"\n",
"- **vapor_version**: Version of Vapor to export for. Must be 2... | Jupyter Notebook | Unknown | 6,862 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/setup.cfg | [pycodestyle]
max-line-length = 88
# ignoring E203 is needed for compatibility with black for now
ignore = E203
| Config | Unknown | 112 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Equatorial_Slices.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,119 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_AZ_Avgs.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 5,618 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/YT_volrender_tutorial2.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial 2: Converting Spherical Quantities to Cartesian Quantities before Volume Rendering"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook provides an example of how to take Rayleigh S... | Jupyter Notebook | Unknown | 11,920 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/YT_volrender_tutorial1.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial 1: Simple Volume Rendering with yt"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook provides an example of how to prepare Rayleigh Spherical_3D data output for volume rendering ... | Jupyter Notebook | Unknown | 11,310 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/checkpoint_tutorial.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Tutorial: Reading Checkpoint File\n",
"\n",
"\n",
"This notebook will demonstrate how to read in a checkpoint file, and use the `rayleigh_diagnostics.py` and `spectral_utils.py` to analyze the file. \n"
]
},
{
"... | Jupyter Notebook | Unknown | 4,766 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_G_Avgs.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 9,920 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Shell_Avgs.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 6,098 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_shells.ipynb | {
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import numpy\n",
"import matplotlib.pyplot as plt\n",
"from matplotlib import gridspec\n",
"from rayleigh_diagnostics import Shell_Slices\n",
"from projection import plot_ortho\... | Jupyter Notebook | Unknown | 6,990 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Shell_Spectra.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,556 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/Diagnostic_Plotting.ipynb | {
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"***\n",
"Nick Featherstone (January, 2018)\n",
"\n",
"**NOTE:** This document can be viewed in PDF or HTML (recommended) form. It can also be run as an interactive Jupyter notebook.\n",
"\n",
"The HTML and PDF ve... | Jupyter Notebook | Unknown | 81,212 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/convert_full3d_to_vtu.py | #!/usr/bin/env python3
#
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at... | Python | Unknown | 3,959 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_SPH_Modes.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,248 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/plot_Shell_Slices.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 3,515 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/rayleigh_spectral_input.py | #!/usr/bin/env python3
#
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at... | Python | Unknown | 41,307 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/spectral_operations.ipynb | {
"cells": [
{
"cell_type": "markdown",
"id": "997fb54f",
"metadata": {},
"source": [
"# Post-processing Spectral Operations\n",
"\n",
"In a post-processing task, computing derivatives is a common operation. Rayleigh computes derivatives using spectral transforms and recursion relations. This... | Jupyter Notebook | Unknown | 27,140 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_spectrum2.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,527 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_energy_trace.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 5,478 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/translate_script.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 1,081 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_azavg.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 6,008 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_meridional_slice.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 3,535 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/view_shell_basemap.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 3,293 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_energy_distro.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 5,120 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_reference.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 2,492 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_shell_slice.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 5,972 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/azavg_util.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 6,382 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_equatorial_slice.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 3,087 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/view_shell_mayavi.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,849 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_spectrum.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,064 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/plot_energy_flux.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 4,694 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/checkpoint_reading.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 7,874 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/diagnostic_reading.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 63,042 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/python/grid_util.py | #
# Copyright (C) 2018 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Python | Unknown | 2,224 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_reference.pro | pro read_reference, file, res
CLOSE, 13
openr, 13, file
endian_tag = 0L
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (e... | IDL | Unknown | 1,285 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_azavg.pro | PRO READ_AZAVG, file, res
endian_tag = 0L
version = 0L
nrec = 0L
ntheta = 0L
nr = 0L
nq = 0L
CLOSE, 13
OPENR, 13, file
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (endian_tag ne 314) THEN BEGIN
p... | IDL | Unknown | 1,445 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_gavg.pro | PRO READ_GAVG, file, res
endian_tag = 0L
version = 0L
nrec = 0L
nq = 0L
CLOSE, 13
OPENR, 13, file
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (endian_tag ne 314) THEN BEGIN
print, 'Unable to discer... | IDL | Unknown | 1,156 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_shellavg.pro | PRO READ_SHELLAVG, file, res
endian_tag = 0L
version = 0L
nrec = 0L
nr = 0L
nq = 0L
CLOSE, 13
OPENR, 13, file
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (endian_tag ne 314) THEN BEGIN
print, 'Una... | IDL | Unknown | 1,681 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_spectra.pro | PRO READ_SPECTRA, file, res
endian_tag = 0L
version = 0L
nrec = 0L
lmax = 0L
nr = 0L
nq = 0L
CLOSE, 13
OPENR, 13, file
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (endian_tag ne 314) THEN BEGIN
p... | IDL | Unknown | 1,933 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_profile.pro | pro read_profile, file, res
CLOSE, 13
openr, 13, file
endian_tag = 0L
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (end... | IDL | Unknown | 853 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_shell.pro | PRO READ_SHELL, file, res
endian_tag = 0L
version = 0L
nrec = 0L
ntheta = 0L
nr = 0L
nq = 0L
CLOSE, 13
OPENR, 13, file
READU,13, endian_tag
If (endian_tag ne 314) THEN BEGIN
endian1 = endian_tag
CLOSE,13
OPENR,13,file, /swap_if_little_endian
READU,13,endian_tag
IF (endian_tag ne 314) THEN BEGIN
p... | IDL | Unknown | 1,587 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/idl/read_time.pro | PRO READ_TIME, file, res, swap = swap
if (keyword_set(swap)) THEN BEGIN
openu,13,file, /swap_if_little_endian
ENDIF ELSE BEGIN
openu,13,file
ENDELSE
ncol = 0L
nrow = 0L
ntimers = 0L
nr = 0L
lmax = 0L
niter = 0L
READU,13, ncol
READU,13, nrow
READU,13, ntimers
READU,13, nr
READU,13, lmax
READU,13,niter... | IDL | Unknown | 615 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/kyle_interp/interpolation.f90 | Module Interpolation
!Use IFPORT !If Intel
Implicit None
Logical :: cartesian = .False.
Integer, Parameter :: TrueDouble = Selected_real_kind(14,99)
Integer, Public :: iteration, iteration_step, initial_iteration, final_iteration
Integer, Public :: nr, nth, nphi, onr, nthrd, ncube, nfloat
Real*8 :: dpi ... | Fortran | Unknown | 15,832 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/kyle_interp/interp.f90 | Module Interpolation
Use IFPORT
Implicit None
Logical :: cartesian = .False.
Integer, Parameter :: TrueDouble = Selected_real_kind(14,99)
Integer, Public :: iteration, iteration_step, initial_iteration, final_iteration
Integer, Public :: nr, nth, nphi, onr, nthrd, ncube, nfloat
Real*8 :: dpi = 3.1415926... | Fortran | Unknown | 13,620 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/legacy/kyle_interp/driver.f90 | Program Driver
Use Interpolation
Implicit None
Integer :: namelist_unit=20, kk, nk
Real*8 :: tbeg, tend, tavg
Character(len=64) :: arg
Call getarg(1,arg)
Print*, 'Have read file name part:', arg
Call Initialize()
tavg = 0d0
kk = 0
nk = (final_iteration-initial_iteration)/iteration_step
Do ... | Fortran | Unknown | 1,520 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/interpolation/test.F90 | PROGRAM HELLO
INTEGER NTHREADS, TID, OMP_GET_NUM_THREADS,
+ OMP_GET_THREAD_NUM
C Fork a team of threads giving them their own copies of variables
!$OMP PARALLEL PRIVATE(NTHREADS, TID)
C Obtain thread number
TID = OMP_GET_THREAD_NUM()
PRINT *, 'Hello World from thread = ', TID
C Only master thread does this
... | Fortran | Unknown | 499 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/interpolation/Read_CMD.F90 | Module Read_CMD
Implicit None
Interface Read_CMD_Line
Module Procedure Read_CMD_Integer, Read_CMD_Double, Read_CMD_Logical
Module Procedure Read_CMD_String
End Interface
Contains
!////////////////////////////////////////////////////////////
! The following subroutines are members ... | Fortran | Unknown | 2,888 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/interpolation/Interpolation.F90 | Module Interpolation
!Use IFPORT !If Intel
Use OMP_LIB
Implicit None
Logical :: to_cartesian = .True.
Logical :: to_spherical =.False.
Integer, Parameter :: TrueDouble = Selected_real_kind(14,99)
Integer, Public :: iteration, iteration_step, initial_iteration, final_iteration
Integer, P... | Fortran | Unknown | 33,334 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | post_processing/interpolation/Main.F90 | Program Driver
Use Interpolation
Use Read_CMD
Implicit None
Logical :: display_help = .false.
Integer :: t1, t2, count_rate, count_max
Call System_Clock(t1,count_rate,count_max)
Call Initialize()
Call Interpolate()
Call Finalize()
Contains
Subroutine Print_Help_Message()
... | Fortran | Unknown | 7,129 |
[ascl:2401.002] | https://github.com/geodynamics/Rayleigh | src/CMakeLists.txt | #
# Copyright (C) 2024 by the authors of the RAYLEIGH code.
#
# This file is part of RAYLEIGH.
#
# RAYLEIGH is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any lat... | Text | Unknown | 3,172 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.