Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #272 from simphony/int-number-of-time-steps
Browse files Browse the repository at this point in the history
set dtype of NUMBER_OF_TIME_STEPS to be Int
  • Loading branch information
kitchoi committed Jan 19, 2016
2 parents a951cc5 + 80969ab commit 353a0a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/source/cuba.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ DebyeLength Electrostatic effects of particles in solution
SmoothingLength Half of kernel cut-off for all splines ['SPH'] SMOOTHING_LENGTH 46 [1] double
LatticeSpacing Distance between adjacent lattice nodes ['LBM'] LATTICE_SPACING 47 [1] double
TimeStep Length of a discrete time step ['DEM', 'FEM', 'FVM', 'LBM'] TIME_STEP 48 [1] double
NumberOfTimeSteps Number of discrete time steps ['DEM', 'FEM', 'FVM', 'LBM'] NUMBER_OF_TIME_STEPS 49 [1] double
NumberOfTimeSteps Number of discrete time steps ['DEM', 'FEM', 'FVM', 'LBM'] NUMBER_OF_TIME_STEPS 49 [1] integer
Force Force ['DEM', 'LBM', 'SPH'] FORCE 50 [3] double
Torque Torque ['DEM'] TORQUE 51 [3] double
Density Density ['DEM', 'FEM', 'FVM', 'LBM', 'SPH'] DENSITY 52 [1] double
Expand Down
2 changes: 1 addition & 1 deletion simphony/core/cuba.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
name: NumberOfTimeSteps
number: 49
shape: [1]
type: double
type: integer
- description: Force
domain: [DEM, LBM, SPH]
key: FORCE
Expand Down
2 changes: 1 addition & 1 deletion simphony/core/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
key='NUMBER_OF_TIME_STEPS',
number=49,
shape=[1],
dtype=numpy.float64),
dtype=numpy.int32),
'FORCE': Keyword(
name='Force',
description='Force', # noqa
Expand Down

0 comments on commit 353a0a8

Please sign in to comment.