pyrokinetics.gk_code.gk_input.read_gk_input#
- pyrokinetics.gk_code.gk_input.read_gk_input(path, file_type=None, **kwargs)[source]#
Create and instantiate a
GKInputsubclass.This function differs from similar functions such as
read_equilibriumorread_gk_output, asGKInputis both a reader and readable. This means we shouldn’t discard the reader class. As a result, this function does not useGKInput.from_file.