def test_generate_xdmf(self):
    data_file_prefix = os.path.join(spectre_informer.unit_test_path(), 'Visualization/Python', 'VolTestData')
    output_filename = 'Test_GenerateXdmf_output'
    if os.path.isfile((output_filename + '.xmf')):
        os.remove((output_filename + '.xmf'))
    generate_xdmf(file_prefix=data_file_prefix, output=output_filename, subfile_name='element_data', start_time=0.0, stop_time=1.0, stride=1, coordinates='InertialCoordinates')
    self.assertTrue(os.path.isfile((output_filename + '.xmf')))
    os.remove((output_filename + '.xmf'))
def test_generate_xdmf(self):
    data_file_prefix = os.path.join(spectre_informer.unit_test_path(), 'Visualization/Python', 'VolTestData')
    output_filename = 'Test_GenerateXdmf_output'
    if os.path.isfile((output_filename + '.xmf')):
        os.remove((output_filename + '.xmf'))
    generate_xdmf(file_prefix=data_file_prefix, output=output_filename, subfile_name='element_data', start_time=0.0, stop_time=1.0, stride=1, coordinates='InertialCoordinates')
    self.assertTrue(os.path.isfile((output_filename + '.xmf')))
    os.remove((output_filename + '.xmf'))