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:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/godunov_utils.f90 | !###########################################################
!###########################################################
!###########################################################
!###########################################################
subroutine eos(d,e,p,c,imat,inv,ncell)
use amr_parameters
use hydro_para... | Fortran | null | 26,063 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/synchro_hydro_fine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine synchro_hydro_fine(ilevel,dteff,which_force)
... | Fortran | null | 4,200 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/courant_fine.f90 | subroutine courant_fine(ilevel)
use amr_commons
use hydro_commons
use poisson_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info
#endif
integer::ilevel
!----------------------------------------------------------------------
! Using the Courant-Friedrich-Levy stability condition, ... | Fortran | null | 4,507 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/init_hydro.f90 | subroutine init_hydro
use amr_commons
use hydro_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info,info2,dummy_io
#endif
integer::ncell,ncache,iskip,igrid,i,ilevel,ind,ivar,idim,imat
integer::nvar2,ilevel2,numbl2,ilun,ibound,istart
integer::ncpu2,ndim2,nlevelmax2,nboundary2
integer ,di... | Fortran | null | 5,966 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 5,634 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/uplmde.f90 | !###########################################################
!###########################################################
!###########################################################
!###########################################################
subroutine tracex(qin,fin,gamma_c,dq,df,qm,qp,fm,fp,dx,dt,ngrid)
use amr_p... | Fortran | null | 32,488 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/output_hydro.f90 | subroutine backup_hydro(filename, filename_desc)
use amr_commons
use hydro_commons
use dump_utils, only : dump_header_info, generic_dump, dim_keys
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer :: dummy_io, info2
#endif
character(len=80), intent(in) :: filename, filename_desc
integer :: i, ivar,... | Fortran | null | 6,641 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/boundana.f90 | !############################################################
!############################################################
!############################################################
!############################################################
subroutine boundana(x,u,dx,ibound,ncell)
use amr_parameters, ONLY: dp,... | Fortran | null | 1,694 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/write_screen.f90 | subroutine write_screen
use amr_commons
use hydro_commons
use pm_commons
use poisson_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info
#endif
integer::igrid,jgrid,ind,icpu
integer::i,icell,ncell,ilevel,ncache
integer::icellmin,imat,lll
real(dp)::dx,scale,ddd
integer ,dimens... | Fortran | null | 6,209 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/hydro_boundary.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine make_boundary_hydro(ilevel)
use amr_commons... | Fortran | null | 10,781 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/godunov_fine.f90 | !###########################################################
!###########################################################
!###########################################################
!###########################################################
subroutine godunov_fine(ilevel)
use amr_commons
use hydro_commons
impl... | Fortran | null | 61,674 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/interpol_hydro.f90 | !###########################################################
!###########################################################
!###########################################################
!###########################################################
subroutine upload_fine(ilevel)
use amr_commons
use hydro_commons
impli... | Fortran | null | 10,817 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/init_flow_fine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_flow
use amr_commons
use hydro_commo... | Fortran | null | 8,255 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/6eq/rho_fine.f90 | !##############################################################################
!##############################################################################
!##############################################################################
!##############################################################################
... | Fortran | null | 57,278 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/padoan/cooling_fine.f90 | subroutine cooling_fine(ilevel)
use amr_commons
use hydro_commons
use cooling_module
implicit none
integer::ilevel
!-------------------------------------------------------------------
! Compute cooling for fine levels
!-------------------------------------------------------------------
integer::ncache... | Fortran | null | 3,268 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/padoan/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 5,667 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/merger/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
real(dp)::masse_solaire, kparsec, G_cgs
!-----------------------------------------------------------------------
! Conversion... | Fortran | null | 1,439 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/merger/init_part.f90 | subroutine init_part
use amr_commons
use merger_commons
use pm_commons
use clfind_commons
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
use mpi_mod
implicit none
!------------------------------------------------------------
! Allocate particle-based arrays.
! Read particles positions... | Fortran | null | 50,871 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/merger/condinit.f90 | !==================================================================================
!=== Hydro ic for Toomre/exponential radial density profile galaxies. ===
!=== Sets up a galactic binary merger. ===
!=== Author : D.Chapon ... | Fortran | null | 35,524 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/sheet/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,263 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/isolated/condinit.f90 | !==================================================================================
!=== Hydro ic for Toomre/exponential radial density profile galaxies. ===
!=== Sets up a galactic binary merger. ===
!=== Author : D.Chapon ... | Fortran | null | 32,381 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/isolated/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
real(dp)::masse_solaire, kparsec, G_cgs
!-----------------------------------------------------------------------
! Conversion... | Fortran | null | 1,439 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/isolated/init_part.f90 | subroutine init_part
use amr_commons
use merger_commons
use pm_commons
use clfind_commons
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
implicit none
#ifndef WITHOUTMPI
include 'mpif.h'
#endif
!------------------------------------------------------------
! Allocate particle-based array... | Fortran | null | 43,703 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/andy/condinit.f90 | !================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
use hydro_parameters
implicit none
integer ::nn ... | Fortran | null | 4,731 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/andy/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
!-----------------------------------------------------------------------
! Conversion factors from user units into cgs units
... | Fortran | null | 943 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/andy/gravana.f90 | !#########################################################
!#########################################################
!#########################################################
!#########################################################
subroutine gravana(x,f,dx,ncell)
use amr_parameters,only:boxlen
use poisson_para... | Fortran | null | 2,677 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/ponomarenko/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 7,961 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/rotor/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,528 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/abcflow/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,242 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/loop/im.pro | pro im,nout,type=type
xr=[0,1]
;xr=[0.25,0.75]
yr=xr
rd_amr,a,nout=nout
rd_hydro,h,nout=nout
n=2L^a.nlevelmax
current=fltarr(n,n)
if keyword_set(type) then begin
tv2d,a,h,type=fix(type),save=current,xr=xr,yr=yr
endif else begin
bx=fltarr(n,n)
by=bx
bxl=bx & bxr=bx
byl=by & byr=by
tv2d,a,h,... | IDL | null | 1,302 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/loop/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,576 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/ot/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,734 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/coeur/hydro_parameters.f90 | module hydro_parameters
use amr_parameters
! Number of independant variables
#ifndef NENER
integer,parameter::nener=0
#else
integer,parameter::nener=NENER
#endif
#ifndef NVAR
integer,parameter::nvar=8+nener
#else
integer,parameter::nvar=NVAR
#endif
! Size of hydro kernel
integer,parameter::iu1=-1
in... | Fortran | null | 4,467 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/coeur/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 5,376 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/coeur/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
!-----------------------------------------------------------------------
! Conversion factors from user units into cgs units
... | Fortran | null | 993 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/coeur/cooling_fine.f90 | subroutine cooling_fine(ilevel)
use amr_commons
use hydro_commons
use cooling_module
implicit none
integer::ilevel
!-------------------------------------------------------------------
! Compute cooling for fine levels
!-------------------------------------------------------------------
integer::ncache... | Fortran | null | 3,286 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/coeur/read_hydro_params.f90 | subroutine read_hydro_params(nml_ok)
use amr_commons
use hydro_commons
implicit none
#ifndef WITHOUTMPI
include 'mpif.h'
#endif
logical::nml_ok
!--------------------------------------------------
! Local variables
!--------------------------------------------------
integer::i,idim,nboundary_true=0
i... | Fortran | null | 11,731 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/turbulence/amr_step.f90 | recursive subroutine amr_step(ilevel,icount)
use amr_commons
use pm_commons
use hydro_commons
use poisson_commons
#ifdef RT
use rt_hydro_commons
use SED_module
use UV_module
use coolrates_module, only: update_coolrates_tables
use rt_cooling_module, only: update_UVrates
#endif
implicit none
#ifndef W... | Fortran | null | 19,465 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/turbulence/turbulence.f90 | !===============================================================================
!
! This module adds a random forcing module to RAMSES
!
! It calculate a random force, confined to a shell in k-space, at
! regular intervals in time. We assume rho, P, and the sound
! speed to be near unity. The velocity amplitude ... | Fortran | null | 16,536 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/aw/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,nn)
use amr_parameters
us... | Fortran | null | 4,244 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/halo/rho_ana.f90 | !#########################################################
!#########################################################
!#########################################################
!#########################################################
subroutine rho_ana(x,d,dx,ncell)
use amr_parameters
use hydro_parameters
use p... | Fortran | null | 1,542 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/halo/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
use poisson_commons
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
!-----------------------------------------------------------------------
! Conversion factors from user u... | Fortran | null | 1,289 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mhd/halo/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
module halo_parameters!{{{
use amr_commons
characte... | Fortran | null | 22,715 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/move_fine.f90 | subroutine move_fine(ilevel)
use amr_commons
use hydro_commons, ONLY: uold,unew,smallr,nvar,gamma
use pm_commons
use mpi_mod
implicit none
integer::ilevel,xtondim
!----------------------------------------------------------------------
! Update particle position and time-centred velocity at level ilevel.... | Fortran | null | 55,109 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/tsc_fine.f90 | ! use amr_commons
! use pm_commons
! use poisson_commons
! use hydro_commons, ONLY: uold,unew,smallr,nvar,gamma
! implicit none
! integer::ng,np,ilevel,xtondim
! integer,dimension(1:nvector)::ind_grid
! integer,dimension(1:nvector)::ind_grid_part,ind_part
! !
! !
! !
! logical::error
! integer::i,j,ind,idim,nx_loc,isin... | Fortran | null | 9,000 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/synchro_fine.f90 | subroutine synchro_fine(ilevel)
use pm_commons
use amr_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info
#endif
integer::ilevel,xtondim
!--------------------------------------------------------------------
! This routine synchronizes particle velocity with particle
! position for ilev... | Fortran | null | 54,880 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/umuscl.f90 | ! ---------------------------------------------------------------
! MAG_UNSPLIT Unsplit second order Godunov integrator for
! polytropic magnetized gas dynamics using
! MUSCL-HANCOCK scheme
! with various Riemann solvers and slope limiters.
! The sheme follows closel... | Fortran | null | 109,288 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/update_time.f90 | !=======================================================================
real(kind=8) function wallclock()
use mpi_mod
implicit none
#ifdef WITHOUTMPI
integer, save :: tstart
integer :: tcur
integer :: count_rate
#else
real(kind=8), save :: tstart
real(kind=8) :: tcur
#end... | Fortran | null | 16,070 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/read_hydro_params.f90 | subroutine read_hydro_params(nml_ok)
use amr_commons
use hydro_commons
use mpi_mod
implicit none
logical::nml_ok
!--------------------------------------------------
! Local variables
!--------------------------------------------------
integer::i,idim,ifixed,nboundary_true=0
integer ,dimension(1:MAXB... | Fortran | null | 17,895 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/init_part.f90 | subroutine init_part
use amr_commons
use pm_commons
use clfind_commons
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
use mpi_mod
implicit none
!------------------------------------------------------------
! Allocate particle-based arrays.
! Read particles positions and velocities from... | Fortran | null | 38,630 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/amr_step.f90 | recursive subroutine amr_step(ilevel,icount)
use amr_commons
use pm_commons
use hydro_commons
use poisson_commons
use tracer_utils, only: reset_tracer_move_flag
#ifdef RT
use rt_hydro_commons
use SED_module
use UV_module
use coolrates_module, only: update_coolrates_tables
use rt_cooling_module, only... | Fortran | null | 20,642 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/partmom2cube.f90 | program part2cube
!--------------------------------------------------------------------------
! This software computes projected density cubes.
! Version F90 by R. Teyssier le 01/04/01.
! Update for new tracers by C. Cadiou, M. Trebitsch, H. Choi, O. Snaith and R. Bieri
! Modified from part2cube.f90 by Eric ... | Fortran | null | 17,065 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/tsc-scratch/hydro_parameters.f90 | module hydro_parameters
use amr_parameters
! Number of independant variables
#ifndef NENER
integer,parameter::nener=0
#else
integer,parameter::nener=NENER
#endif
#ifndef NVAR
integer,parameter::nvar=8+nener
#else
integer,parameter::nvar=NVAR
#endif
! Size of hydro kernel
integer,parameter::iu1=-1
in... | Fortran | null | 3,768 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/gravana.f90 | !#########################################################
!#########################################################
!#########################################################
!#########################################################
subroutine gravana(x,f,dx,ncell)
use amr_parameters
use poisson_parameters
imp... | Fortran | null | 2,699 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/amr_step.f90 | recursive subroutine amr_step(ilevel,icount)
use amr_commons
use pm_commons
use hydro_commons
use poisson_commons
#ifdef RT
use rt_hydro_commons
use SED_module
use UV_module
use coolrates_module, only: update_coolrates_tables
use rt_cooling_module, only: update_UVrates
#endif
use mpi_mod
implicit ... | Fortran | null | 19,740 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/refine_utils.f90 | subroutine refine
use amr_commons
implicit none
integer::ilevel
if(verbose)write(*,*)'Entering refine'
call refine_coarse
call build_comm(1)
call make_virtual_fine_int(cpu_map(1),1)
do ilevel=1,nlevelmax-1
call refine_fine(ilevel)
call build_comm(ilevel+1)
call make_virtual_fine_int(cp... | Fortran | null | 32,623 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/output_hydro.f90 | subroutine backup_hydro(filename, filename_desc)
use amr_commons
use hydro_commons
use dump_utils, only : dump_header_info, generic_dump, dim_keys
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer :: dummy_io, info2
#endif
character(len=80), intent(in) :: filename, filename_desc
integer :: i, ivar,... | Fortran | null | 6,990 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/condinit.f90 | !================================================================
!================================================================
!================================================================
!================================================================
subroutine condinit(x,u,dx,pert,nn)
use amr_parameters... | Fortran | null | 13,697 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/courant_fine.f90 | subroutine courant_fine(ilevel)
use amr_commons
use hydro_commons
use poisson_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info
real(kind=8),dimension(4)::comm_buffin,comm_buffout
#endif
integer::ilevel
!----------------------------------------------------------------------
! Using ... | Fortran | null | 13,196 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/read_hydro_params.f90 | subroutine read_hydro_params(nml_ok)
use amr_commons
use hydro_commons
use mpi_mod
implicit none
logical::nml_ok
!--------------------------------------------------
! Local variables
!--------------------------------------------------
integer::i,idim,ifixed,nboundary_true=0
integer ,dimension(1:MAXB... | Fortran | null | 17,197 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/umuscl.f90 | ! ---------------------------------------------------------------
! MAG_UNSPLIT Unsplit second order Godunov integrator for
! polytropic magnetized gas dynamics using
! MUSCL-HANCOCK scheme
! with various Riemann solvers and slope limiters.
! The sheme follows closel... | Fortran | null | 121,873 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/hydro_boundary.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine make_boundary_hydro(ilevel)
use amr_commons... | Fortran | null | 16,102 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/synchro_hydro_fine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine synchro_hydro_fine(ilevel,dteff)
use amr_co... | Fortran | null | 3,406 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/init_flow_fine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_flow
use amr_commons
use hydro_commo... | Fortran | null | 20,587 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/godunov_fine.f90 | !###########################################################
!###########################################################
!###########################################################
!###########################################################
subroutine godunov_fine(ilevel)
use amr_commons
use hydro_commons
impl... | Fortran | null | 51,354 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/boundana.f90 | !############################################################
!############################################################
!############################################################
!############################################################
subroutine boundana(x,u,dx,ibound,nn)
use amr_parameters
use hydro_p... | Fortran | null | 4,895 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/init_hydro.f90 | subroutine init_hydro
use amr_commons
use hydro_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::dummy_io,info,info2
#endif
integer::ncell,ncache,iskip,igrid,i,ilevel,ind,ivar
#if NENER>0
integer::irad
#endif
integer::nvar2,ilevel2,numbl2,ilun,ibound,istart
integer::ncpu2,ndim2,nlevelmax2... | Fortran | null | 7,095 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/hydro_parameters.f90 | module hydro_parameters
use amr_parameters
! Number of independant variables
#ifndef NENER
integer,parameter::nener=0
#else
integer,parameter::nener=NENER
#endif
#ifndef NVAR
integer,parameter::nvar=8+nener
#else
integer,parameter::nvar=NVAR
#endif
! Size of hydro kernel
integer,parameter::iu1=-1
in... | Fortran | null | 4,060 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/modelS/modelS.py |
def ReadModelS():
f = open('data/cptrho.l5bi.d.15c', 'r')
lines = f.readlines()
f.close()
lines = lines[6:]
r = []
c = []
rho = []
p = []
gamma_1 = []
T = []
for i in lines:
columns = i.split()
r.append(float(columns[0]))
c.append(float(columns[1]))
rho.append(float(colu... | Python | null | 468 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/modelS/modelS_profiles.ipynb | {
"cells": [
{
"cell_type": "markdown",
"id": "1f5623f5-c9c0-4794-88aa-048149a964ea",
"metadata": {},
"source": [
"# Model S profiles\n",
"\n",
"__José Roberto Canivete Cuissa__ \n",
"__19.01.2023, Zurich__\n",
"\n",
"---------\n",
"\n",
"This Notebook contains the analys... | Jupyter Notebook | null | 607,419 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/modelS/data/info.txt | Reference: https://phys.au.dk/~jcd/solar_models/
cptrho.l5bi.d.15c contains a limited set of variables for Model S, providing sound speed, density, pressure, adiabatic exponent and temperature.
fgong.l5bi.d.15c is an extensive set of variables, in GONG format, for Model S | Text | null | 274 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/global_star/modelS/data/.ipynb_checkpoints/info-checkpoint.txt | Reference: https://phys.au.dk/~jcd/solar_models/
cptrho.l5bi.d.15c contains a limited set of variables for Model S, providing sound speed, density, pressure, adiabatic exponent and temperature.
fgong.l5bi.d.15c is an extensive set of variables, in GONG format, for Model S | Text | null | 274 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/adaptive_loop.f90 | subroutine adaptive_loop
use amr_commons
use hydro_commons
use pm_commons
use poisson_commons
use cooling_module
#ifdef RT
use rt_hydro_commons
#endif
implicit none
#ifndef WITHOUTMPI
include 'mpif.h'
#endif
integer::ilevel,idim,ivar,info
real(kind=8)::tt1,tt2
real(kind=4)::real_mem,real_mem_tot
... | Fortran | null | 4,871 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/init_time.f90 | subroutine init_time
use amr_commons
use hydro_commons
use pm_commons
use cooling_module
#ifdef RT
use rt_cooling_module
#endif
implicit none
integer::i,Nmodel
real(kind=8)::T2_sim
#ifdef grackle
integer:: iresult, initialize_grackle, UVbackground
real(kind=8)::density_units,length_units,time_units,... | Fortran | null | 29,832 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/init_refine.f90 | module restart_commons
use amr_commons
use hydro_commons
! misc
real(dp)::IG_rho = 1.0D-5
real(dp)::IG_T2 = 1.0D7
real(dp)::IG_metal = 0.01
real(dp),dimension(1:3)::ic_center = (/ 0.0, 0.0, 0.0 /)
integer,dimension(1:100)::restart_vars=0
integer::nvar_min
logical::restart_ini... | Fortran | null | 8,856 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/init_part.f90 | subroutine init_part
use amr_commons
use pm_commons
use clfind_commons
! Restart patch
use restart_commons
use cooling_module
use gadgetreadfilemod
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
implicit none
#ifndef WITHOUTMPI
include 'mpif.h'
#endif
!------------------------------... | Fortran | null | 80,368 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/particle_tree.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_tree
use pm_commons
use amr_commons
... | Fortran | null | 32,567 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/init_flow_fine.f90 | !========================================================================================
!== Patch RESTART
!== Valentin Perret - February 2015
!========================================================================================
!################################################################
!##################... | Fortran | null | 31,137 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/add_list.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine add_list(ind_part,list2,ok,np)
use amr_comm... | Fortran | null | 4,691 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/restart/rho_fine.f90 | !##############################################################################
!##############################################################################
!##############################################################################
!##############################################################################
... | Fortran | null | 67,241 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/init_time.f90 | subroutine init_time
use amr_commons
use hydro_commons
use pm_commons
use cooling_module
#ifdef RT
use rt_cooling_module
#endif
implicit none
integer::i,Nmodel
real(kind=8)::T2_sim
#ifdef grackle
integer:: iresult, initialize_grackle, comoving_coordinates=0, use_grackle=1, &
& with_radiative_... | Fortran | null | 22,999 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/init_refine.f90 | !========================================================================================
!== Patch DICE
!== Initial conditions to setup 1 or more galaxies computed from the DICE software
!== Valentin Perret - October 2014
!========================================================================================
!== Na... | Fortran | null | 8,843 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/init_part.f90 | subroutine init_part
use amr_commons
use pm_commons
use clfind_commons
! DICE patch
use dice_commons
use cooling_module
use gadgetreadfilemod
! DICE patch
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
implicit none
#ifndef WITHOUTMPI
include 'mpif.h'
#endif
!--------------------... | Fortran | null | 48,046 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/gadgetreadfile.f90 | MODULE gadgetreadfilemod
!
! Routines to read L-Gadget2 particle data files in Fortran
! Adapted from http://astro.dur.ac.uk/~jch/password_pages/index.html
!
! CHARACTER(LEN=*) :: basefile - the base snapshot name. It may get a file id added
!
!
!
!
! Data type corresponding to gadget file header
TYPE gadgetheadertyp... | Fortran | null | 7,910 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/particle_tree.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_tree
use pm_commons
use amr_commons
... | Fortran | null | 32,720 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/units.f90 | subroutine units(scale_l,scale_t,scale_d,scale_v,scale_nH,scale_T2)
use amr_commons
use hydro_commons
use cooling_module
real(dp)::scale_nH,scale_T2,scale_t,scale_v,scale_d,scale_l
real(dp)::solar_mass, kpc, G_cgs
!-----------------------------------------------------------------------
! Conversion factor... | Fortran | null | 1,406 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/init_flow_fine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_flow
use amr_commons
use hydro_commo... | Fortran | null | 36,195 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/add_list.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine add_list(ind_part,list2,ok,np)
use amr_comm... | Fortran | null | 4,624 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/read_params.f90 | module dice_commons
use amr_commons
use hydro_commons
! particle data
character(len=512)::ic_file, ic_format
! misc
real(dp)::IG_rho = 1.0D-5
real(dp)::IG_T2 = 1.0D7
real(dp)::IG_metal = 0.01
real(dp)::ic_scale_pos = 1.0
real(dp)::ic_scale_vel = 1.0
real(dp):... | Fortran | null | 10,148 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/nifty/rho_fine.f90 | !##############################################################################
!##############################################################################
!##############################################################################
!##############################################################################
... | Fortran | null | 67,244 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/init_time.f90 | subroutine init_time
use amr_commons
use hydro_commons
use pm_commons
use cooling_module
#ifdef grackle
use grackle_parameters
#endif
#ifdef RT
use rt_cooling_module
#endif
use mpi_mod
implicit none
integer::i,Nmodel
real(kind=8)::T2_sim
#ifdef grackle
real(dp)::scale_nH,scale_T2,scale_l,scale_d,s... | Fortran | null | 31,604 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/init_refine.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_refine
use amr_commons
use pm_common... | Fortran | null | 10,273 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/init_part.f90 | subroutine init_part
use amr_commons
use pm_commons
use clfind_commons
! DICE patch
use dice_commons
use cooling_module
use gadgetreadfilemod
! DICE patch
#ifdef RT
use rt_parameters,only: convert_birth_times
#endif
use mpi_mod
implicit none
!-----------------------------------------------------... | Fortran | null | 65,622 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/gadgetreadfile.f90 | !TC: Why is this patched? In this version a useless header is read.
! Does this need to be kept for dice compatibility?
MODULE gadgetreadfilemod
!
! Routines to read L-Gadget2 particle data files in Fortran
! Adapted from http://astro.dur.ac.uk/~jch/password_pages/index.html
!
! CHARACTER(LEN=*) :: basefile - the b... | Fortran | null | 10,263 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/particle_tree.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine init_tree
use pm_commons
use amr_commons
... | Fortran | null | 46,126 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/init_flow_fine.f90 | ! TC: there are SOLVERmhd blocks here but this file is not compatible with MHD.
! It doesn't take into account that for MHD nvar is at least 8.
!################################################################
!################################################################
!#######################################... | Fortran | null | 47,023 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/add_list.f90 | !################################################################
!################################################################
!################################################################
!################################################################
subroutine add_list(ind_part,ind_grid,ok,np)
use amr_c... | Fortran | null | 4,804 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/read_params.f90 | module dice_commons
use amr_commons
use hydro_commons
! particle data
character(len=512)::ic_file, ic_format
! misc
real(dp)::IG_rho = 1.0D-5
real(dp)::IG_T2 = 1.0D7
real(dp)::IG_metal = 0.01
real(dp)::ic_scale_pos = 1.0
real(dp)::ic_scale_vel = 1.0
real(dp)::ic_scale_m... | Fortran | null | 20,154 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/init/dice/rho_fine.f90 | !##############################################################################
!##############################################################################
!##############################################################################
!##############################################################################
... | Fortran | null | 67,976 |
[ascl:1011.007] | https://bitbucket.org/rteyssie/ramses | patch/mom2/courant_fine.f90 | subroutine courant_fine(ilevel)
use amr_commons
use hydro_commons
use poisson_commons
use mpi_mod
implicit none
#ifndef WITHOUTMPI
integer::info
real(kind=8),dimension(3)::comm_buffin,comm_buffout
#endif
integer::ilevel
!----------------------------------------------------------------------
! Using ... | Fortran | null | 7,024 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.