Skip to content

Commit

Permalink
Updated track structure models
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrage authored Nov 19, 2018
1 parent 3b273af commit fd7bf4f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions EQ_cythonized_PDE/evolveDensitiesCython.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,15 @@ def PDEsolver( str track_structure_model,
'''

# grid values from stability tests
cdef double voxelSize_cm = 5e-9
cdef int nVoxelsArray = int(1e-6/voxelSize_cm)
cdef double voxelSize_cm = 3e-8
cdef int nVoxelsArray = int(1.0e-5/voxelSize_cm)

if track_structure_model == 'Chatterjee_Schaefer':
voxelSize_cm = 0.8e-8
nVoxelsArray = int(1.0e-5/voxelSize_cm)

# cdef double voxelSize_cm = 10e-9
# cdef int nVoxelsArray = int(5e-5/voxelSize_cm)

# preallocate variables and arrays
cdef np.ndarray[DTYPE_t, ndim=1] exctionArray = np.empty(nVoxelsArray)
Expand Down

0 comments on commit fd7bf4f

Please sign in to comment.