Muscat.IO.AscReader module¶
ASC file reader
- class AscReader[source]¶
Bases:
ReaderBase
ASC Reader class
- Read(fileName='', string='', out=None)[source]¶
Function that performs the reading of an ASC file
- Parameters:
fileName (str, optional) – name of the file to be read, by default None
string (str, optional) – data to be read as a string instead of a file, by default None
out (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type:
- ReadAsc(fileName: str = '', string: str = '', out=None, **kwargs)[source]¶
Function API for reading an ASC result file
- Parameters:
fileName (str, optional) – name of the file to be read, by default None
string (str, optional) – data to be read as a string instead of a file, by default None
out (Mesh, optional) – output unstructured mesh object containing reading result, by default None
- Returns:
output unstructured mesh object containing reading result
- Return type: