krakentools.meshes.get_mesh_float

krakentools.meshes.get_mesh_float(source)

Gets the next float for the mesh based on data coming from a communicator or from a list of strings (e.g. tokenized file).

Parameters:
  • source (Union[Communicator, List[str]]) – The data source, being

  • strings. (either a communicator or a list of) –

Returns:

The next float in the mesh data

Return type:

float