Skip to content

Commit

Permalink
Fix loading bulk
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Mar 29, 2024
1 parent c89269c commit ad7e130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cadet/cadet_dll.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ def _process_data(

# Ordering of multi-dimensional arrays, all possible dimensions:
# Example: Outlet [nTime, nPort, nComp]
# Bulk [nTime, nRadialCells, nAxialCells, nComp] if 2D model
# Bulk [nTime, nAxialCells, nRadialCells, nComp] if 2D model
# Bulk [nTime, nAxialCells, nComp] if 1D model
dimensions = ['nTime', 'nPort', 'nRadialCells', 'nAxialCells', 'nParShells', 'nComp', 'nBound']
dimensions = ['nTime', 'nPort', 'nAxialCells', 'nRadialCells', 'nParShells', 'nComp', 'nBound']
for dim in dimensions:
if dim in call_outputs and call_outputs[dim].value:
shape.append(call_outputs[dim].value)
Expand Down

0 comments on commit ad7e130

Please sign in to comment.