allpart: Concatenate identical properties of different Gadget particle...

Description Usage Arguments Value Author(s)

View source: R/allpart.R

Description

Concatenate identical properties of different particle species in a Gadget snapshot

Usage

1
allpart(dat, field = "Coordinates", species = seq(0, 5))

Arguments

dat

list containing the particle data of a single Gadget snapshot, e.g. read via readgadget.

field

character specifying particle property to concatenate.

species

vector of particle species to be incluced.

Value

Returns N-vector or N-by-3 matrix representing the property "field" of all the particle species given in species (0-indexed).

Author(s)

Danail Obreschkow


obreschkow/simstar documentation built on Jan. 29, 2022, 2:16 p.m.