read_gadget_model: Read a Gadget model

Description Usage Arguments Value Examples

Description

This is a wrapper function for most of the read_gadget_* functions. It reads in all of the main components for a Gadget model and wraps them in a list of class gadget_model

Usage

1
read_gadget_model(main = "main", path = NULL)

Arguments

path

Optional. Character vector of path to the directory where Gadget files are located

Value

A list of class gadget_model

Examples

1
2
path <- system.file(gad_mod_dir, package = "gadgetSim")
gad_mod <- read_gadget_model(path = path)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.