![]() |
|
Public Member Functions | |
| def | __init__ (self) |
| def | nodesCount (self) |
Static Public Member Functions | |
| def | parse (file, line) |
Public Attributes | |
| edges | |
| nodes | |
| dimension | |
| cellType | |
| cellFormat | |
| cellsCount | |
| connectivities | |
This class handles Tecplot zone informations.
| def oomph-convert.TecplotZone.__init__ | ( | self | ) |
| def oomph-convert.TecplotZone.nodesCount | ( | self | ) |
:return: The number of nodes in this zone
References oomph-convert.TecplotZone.nodes, and PQueueType.nodes.
|
static |
Parse the zone of the given file starting from current position.
:param file: A file open for reading
:param line: The current position in the file as line number (used for error messages)
:return: :class:`TecplotZone` if a zone has been found before the end of the file otherwise :const:`None`
:return: The updated line position in input file
:raise: :class:`TecplotParsingError` on parsing error
.. note:: This method will seek until it reach a Tecplot zone header.
References int(), and oomph::DoubleVectorHelpers.split().
| oomph-convert.TecplotZone.cellFormat |
| oomph-convert.TecplotZone.cellsCount |
| oomph-convert.TecplotZone.cellType |
| oomph-convert.TecplotZone.connectivities |
| oomph-convert.TecplotZone.dimension |
| oomph-convert.TecplotZone.edges |
| oomph-convert.TecplotZone.nodes |
Referenced by oomph-convert.TecplotZone.nodesCount().