Bases: ResultReader
Read one VTKHDF result file without eagerly loading transient fields.
Attributes
_file
instance-attribute
_file: Optional[File] = None
_mesh
instance-attribute
_mesh: Optional[UnstructuredGrid] = None
capabilities
property
capabilities: FrozenSet[str]
available_point_responses
property
available_point_responses: tuple[str, ...]
available_cell_responses
property
available_cell_responses: tuple[str, ...]
number_of_points
property
Methods:
_validate_layout
_validate_layout() -> None
_available_responses
_available_responses(location: str) -> tuple[str, ...]
point_history
point_history(response: str, point_index: int, component: Component = None) -> np.ndarray
cell_history
cell_history(response: str, cell_index: int, component: Component = None) -> np.ndarray
point_frame
point_frame(response: str, step: int, component: Component = None) -> np.ndarray
cell_frame
cell_frame(response: str, step: int, component: Component = None) -> np.ndarray
_history
_history(location: str, response: str, entity_index: int, component: Component) -> np.ndarray
_frame
_frame(location: str, response: str, step: int, component: Component) -> np.ndarray
_response_data
_response_data(location: str, response: str) -> tuple[h5py.Dataset, h5py.Dataset]
_entity_count
_entity_count(location: str) -> int
_select_component
staticmethod
_select_component(values: ndarray, component: Component) -> np.ndarray