read_x {crone}R Documentation

Read unit cell content (atom and coordinates).

Description

Read unit cell length, space group, atom coordinates and all other parameters from a coordinate file.

Usage

read_x(filename)

Arguments

filename

A character string. Existing file that includes all structural information. The file name in general has the form "[prefix]_x.dat".

Value

A named list with the following elements:

Examples

datadir <- system.file("extdata",package="crone")
filename <- file.path(datadir,"carbon_dioxide_x.dat")
sdata <- read_x(filename)
print(names(sdata))
print(sdata)


[Package crone version 0.1.1 Index]