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
tools/rawatom.c
/* ------- file: -------------------------- rawAtom.c --------------- Version: rh1.0, tools Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Tue Jun 19 10:13:25 2001 -- -------------------------- ----------RH-- */ /* --- Reads atomic model into...
C
null
9,718
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/impact.c
/* ------- file: -------------------------- impact.c ---------------- Version: rh1.0, tools Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Tue May 9 13:19:23 2006 -- Last Update/JB Wed Apr 12 15:42:04 MET DST 2000 -------------------------- ...
C
null
16,452
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/lande.c
/* ------- file: -------------------------- lande.c ----------------- */ /* Print effective Lande factors for lines in atom * * Han Uitenbroek * Last modified: Thu Feb 3 11:51:26 2000 -- */ #include <stdlib.h> #include "rh.h" #include "atom.h" #include "error.h" #include "inputs.h" /* --- Function prototypes ...
C
null
1,340
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/adjustbf.c
/* ------- file: -------------------------- adjustbf.c -------------- */ /* Reads atomic data file and resamples boundfree data according to script file. * * Han Uitenbroek * Last modified: Thu Mar 11 15:10:15 1999 -- */ #include <malloc.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include <str...
C
null
5,555
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/topbase.c
/* ------- file: -------------------------- readtopbase.c ----------- */ /* Reads atomic data compilation from TopBase * * Han Uitenbroek * Last modified: Thu Feb 3 11:32:34 2000 -- */ /* Tiago, malloc.h not needed for Mac OS X */ #if !defined(__APPLE__) #include <malloc.h> #endif #include <math.h> #include <std...
C
null
11,401
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/readnist.c
#if !defined(__APPLE__) #include <malloc.h> #endif #include <stdlib.h> #include <string.h> #include "rh.h" #include "atom.h" #include "constant.h" #include "inputs.h" #include "error.h" #define MAX_REC_LENGTH 142 #define COMMENT_CHAR "#" struct NIST_Level { char label[ATOM_LABEL_WIDTH+1]; int parity, stag...
C
null
3,367
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/bessel.c
/* ------- file: -------------------------- bessel.c ---------------- Version: rh1.0, tools Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Oct 8, 1996 -------------------------- ----------RH-- */ /* --- Modified Bessel functions I0, I1, K0, K...
C
null
3,334
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/hcollisions.c
/* ------- file: -------------------------- hcollisions.c ----------- */ /* Collisional excitation and ionization routine for hydrogen. * Prints out CE, where CE is defined through: Cj->i = Ne CE gi/gj sqrt(T) * Units: [CE] = s^-1 K^-1/2 m^3 * * Han Uitenbroek * Last modified: Thu Feb 3 11:41:55 2000 -- ...
C
null
9,556
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/readtrujillo.c
/* ------- file: -------------------------- readtrujillo.c ---------- Version: rh1.0 Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Tue Apr 4 17:30:52 2000 -- -------------------------- ----------RH-- */ #include <malloc.h> #include <math.h>...
C
null
3,186
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/nist_pf.c
#if !defined(__APPLE__) #include <malloc.h> #endif #include <math.h> #include <stdlib.h> #include <string.h> #include "rh.h" #include "atom.h" #include "constant.h" #include "inputs.h" #include "error.h" #define MAX_REC_LENGTH 142 #define COMMENT_CHAR "#" struct NIST_Level { char label[ATOM_LABEL_WIDTH+1]; ...
C
null
3,249
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/constructatom.c
/* ------- file: -------------------------- constructatom.c --------- Author: Han Uitenbroek (huitenbroek@cfa.harvard.edu) Last modified: Thu Feb 3 09:40:34 2000 -- -------------------------- ----------RH-- */ #include <malloc.h> #include <math.h> #include <stdlib.h...
C
null
10,129
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/avgmolweight.c
/* ------- file: -------------------------- avgmolweight.c ---------- Version: rh1.0, tools Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Tue Apr 24 17:27:26 2007 -- -------------------------- ----------RH-- */ /* --- Reads standard format a...
C
null
1,549
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/modelatom.c
/* ------- file: -------------------------- modelatom.c ------------- Version: rh1.0, tools Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Thu Feb 3 09:55:09 2000 -- -------------------------- ----------RH-- */ /* --- Writes model atom from ...
C
null
10,075
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/printneff.c
/* ------- file: -------------------------- printneff.c ------------- */ /* Reads atomic model and prints labels and corresponding effective * quantum numbers. * * Han Uitenbroek * Last modified: Mar 6, 1996 */ /* Tiago, malloc.h not needed for Mac OS X */ #if !defined(__APPLE__) #include <malloc.h> #endif #inc...
C
null
2,033
[ascl:1502.001]
https://github.com/ITA-Solar/rh
tools/writemulti.c
/* ------- file: -------------------------- writemulti.c ------------ Version: rh1.0 Author: Han Uitenbroek (huitenbroek@nso.edu) Last modified: Thu Oct 1 16:48:29 2009 -- -------------------------- ----------RH-- */ /* --- Write atmospheric model in MUL...
C
null
3,877
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
README.md
# RheoVolution Software for numerically investigating the dynamical evolution of deformable celestial bodies based on the tidal theory developed by Clodoaldo Ragazzo and Lucas Ruiz. This work is part of a postdoctoral project from the São Paulo Research Foundation (FAPESP - Grants 2021/11306-0 and 2022/12785-1), carri...
Markdown
Unknown
9,109
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
include/celestial_mechanics.h
/** * Auxiliar functions in Celestial Mechanics * * Author: Vitor M. de Oliveira * Date: 11 july 2023 **/ #ifndef CEL_MEC_H #define CEL_MEC_H #include <math.h> #include <stdbool.h> #include <string.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_roots.h> #include "linear_algebra.h" /* Kepler 3rd law */ double...
C/C++ Header
Unknown
8,311
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
include/linear_algebra.h
/** * Library for simple linear algebra operations * It is currently implemented for 3d but can be easily extended * It is currently only implemented for double precision * * Author: Vitor M. de Oliveira * Date: 12 june 2023 **/ #ifndef LIN_ALG_H #define LIN_ALG_H #include <stdio.h> #include <stdlib.h> #includ...
C/C++ Header
Unknown
5,343
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
include/dynamical_system.h
#ifndef DYN_SYS_H #define DYN_SYS_H #include <math.h> #include <stdbool.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_linalg.h> #include "linear_algebra.h" #include "celestial_mechanics.h" #include "tidal_theory.h" #include "data_processing.h" /* struct for field parameters */ typedef struct FieldParameters { ...
C/C++ Header
Unknown
741
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
include/data_processing.h
/** * Library for processing input and output data **/ #ifndef DAT_H #define DAT_H #define _GNU_SOURCE // getline #include <ctype.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/types.h> // ssize_t #include "linear_algebra.h" #...
C/C++ Header
Unknown
3,409
[ascl:2508.007]
https://github.com/vitor-de-oliveira/rheovolution
include/tidal_theory.h
#ifndef TIDAL_H #define TIDAL_H #include <math.h> #include <stdbool.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_linalg.h> #include "linear_algebra.h" #include "celestial_mechanics.h" int calculate_inertia_tensor(double I[9], const double I0, const double b[9]); int body_frame_deformation_from_sto...
C/C++ Header
Unknown
1,784