struct
Chem::Spatial::Grid::Info
- Chem::Spatial::Grid::Info
- Struct
- Value
- Object
Overview
Gather, check and annotate types registering a format
Defined in:
chem/register_format.crchem/spatial/grid.cr
Constructors
- .from_chgcar(io : IO) : self
- .from_chgcar(path : Path | String) : self
- .from_cube(io : IO) : self
- .from_cube(path : Path | String) : self
- .from_dx(io : IO) : self
- .from_dx(path : Path | String) : self
- .from_locpot(io : IO) : self
- .from_locpot(path : Path | String) : self
- .new(bounds : Parallelepiped, dim : Dimensions)
- .read(input : IO | Path | String, format : Chem::Cube.class) : self
- .read(input : IO | Path | String, format : Chem::DX.class) : self
- .read(input : IO | Path | String, format : Chem::VASP::Chgcar.class) : self
- .read(input : IO | Path | String, format : Chem::VASP::Locpot.class) : self
-
.read(input : IO | Path | String, format) : self
FIXME Make it compile time error.
- .read(path : IO | Path | String) : self
Instance Method Summary
- #bounds : Parallelepiped
- #clone
- #copy_with(bounds _bounds = @bounds, dim _dim = @dim)
- #dim : Dimensions
Constructor Detail
FIXME Make it compile time error. Should raise if format is not registered or format is incompatible with open_type. Better create an override with the other formats, and leave this as a fallback.