Go to the source code of this file.
Modules | |
| module | projectsph_mod |
Data Types | |
| type | projectsph_mod::grid_info_type |
| type to hold info about the grid More... | |
Functions/Subroutines | |
| subroutine | projectsph_mod::init_kerntable (ntable) |
| initializes the kernel table | |
| subroutine | projectsph_mod::init_grid (gridinfo, grid, origin, len, depth, h, a, pixtol, ngrid, ntable, iaxis, gridalgo) |
| initialize an empty grid | |
| subroutine | projectsph_mod::gridinfo_to_screen (gridinfo) |
| write grid info to the screen | |
| integer(ip), dimension(2) | projectsph_mod::pt2cell (pt, Ng, wrap) |
| takes a normalized position, [between 0.0 and float(Ncells)], the number of cells in the grid and a wrap logical and returns a cell | |
| subroutine | projectsph_mod::make_grid (xpos, ypos, hsml, quant, gridinfo, grid) |
| takes a set of positions, smoothing lengths, and a quantity to smooth for each particle and puts it onto a grid. The smoothing lengths are assumed to be the kind that go to zero at 2h. Note that the grid can have pre-existing data on it (in fact it must if this is a multifile snapshot) and the passed quant is added to what is already there. | |
| subroutine | projectsph_mod::write_grid (massgrid, mHIgrid, gridinfo, outfile) |
| outputs two grids to file. one is the total mass (H+He+Else) and the other is just the neutral H mass. Everything can be reconstructed from these and XH. | |
Variables | |
| integer, parameter | projectsph_mod::rp = kind(1.0d0) |
| 8 byte reals | |
| integer, parameter | projectsph_mod::ip = kind(1_8) |
| 8 byte integers | |
| real(rp), dimension(:,:), allocatable | projectsph_mod::kerntable |
| tabulated kernel values | |
Definition in file projectsph.f90.
1.5.5