Add a new block of time steps with the given parameters.
Parameters
duration : float|None=None
Duration of the new time step block. If not provided, then end_time must be provided.
end_time : float|None=None
End time of the new time step block. If not provided, then duration must be provided. If provided, the duration of the new block will be calculated as end_time - self.duration.
kws : =None
Additional keyword arguments to pass to the ConstantTimeStepInterval constructor.
In some special cases, when using TimeStepAccumulator you might want to add time steps one by one, which can be done using the append method in combination with the ConstantTimeStepInterval described below.
Class to represent the data of a SaveLine results file.
Parameters
fname : str| pathlib.Path
The path to the data file output of Elmer’s SaveLine solver.
fmeta : str| pathlib.Path |None=None
The path to the associated metadata file. If not provided, the class will attempt to find a metadata file in the same directory as the data file, with the same name but with a .names extension. If still not found, it will look for the metadata file one level above the data file directory.
Notemetadata
metadata(self : Any): -> ElmerTabularMetadata:
Provides access to the metadata of the save line data.