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:1502.001] | https://github.com/ITA-Solar/rh | brs_xdr.c | /* ------- file: -------------------------- brs_xdr.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jan 3 14:35:46 2008 --
-------------------------- ----------RH-- */
/* --- Routines to write and read bac... | C | null | 5,042 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | statequil.c | /* ------- file: -------------------------- statequil.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 1 14:09:35 2009 --
-------------------------- ----------RH-- */
/* --- Solves equations of statistica... | C | null | 6,120 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | barklem.c | /* ------- file: -------------------------- barklem.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Nov 5, 2014, 15:24 --
-------------------------- ----------RH-- */
/* --- Routines to deal with Collisiona... | C | null | 9,902 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | molzeeman.c | /* ------- file: -------------------------- molzeeman.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jun 30 15:35:10 2011 --
-------------------------- ----------RH-- */
/* --- Routines to calculate Zeeman s... | C | null | 9,911 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | ludcmp.c | /* ------- file: -------------------------- ludcmp.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 19 15:23:29 2000 --
-------------------------- ----------RH-- */
/* --- Matrix inversion based on LU d... | C | null | 4,599 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | chemequil.c | /* ------- file: -------------------------- chemequil.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Apr 18 07:08:41 2011 --
-------------------------- ----------RH-- */
#include <stdlib.h>
#include <math.h>... | C | null | 16,146 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | ltepops.c | /* ------- file: -------------------------- ltepops.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Nov 17 10:07:34 2010 --
-------------------------- ----------RH-- */
/* --- Various routines to calculate ... | C | null | 7,326 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | spectrum.h | /* ------- file: -------------------------- spectrum.h --------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Jul 7 14:50:51 2009 --
-------------------------- ----------RH-- */
#ifndef __SPECTRUM_H__
#define __SPEC... | C/C++ Header | null | 3,216 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | fpehandler.c | /* ------- file: -------------------------- fpehandler.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Nov 22 15:09:15 2010 --
-------------------------- ----------RH-- */
/* --- Trap floating point exceptio... | C | null | 3,597 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | error.h | /* ---------------------------------------- error.h -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Dec 8 14:57:23 1999 --
-------------------------- ----------RH-- */
#ifndef __ERROR_H__
#define __ERROR_H... | C/C++ Header | null | 804 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writemolec_xdr.c | /* ------- file: -------------------------- writemolec_xdr.c --------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Sep 22 13:51:03 2004 --
-------------------------- ----------RH-- */
/* --- Write and read molecular data ... | C | null | 3,849 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | stopreq.c | /* ------- file: -------------------------- riigen.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Oct 9 11:27:42 2000 --
-------------------------- ----------RH-- */
/* --- Checks whether iterations shou... | C | null | 1,314 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | readvalue.c | /* ------- file: -------------------------- readvalues.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Nov 22 11:20:47 2010 --
-------------------------- ----------RH-- */
/* --- Reads input parameters from fi... | C | null | 15,784 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | cubeconvol.c | /* ------- file: -------------------------- cubeconvol.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Sep 12 22:48:11 2005 --
-------------------------- ----------RH-- */
/* --- Routines for interpolation by... | C | null | 4,151 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | spline.c | /* ------- file: -------------------------- spline.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Feb 16 14:57:56 1999 --
-------------------------- ----------RH-- */
/* --- Cubic spline interpolation r... | C | null | 2,407 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | inputs.h | /* ------- file: -------------------------- inputs.h ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Jul 24 12:38:33 2013 --
-------------------------- ----------RH-- */
#ifndef __INPUTS_H__
#define __INPUTS... | C/C++ Header | null | 5,508 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | order.c | /* ------- file: -------------------------- order.c -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Feb 4 22:09:06 1999 --
-------------------------- ----------RH-- */
/* --- Functions for ordering arrays ... | C | null | 1,282 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | atom.h | /* ------- file: -------------------------- atom.h ------------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Apr 18 06:31:57 2011 --
-------------------------- ----------RH-- */
#ifndef __ATOM_H__
#define __ATOM_H__... | C/C++ Header | null | 9,607 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | gaussleg.c | /* ------- file: -------------------------- gaussleg.c --------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Nov 2 10:24:25 2000 --
-------------------------- ----------RH-- */
/* --- Compute abscissas and weights ... | C | null | 1,523 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | solvene.c | /* ------- file: -------------------------- solvene.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Nov 17 16:29:32 2010 --
-------------------------- ----------RH-- */
/* --- Various routines to solve for ... | C | null | 6,310 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | accelerate.c | /* ------- file: -------------------------- accelerate.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Apr 17 12:00:40 2000 --
-------------------------- ----------RH-- */
/* --- Implements Ng convergence acce... | C | null | 4,761 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | getline.c | /* ------- file: -------------------------- getline.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Dec 9 11:43:18 1999 --
-------------------------- ----------RH-- */
/* --- Routines for reading formatted... | C | null | 6,251 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | cocollisions.c | /* ------- file: -------------------------- cocollisions.c ----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Sat Sep 19 15:27:09 2009 --
-------------------------- ----------RH-- */
/* --- Calculate collisional excitati... | C | null | 3,364 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | hui_.f90 | !* ------- file: -------------------------- hui_.f90 ----------------
!
! Version: rh1.0
! Author: Han Uitenbroek (huitenbroek@nso.edu)
! Last modified: Fri Oct 6 09:00:01 2000 --
!
! -------------------------- ----------RH-- *!
!* -- Voigt function subroutine. Ca... | Fortran | null | 1,226 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | fixedrate.c | /* ------- file: -------------------------- fixedrate.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Jan 25 11:51:32 2000 --
-------------------------- ----------RH-- */
/* --- Evaluate fixed radiative rates... | C | null | 5,692 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | h2collisions.c | /* ------- file: -------------------------- h2collisions.c ----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Sat Sep 19 15:27:09 2009 --
-------------------------- ----------RH-- */
/* --- Calculate collisional excitati... | C | null | 3,366 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | linear.c | /* ------- file: -------------------------- linear.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jun 14 09:53:15 2001 --
-------------------------- ----------RH-- */
/* --- Linear interpolation routine. ... | C | null | 2,320 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writemetal_xdr.c | /* ------- file: -------------------------- writemetal_xdr.c --------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Apr 21 15:39:29 2009 --
-------------------------- ----------RH-- */
/* --- Writes atomic data of backgrou... | C | null | 1,740 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | xdr.h | /* ------- file: -------------------------- xdr.h -------------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Sep 21 13:36:03 2004 --
-------------------------- ----------RH-- */
#ifndef __XDR_H__
#define __XDR_H__
... | C/C++ Header | null | 1,159 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | background.c | /* ------- file: -------------------------- background.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Jul 24 12:52:46 2013 --
-------------------------- ----------RH-- */
/* Driving subroutine for background ... | C | null | 23,782 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writespect_xdr.c | /* ------- file: -------------------------- writespect_xdr.c --------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jan 19 13:21:37 2012 --
-------------------------- ----------RH-- */
/* --- Writes spectroscopic data to o... | C | null | 4,401 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | error.c | /* ------- file: -------------------------- Error.c -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Dec 23 14:47:16 2008 --
-------------------------- ----------RH-- */
/* --- Print warning, or print error ... | C | null | 1,952 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | readj.c | /* ------- file: -------------------------- readj.c -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Jan 16 18:31:58 2012 --
-------------------------- ----------RH-- */
/* --- Routines to read and write ang... | C | null | 13,510 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | broad.c | /* ------- file: -------------------------- broad.c -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
-------------------------- ----------RH-- */
/* --- Routines for line broadening, including van der Waals and
Stark broadenin... | C | null | 10,582 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writeatmos_xdr.c | /* ------- file: -------------------------- writeatmos_xdr.c --------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Feb 8 10:57:39 2000 --
-------------------------- ----------RH-- */
/* --- Writes atmospheric data to out... | C | null | 3,771 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | iterate.c | /* ------- file: -------------------------- iterate.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Nov 16 15:31:48 2010 --
-------------------------- ----------RH-- */
/* --- Main iteration routine -- ... | C | null | 10,072 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | getlambda.c | /* ------- file: -------------------------- getlambda.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 22 08:59:40 2009 --
-------------------------- ----------RH-- */
/* --- Construct a wavelength grid th... | C | null | 7,888 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh.h | /* ------- file: -------------------------- rh.h --------------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri Feb 24 08:24:45 2012 --
-------------------------- ----------RH-- */
/* --- General include file for Rybic... | C/C++ Header | null | 4,058 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | options.c | /* ------- file: -------------------------- options.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Mar 25 14:46:56 2009 --
-------------------------- ----------RH-- */
#include <stdlib.h>
#include <math.h>... | C | null | 1,990 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | readinput.c | /* ------- file: -------------------------- readinput.c -------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Jul 24 13:00:16 2013 --
-------------------------- ----------RH-- */
/* --- Reads inpu... | C | null | 14,227 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writeinput_xdr.c | /* ------- file: -------------------------- writeinput_xdr.c --------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 1 09:43:12 2009 --
-------------------------- ----------RH-- */
/* --- XDR (external data representat... | C | null | 2,769 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | collision.c | /* ------- file: -------------------------- collision.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Dec 15 13:21:00 2016 (Tiago) --
-------------------------- ----------RH-- */
/* --- Reads collisional data... | C | null | 28,746 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writeopac_xdr.c | /* ------- file: -------------------------- writeopac_xdr.c ---------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri May 15 03:09:38 2009 --
-------------------------- ----------RH-- */
/* --- Writes opacity and emissivity ... | C | null | 4,838 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | writeatom_xdr.c | /* ------- file: -------------------------- writeatom_xdr.c ---------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Apr 21 16:01:09 2009 --
-------------------------- ----------RH-- */
/* --- Writes atomic data to output f... | C | null | 6,246 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | stokesopac.c | /* ------- file: -------------------------- stokesopac.c ------------
Version: rh1.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Feb 23 15:51:02 2004 --
-------------------------- ----------RH-- */
#include "rh.h"
#include "atom.h"
#in... | C | null | 2,437 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | opacity.c | /* ------- file: -------------------------- opacity.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri Jul 24 16:39:47 2009 --
-------------------------- ----------RH-- */
/* --- Evaluate the total opacity and... | C | null | 27,576 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | atomweights.h | /* ------- file: -------------------------- atomweights.h -----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Sep 15 16:28:02 1999 --
-------------------------- ----------RH-- */
#ifndef __ATOMWEIGHTS_H__
#define __A... | C/C++ Header | null | 2,503 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | fillgamma.c | /* ------- file: -------------------------- fillgamma.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri Jul 24 12:34:18 2009 --
-------------------------- ----------RH-- */
#include <stdio.h>
#include <stdlib.h... | C | null | 12,891 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | scatter.c | /* ------- file: -------------------------- scatter.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Jan 16 17:45:32 2012 --
-------------------------- ----------RH-- */
/* --- Evaluate scattering integral f... | C | null | 28,595 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | README.md | RH 1.5D
=======
[](https://ita-solar.github.io/rh/) [](https://zenodo.org/badge/latestdoi/16921006)
RH 1.5D is an open source, massively-parallel radiative transfer code for spectral synthesis in stellar atm... | Markdown | null | 1,104 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | background.h | /* ------- file: -------------------------- background.h ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Mar 3 14:36:58 2010 --
-------------------------- ----------RH-- */
#ifndef __BACKGROUND_H__
#define __BA... | C/C++ Header | null | 2,780 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | ohchbf.c | /* ------- file: -------------------------- ohchbf.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Mar 4 09:41:40 2010 --
-------------------------- ----------RH-- */
/* --- Computes OH and CH mo... | C | null | 37,537 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | initial_xdr.c | /* ------- file: -------------------------- initial_xdr.c -----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Jan 16 17:29:31 2012 --
-------------------------- ----------RH-- */
/* --- Reads and/or computes the init... | C | null | 20,424 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | parse.c | /* ------- file: -------------------------- parse.c -----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 22 09:00:26 2009 --
-------------------------- ----------RH-- */
#include <stdlib.h>
#include <string.... | C | null | 4,129 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/distribute_jobs.c | /* ------- file: -------------------------- distribute_jobs.c ------------
Version: rh2.0, 1.5-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Wed Dec 29 20:58:00 2010 --
-------------------------- ----------RH-- */
/* --- D... | C | null | 7,370 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/formal.c | /* ------- file: -------------------------- formal.c ----------------
Version: rh1.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jan 14 16:14:23 2010 --
-------------------------- ----------RH-- */
/* --- Formal sol... | C | null | 12,368 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/rh15d_ray_pool.c | #include <string.h>
#include <stdlib.h>
#include <math.h>
#include "rh.h"
#include "atom.h"
#include "atmos.h"
#include "geometry.h"
#include "spectrum.h"
#include "background.h"
#include "statistics.h"
#include "error.h"
#include "inputs.h"
#include "parallel.h"
#include "io.h"
#define WORKTAG 1
#define DIETAG 2
#i... | C | null | 10,260 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/multiatmos.c | /* ------- file: -------------------------- multiatmos.c ------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri Mar 27 16:03:23 2009 --
-------------------------- ----------RH-- */
/* --- Reads atmo... | C | null | 12,944 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/background_p.c | /* ------- file: -------------------------- background.c ------------
Version: rh2.0, 1.5-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
-------------------------- ----------RH-- */
/* Driving subroutine for background opacity sources.
* Includ... | C | null | 25,759 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/geometry.h | /* ------- file: -------------------------- geometry.h --------------
Version: rh2.0, 1-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Tue Nov 23 22:09:58 2010 --
-------------------------- ----------RH-- */
#ifndef __GEOME... | C/C++ Header | null | 3,658 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/initial_p.c | /* ------- file: -------------------------- initial_p.c -----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Jul 21 12:31:49 2009 --
-------------------------- ----------RH-- */
/* --- Reads and/or computes the initia... | C | null | 21,104 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/readatmos.c | /*
High level routines for selection of atmos reading functions.
*/
#include <string.h>
#include <time.h>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <ctype.h>
#include "rh.h"
#include "atom.h"
#include "atmos.h"
#include "geometry.h"
#include "constant.h"
#include "background.h"
#include "er... | C | null | 10,498 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/parallel.c | /* ------- file: -------------------------- writeAux_p.c ---------
Version: rh2.0, 1.5-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
-------------------------- -----------RH-- */
/* --- Set of tools to deal with IO initialisation and closure ---... | C | null | 22,401 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/escape.c | /* ------- file: -------------------------- iterate.c ---------------
Version: rh2.0 (1.5D)
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Tue Apr 19 13:28:31 2019 --
-------------------------- ----------RH-- */
/* --- Main iteration routi... | C | null | 8,903 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/accelerate_p.c | /* ------- file: -------------------------- accelerate.c ------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Apr 17 12:00:40 2000 --
-------------------------- ----------RH-- */
/* --- Implements Ng convergence acce... | C | null | 4,947 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/riiplane.c | /* ------- file: -------------------------- riiplane.c --------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jan 22 11:02:49 2004 --
-------------------------- ----------RH-- */
/* --- Evaluates ... | C | null | 3,230 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/feautrier.c | /* ------- file: -------------------------- feautrier.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Fri Nov 3 09:04:22 2000 --
-------------------------- ----------RH-- */
/* --- Evaluate sum of monochromatic ... | C | null | 6,260 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/hydrostat.c | /* ------- file: -------------------------- hydrostat.c -------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Oct 13 14:25:37 2009 --
-------------------------- ----------RH-- */
/* --- Solve for ... | C | null | 6,797 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/parallel.h | /* ------- file: -------------------------- parallel.h --------------
Version: rh2.0, 1-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Tue Nov 24 10:59:58 2010 --
-------------------------- ----------RH-- */
#ifndef __PARAL... | C/C++ Header | null | 2,623 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/expint_p.c | /* ------- file: -------------------------- expint.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Dec 8 16:02:51 1999 --
-------------------------- ----------RH-- */
/* --- Evaluates the exponential int... | C | null | 2,701 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/writeindata_p.c | /* ------- file: -------------------------- writeindata_p.c ------------
Version: rh2.0, 1.5-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Thu Dec 30 22:58:15 2010 --
-------------------------- -----------RH-- */
/* --- Wr... | C | null | 54,979 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/readRayInput.c | #include <string.h>
#include <stdlib.h>
#include "rh.h"
#include "atmos.h"
#include "geometry.h"
#include "error.h"
#include "spectrum.h"
#include "inputs.h"
#include "io.h"
/* --- Global variables -- -------------- */
extern Atmosphere atmos;
extern Geometry geometry;
extern Spectrum spec... | C | null | 2,729 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/rh15d_lteray.c | #include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "rh.h"
#include "atom.h"
#include "atmos.h"
#include "geometry.h"
#include "spectrum.h"
#include "background.h"
#include "statistics.h"
#include "error.h"
#include "inputs.h"
#include "parallel.h"
#include "io.h"
#ifndef REV_ID
#def... | C | null | 5,267 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/writeAux_p.c | /* ------- file: -------------------------- writeAux_p.c ---------
Version: rh2.0, 1.5-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Mon Jan 03 14:28:25 2011 --
-------------------------- -----------RH-- */
/* --- Writes a... | C | null | 48,258 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/bezier.h | /* -----------------------------------------------------------------------
Cubic DELO-Bezier (polarized) and cubic short-char Bezier solvers.
References: de la Cruz Rodriguez & Piskunov (2013), Auer (2003)
(Derivatives) Fritsch & Butland (1984),
Coded by J. de la Cruz Rodriguez (I... | C/C++ Header | null | 1,640 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/piecewise.c | /* ------- file: -------------------------- piecewise1d.c -----------
/* --- Piecewise quadratic integration of transfer equation in
one dimension.
-- For boundary condition THERMALIZED use the relation
I ~= B - \mu dB / d\tau,
where \tau is taken in the direction of the ray (i.e. NOT in... | C | null | 11,460 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/statequil_p.c | /* ------- file: -------------------------- statequil.c -------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 1 14:09:35 2009 --
-------------------------- ----------RH-- */
/* --- Solves equations of statistica... | C | null | 6,600 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/rh15d_ray.c | #include <string.h>
#include <stdlib.h>
#include <math.h>
#include "rh.h"
#include "atom.h"
#include "atmos.h"
#include "geometry.h"
#include "spectrum.h"
#include "background.h"
#include "statistics.h"
#include "error.h"
#include "inputs.h"
#include "parallel.h"
#include "io.h"
#ifndef REV_ID
#define REV_ID "UNKNOWN... | C | null | 6,310 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/writeRay.c | /* ------- file: -------------------------- writeray.c ----- --------
Version: rh2.0
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Thu Jan 13 16:35:11 2011 --
-------------------------- ----------RH-- */
/* --- Writes ray data into output ... | C | null | 31,380 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/hdf5atmos.c | /*
Functions for HDF5 reading of input atmosphere
*/
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <time.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "rh.h"
#include "atom.h"
#include "atmos.h"
#include "geometry.h"
#include "constant.h"
#incl... | C | null | 15,498 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/redistribute_p.c | /* ------- file: -------------------------- redistribute.c ----------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 1 14:01:22 2009 --
-------------------------- ----------RH-- */
/* --- Administers iterations to redi... | C | null | 4,130 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/anglequad.c | /* ------- file: -------------------------- anglequad.c -------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Thu Jan 15 15:47:11 2004 --
-------------------------- ----------RH-- */
/* --- Get angle ... | C | null | 1,687 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/ludcmp_p.c | /* ------- file: -------------------------- ludcmp.c ----------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Wed Apr 19 15:23:29 2000 --
-------------------------- ----------RH-- */
/* --- Matrix inversion based on LU d... | C | null | 4,849 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/scatter_p.c | /* ------- file: -------------------------- scatter.c ---------------
Version: rh2.0
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Jan 16 17:45:32 2012 --
-------------------------- ----------RH-- */
/* --- Evaluate scattering integral f... | C | null | 27,130 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/piecestokes.c | /* ------- file: -------------------------- piecestokes.c -----------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Mon Feb 23 16:18:46 2004 --
-------------------------- ----------RH-- */
/* --- Piecewise ... | C | null | 4,882 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/project.c | /* ------- file: -------------------------- project.c ---------------
Version: rh2.0, 1-D plane-parallel
Author: Han Uitenbroek (huitenbroek@nso.edu)
Last modified: Tue Feb 11 16:46:53 2003 --
-------------------------- ----------RH-- */
#include <math.... | C | null | 2,448 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/io.h | /* ------- file: -------------------------- geometry.h --------------
Version: rh2.0, 3-D plane-parallel
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Wed Dec 22 16:44:00 2010 --
-------------------------- ----------RH-- */
#ifndef __IO_H... | C/C++ Header | null | 7,135 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/iterate_p.c | /* ------- file: -------------------------- iterate.c ---------------
Version: rh2.0
Author: Tiago Pereira (tiago.pereira@nasa.gov)
Last modified: Tue Jan 24 18:26:00 2012 --
-------------------------- ----------RH-- */
/* --- Main iteration routine -- ... | C | null | 8,995 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | rh15d/bezier.c | /* -----------------------------------------------------------------------
Cubic DELO-Bezier (polarized) and cubic short-char Bezier solvers.
References: de la Cruz Rodriguez & Piskunov (2013), Auer (2003)
(Derivatives) Fritsch & Butland (1984),
Coded by J. de la Cruz Rodriguez (I... | C | null | 24,262 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | python/runtools.py | #!/usr/bin/env python3
import os
import sys
import time
import numpy as N
atmos_dir = '/mydata'
seq_file = 'RH_SEQUENCE'
outsuff = 'output/output_ray_CaII_PRD_s%03i.hdf5'
mpicmd = 'mpiexec' # 'aprun'
bin = '../rh15d_ray_pool'
defkey = 'keyword.save'
log = 'rh_running.log'
tm = 40 # timeout in minutes to stop a sing... | Python | null | 10,118 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/formal3d.pro |
angleSet = 0L & mu = 0L
Ninclination = 4L & Nazimuth = 2L
Nx = 25L & Ny = 10L & Nz =100L
Nplane = Nx * Ny
dx = 2.5*12.5D0
dy = 2.5*12.5D0
zmin = 0.0 & zmax = 600.0
;; z = reverse(zgrid(Nz, zmin, zmax, 1.00))
z = zmax + (zmin - zmax)*dindgen(Nz)/double(Nz - 1)
chi = dblarr(Nx, Ny, Nz) + ... | IDL | null | 1,135 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/CaII.pro | PRO getColl4s_4p, E, Q, PLOT=plot
COMMON constant, cLight, hPlanck, kBoltz, rBohr, ERydb, mElect, $
one_eV, pia02
;; --- Collisional strength 4S1/2 - 4P3/2
;; --- From J. Mitroy, D.C. Griffin, D.W. Norcross 1988,
;; Phys. Rev. 38, 3339-3350. First Fig. 1 (E in Rydb, Q in 10^-20 m^2)
E1 = [0.24, 0.... | IDL | null | 9,551 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/maxwell_avg.pro | FUNCTION maxwell_avg, gi, T, E0, Elin, E, Q
;; --- Compute Maxwellian average of the collisional cross sections
;; Q (given in units of pi*a_0^2) for impact energies E given
;; in Rydberg. --
COMMON constant, cLight, hPlanck, kBoltz, rBohr, ERydb, mElect, $
one_eV, pia02
;; --- Use 8-point Gaus... | IDL | null | 1,431 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/existfile.pro | ; -------- file: -------------------------- existfile.pro ------------ ;
; -------- begin -------------------------- existfile.pro ------------ ;
FUNCTION existFile, fileName, UNIT=unit, XDR=xdr, SWAP_ENDIAN=swap_endian
;; --- Check whether file exists, and if so open it for read only -- ;
ON_IOERROR, error
o... | IDL | null | 580 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/rh_delete_fits.pro | pro rh_delete_fits,f,force=force
;
; deletes an RH fits file from the oslo_sim repository and removes the
; corresponding runid directory
;
; Will ask for confirmation. Suppress confirmation by setting /force
;
if n_params() ne 1 then begin
print,'pro rh_delete_fits,f,force=force'
return
endif
if not file_exist... | IDL | null | 1,030 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/Hawaiiatlas.pro | PRO Hawaiiatlas, lambdaMin, lambdaMax, SAMPLE=sample, $
Iatlas, latlas
; Reads selected wavelength range from the Hawaii UV Atlas
;
; Allen, McAllister & Jefferies 1978,
; High Resolution Atlas of the Solar Spectrum form 2678 - 2931 \AA,
; Institute for Astronomy, University of Hawaii
... | IDL | null | 3,065 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/viewj.pro | ; ----------------------------------------- viewj.pro ---------------- ;
; -------- begin -------------------------- setLambdaNo.pro ---------- ;
FUNCTION setLambdaNo, stash, index
@spectrum.common
;; --- This routine is shared by viewJ and viewsource -- ---------- ;
widget_control, stash, GET_UVALUE=state
... | IDL | null | 11,379 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/rhannotate.pro | PRO rhannotate, xc, yc, $
TEXT=text, $
MARKTYPE=marktype, $
NOMOUSE=nomouse, $
CHARSIZE=charsize, $
MARKCOLOR=markcolor, $
CHARCOLOR=charcolor, $
THICK=thick, $
MARKLENGTH=marklength, $
... | IDL | null | 2,756 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/SolFluxatlas.pro | PRO SolFluxatlas, lambdamin, lambdamax, flux, lambda, NM=nm, $
IRRADIANCE=irradiance
IF (n_params() LT 3) THEN BEGIN
print, " Usage: SolFluxatlas, lambdamin, lambdamax, flux, lambda, NM=nm"
return
ENDIF
atlasdir = getenv('RH_ATLAS_PATH') + '/SolarFlux/'
files = file_search(atlasdir +... | IDL | null | 2,711 |
[ascl:1502.001] | https://github.com/ITA-Solar/rh | idl/make_b_file.pro | PRO make_B_file, atmosfile, B, GAMMA=gamma, CHI=chi, BX=Bx, BY=By, BZ=Bz, $
B_FILENAME=B_filename
GAUSS_TO_TESLA = 1.0E-4
;; Input:
;;
;; B -- Magnetic field strength [Gauss]
;; gamma -- Inclination of the magnetic field [degrees]
;; chi -- Azimuth of the magnetic field [degrees]
... | IDL | null | 1,634 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.