Giter Club home page Giter Club logo

c2-ray3dm's People

Contributors

garrelt avatar micbia avatar sambit-giri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c2-ray3dm's Issues

Source directory

The source directory contains both the read-in source lists and the processed source lists. It would be better to separate these as the former do not change and can be kept in a master source directory and the latter are different for different simulations. The proposal is to introduce a processed_sources directory.

Status of repo?

Hi Garrelt

A few questions:

Is this now the canonical version of C2Ray?

Is this repo public, or are you paying github to let you have private repos?

If it is public, then does that mean you would be ok with me putting Phab-C2 on github? Currently only the input scripts and the post-processing suite are here. The code itself is on my own git server, only accessible from inside the CRyA firewall.

Cheers

Will

PS. The real motive for writing this was to try out the new Github Issues app for iOS.

LW calculation

The code does not contain a calculation of the LW background nor a subgrid model for minihaloes

Grid sizes larger than ndim^3=2,147,483,647 (4-bytes) not allowed

When I compile the code with a grid size of 1024 I get the following compile error:

mpif90  -c  -fopenmp -DMY_OPENMP  -DMPI  mat_ini_cubep3m.F90
mat_ini_cubep3m.F90:548.55:

       call MPI_BCAST(temperature_grid,mesh(1)*mesh(2)*mesh(3)*3,MPI_REAL,0,...

As Garrelt has noted via private communication this is because ndim^3 is above the 4-byte maximum allowed. Since my runs have logical,parameter :: isothermal=.true. I can comment out:

!#ifdef MPI       
!       ! Distribute the input parameters to the other nodes
!       call MPI_BCAST(temperature_grid,mesh(1)*mesh(2)*mesh(3)*3,MPI_REAL,0,&
!            MPI_COMM_NEW,mympierror)
!#endif

It now compiles but needs to be fixed for future.

IonFracs overwritten upon restart

The IonFracs file is overwritten to be zero for the previous slice when a restart is initiated. This effect is seen in restart both with and without an iterdump.

Test cases

C2Ray_3D_test_periodic* is unable to read the input example files that defines the "output streams". The input options suggested in the Google doc documentation also includes "output streams".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.