pyrokinetics.gk_code.gk_input.read_gk_input

Contents

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 GKInput subclass.

This function differs from similar functions such as read_equilibrium or read_gk_output, as GKInput is both a reader and readable. This means we shouldn’t discard the reader class. As a result, this function does not use GKInput.from_file.

Return type:

GKInput

Parameters: