class Chem::VASP::Poscar::Reader

Defined in:

chem/io/formats/vasp/poscar.cr

Constructors

Instance Method Summary

Instance methods inherited from class Chem::Structure::Reader

each(indexes : Enumerable(Int), &block : Structure -> ) each, read_entry : Structure read_entry, select(indexes : Enumerable(Int)) : Iterator(Structure) select, skip(n : Int) : Iterator(Structure) skip, skip_structure : Nil skip_structure

Constructor methods inherited from class Chem::Structure::Reader

new(input : ::IO, guess_topology : Bool = true, sync_close : Bool = true)
new(path : Path | String, guess_topology : Bool = true) : self
new

Instance methods inherited from class Chem::IO::Reader(Chem::Structure)

close close, closed? closed?, parse_exception(msg : String) parse_exception, read_entry : T read_entry, sync_close=(sync_close : Bool) sync_close=, sync_close? sync_close?

Constructor methods inherited from class Chem::IO::Reader(Chem::Structure)

new(io : ::IO, sync_close : Bool = true)
new(path : Path | String) : self
new

Class methods inherited from class Chem::IO::Reader(Chem::Structure)

open(io : ::IO, sync_close : Bool = true, **options, &)
open(path : Path | String, **options, &)
open

Constructor Detail

def self.new(input : ::IO, guess_topology : Bool = true, sync_close : Bool = true) #

[View source]
def self.new(path : Path | String, guess_topology : Bool = true) : self #

[View source]

Instance Method Detail

def next : Structure | Iterator::Stop #
Description copied from module Iterator(Chem::Structure)

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.


[View source]
def skip_structure : Nil #

[View source]