Skip to content

Commit a764d42

Browse files
added time dimension
1 parent b0450d8 commit a764d42

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

exodus_helper/reconfigure_mesh.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def convert_tet4_tet10(filename_from, filename_to=None, **kwargs):
9595
title=kwargs.get('title', mesh_from.get_title()),
9696
**kwargs)
9797

98+
mesh_to.dataset.createDimension('time_step', size=None)
99+
98100
mesh_to.put_coords(*np.array(coords_to).T)
99101
mesh_to.put_concat_elem_blk(
100102
ids_blk, elem_types, nums_elems, nums_nodes, nums_attrs, define_maps)

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = 'poetry.core.masonry.api'
44

55
[tool.poetry]
66
name = 'exodus_helper'
7-
version = '1.2.2'
7+
version = '1.3.1'
88
description = 'A package for manipulating ExodusII databases'
99
license = 'BSD-3-Clause'
1010
authors = ['Coleman Alleman <callema@sandia.gov>']
@@ -19,7 +19,7 @@ classifiers = [
1919
packages =[{include='exodus_helper'}]
2020

2121
[tool.poetry.dependencies]
22-
python = '>=3.10,<3.13'
22+
python = '>=3.11,<3.13'
2323
netCDF4 = '^1'
2424
numpy = '^1'
2525
packaging = '^24'

0 commit comments

Comments
 (0)