From fd7bf4f1d67ee601463e39f2ecad49cd6b5bde23 Mon Sep 17 00:00:00 2001 From: Jeppe Brage Christensen Date: Mon, 19 Nov 2018 10:23:05 -0600 Subject: [PATCH] Updated track structure models --- EQ_cythonized_PDE/evolveDensitiesCython.pyx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/EQ_cythonized_PDE/evolveDensitiesCython.pyx b/EQ_cythonized_PDE/evolveDensitiesCython.pyx index ab5e86f..c0fefe7 100644 --- a/EQ_cythonized_PDE/evolveDensitiesCython.pyx +++ b/EQ_cythonized_PDE/evolveDensitiesCython.pyx @@ -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)