WRApplication
External kratos "application" for multiscale time integration.
xdmf.py File Reference

Classes

class  HDF5CoordinateDataItem
 

Namespaces

 python_scripts.utilities.xdmf
 

Functions

def TryOpenH5File (name, mode=None, driver=None, **kwds)
 A context manager wrapper for the opened file. More...
 
def RenumberConnectivitiesForXdmf (filename_or_list_of_filenames, h5path_to_mesh)
 Renumber mesh connectivities for XDMF. More...
 
None GetListOfSpatialGrids ("list[list[str]]" spatial_grids_list, h5py.Group h5_model_part, str current_path)
 
def CreateXdmfSpatialGrid (h5_model_part)
 Return an XDMF Grid object corresponding to a mesh in an HDF5 file. More...
 
def Has_dtype (item)
 
def XdmfNodalResults (h5_results)
 Return a list of XDMF Attribute objects for nodal results in an HDF5 file. More...
 
def XdmfNodalFlags (h5_results)
 Return a list of XDMF Attribute objects for nodal flags in an HDF5 file. More...
 
def XdmfElementResults (h5_results)
 Return a list of XDMF Attribute objects for element results in an HDF5 file. More...
 
def XdmfElementFlags (h5_results)
 Return a list of XDMF Attribute objects for element flags in an HDF5 file. More...
 
def XdmfElementGaussPointValues (h5_results)
 Return a list of XDMF Attribute objects for element integration point values in an HDF5 file. More...
 
def XdmfConditionResults (h5_results)
 Return a list of XDMF Attribute objects for element results in an HDF5 file. More...
 
def XdmfConditionFlags (h5_results)
 Return a list of XDMF Attribute objects for element flags in an HDF5 file. More...
 
def XdmfConditionGaussPointValues (h5_results)
 Return a list of XDMF Attribute objects for element integration point values in an HDF5 file. More...
 
def XdmfResults (h5py.Group h5_results)
 Return a list of XDMF Attribute objects for results in an HDF5 file. More...
 
def TimeLabel (file_path)
 Return the time string from the file name. More...
 
def TimeFromFileName (file_path)
 Return the time value for the file name. More...
 
def FindMatchingFiles (pattern)
 Return a list of HDF5 files matching the given file name pattern. More...
 
def GetSortedListOfFiles (pattern)
 Return sorted file list based on the time stamp. More...
 
def GetStep (value, patterns)
 
def GetMatchingGroupNames (output_dict, value, patterns, pattern_with_wildcards)
 
def WriteMultifileTemporalAnalysisToXdmf (ospath, h5path_to_mesh, h5path_to_results)
 Write XDMF metadata for a temporal analysis from multiple HDF5 files. More...
 
def CreateXdmfTemporalGridFromSinglefile (h5_file_name, h5path_pattern_to_mesh, h5path_pattern_to_results, bool require_results=False)
 Return an XDMF Grid object for a list of temporal results in a single HDF5 file. More...
 
def WriteSinglefileTemporalAnalysisToXdmf (h5_file_name, h5path_pattern_to_mesh, h5path_pattern_to_results, bool require_results=False)
 Write XDMF metadata for a temporal analysis from single HDF5 file. More...
 

Variables

string warn_msg = "h5py module was not found!"