Utility

Some simple convenience functions for development.

Contents

Index

WannierIO.parse_boolMethod
parse_bool(s::AbstractString)

Parse a string as bool.

This is capable of parsing Fortran outputs, e.g., .true., .false., true, T.

source
WannierIO.parse_floatMethod
parse_float(s::AbstractString)

Parse a string as Float64.

The is capable of parsing Fortran outputs, e.g. 1.0D-10, to the ordinary 1e-10.

source

Lattice