3 #ifndef PY_SSIZE_T_CLEAN
4 #define PY_SSIZE_T_CLEAN
8 #error Python headers needed to compile C extensions, please install development version of Python.
9 #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
10 #error Cython requires Python 2.6+ or Python 3.3+.
12 #define CYTHON_ABI "0_29_30"
13 #define CYTHON_HEX_VERSION 0x001D1EF0
14 #define CYTHON_FUTURE_DIVISION 0
17 #define offsetof(type, member) ( (size_t) & ((type*)0) -> member )
19 #if !defined(WIN32) && !defined(MS_WINDOWS)
31 #define DL_IMPORT(t) t
34 #define DL_EXPORT(t) t
37 #ifndef HAVE_LONG_LONG
38 #if PY_VERSION_HEX >= 0x02070000
39 #define HAVE_LONG_LONG
43 #define PY_LONG_LONG LONG_LONG
46 #define Py_HUGE_VAL HUGE_VAL
49 #define CYTHON_COMPILING_IN_PYPY 1
50 #define CYTHON_COMPILING_IN_PYSTON 0
51 #define CYTHON_COMPILING_IN_CPYTHON 0
52 #undef CYTHON_USE_TYPE_SLOTS
53 #define CYTHON_USE_TYPE_SLOTS 0
54 #undef CYTHON_USE_PYTYPE_LOOKUP
55 #define CYTHON_USE_PYTYPE_LOOKUP 0
56 #if PY_VERSION_HEX < 0x03050000
57 #undef CYTHON_USE_ASYNC_SLOTS
58 #define CYTHON_USE_ASYNC_SLOTS 0
59 #elif !defined(CYTHON_USE_ASYNC_SLOTS)
60 #define CYTHON_USE_ASYNC_SLOTS 1
62 #undef CYTHON_USE_PYLIST_INTERNALS
63 #define CYTHON_USE_PYLIST_INTERNALS 0
64 #undef CYTHON_USE_UNICODE_INTERNALS
65 #define CYTHON_USE_UNICODE_INTERNALS 0
66 #undef CYTHON_USE_UNICODE_WRITER
67 #define CYTHON_USE_UNICODE_WRITER 0
68 #undef CYTHON_USE_PYLONG_INTERNALS
69 #define CYTHON_USE_PYLONG_INTERNALS 0
70 #undef CYTHON_AVOID_BORROWED_REFS
71 #define CYTHON_AVOID_BORROWED_REFS 1
72 #undef CYTHON_ASSUME_SAFE_MACROS
73 #define CYTHON_ASSUME_SAFE_MACROS 0
74 #undef CYTHON_UNPACK_METHODS
75 #define CYTHON_UNPACK_METHODS 0
76 #undef CYTHON_FAST_THREAD_STATE
77 #define CYTHON_FAST_THREAD_STATE 0
78 #undef CYTHON_FAST_PYCALL
79 #define CYTHON_FAST_PYCALL 0
80 #undef CYTHON_PEP489_MULTI_PHASE_INIT
81 #define CYTHON_PEP489_MULTI_PHASE_INIT 0
82 #undef CYTHON_USE_TP_FINALIZE
83 #define CYTHON_USE_TP_FINALIZE 0
84 #undef CYTHON_USE_DICT_VERSIONS
85 #define CYTHON_USE_DICT_VERSIONS 0
86 #undef CYTHON_USE_EXC_INFO_STACK
87 #define CYTHON_USE_EXC_INFO_STACK 0
88 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
89 #define CYTHON_UPDATE_DESCRIPTOR_DOC (PYPY_VERSION_HEX >= 0x07030900)
91 #elif defined(PYSTON_VERSION)
92 #define CYTHON_COMPILING_IN_PYPY 0
93 #define CYTHON_COMPILING_IN_PYSTON 1
94 #define CYTHON_COMPILING_IN_CPYTHON 0
95 #ifndef CYTHON_USE_TYPE_SLOTS
96 #define CYTHON_USE_TYPE_SLOTS 1
98 #undef CYTHON_USE_PYTYPE_LOOKUP
99 #define CYTHON_USE_PYTYPE_LOOKUP 0
100 #undef CYTHON_USE_ASYNC_SLOTS
101 #define CYTHON_USE_ASYNC_SLOTS 0
102 #undef CYTHON_USE_PYLIST_INTERNALS
103 #define CYTHON_USE_PYLIST_INTERNALS 0
104 #ifndef CYTHON_USE_UNICODE_INTERNALS
105 #define CYTHON_USE_UNICODE_INTERNALS 1
107 #undef CYTHON_USE_UNICODE_WRITER
108 #define CYTHON_USE_UNICODE_WRITER 0
109 #undef CYTHON_USE_PYLONG_INTERNALS
110 #define CYTHON_USE_PYLONG_INTERNALS 0
111 #ifndef CYTHON_AVOID_BORROWED_REFS
112 #define CYTHON_AVOID_BORROWED_REFS 0
114 #ifndef CYTHON_ASSUME_SAFE_MACROS
115 #define CYTHON_ASSUME_SAFE_MACROS 1
117 #ifndef CYTHON_UNPACK_METHODS
118 #define CYTHON_UNPACK_METHODS 1
120 #undef CYTHON_FAST_THREAD_STATE
121 #define CYTHON_FAST_THREAD_STATE 0
122 #undef CYTHON_FAST_PYCALL
123 #define CYTHON_FAST_PYCALL 0
124 #undef CYTHON_PEP489_MULTI_PHASE_INIT
125 #define CYTHON_PEP489_MULTI_PHASE_INIT 0
126 #undef CYTHON_USE_TP_FINALIZE
127 #define CYTHON_USE_TP_FINALIZE 0
128 #undef CYTHON_USE_DICT_VERSIONS
129 #define CYTHON_USE_DICT_VERSIONS 0
130 #undef CYTHON_USE_EXC_INFO_STACK
131 #define CYTHON_USE_EXC_INFO_STACK 0
132 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
133 #define CYTHON_UPDATE_DESCRIPTOR_DOC 0
136 #define CYTHON_COMPILING_IN_PYPY 0
137 #define CYTHON_COMPILING_IN_PYSTON 0
138 #define CYTHON_COMPILING_IN_CPYTHON 1
139 #ifndef CYTHON_USE_TYPE_SLOTS
140 #define CYTHON_USE_TYPE_SLOTS 1
142 #if PY_VERSION_HEX < 0x02070000
143 #undef CYTHON_USE_PYTYPE_LOOKUP
144 #define CYTHON_USE_PYTYPE_LOOKUP 0
145 #elif !defined(CYTHON_USE_PYTYPE_LOOKUP)
146 #define CYTHON_USE_PYTYPE_LOOKUP 1
148 #if PY_MAJOR_VERSION < 3
149 #undef CYTHON_USE_ASYNC_SLOTS
150 #define CYTHON_USE_ASYNC_SLOTS 0
151 #elif !defined(CYTHON_USE_ASYNC_SLOTS)
152 #define CYTHON_USE_ASYNC_SLOTS 1
154 #if PY_VERSION_HEX < 0x02070000
155 #undef CYTHON_USE_PYLONG_INTERNALS
156 #define CYTHON_USE_PYLONG_INTERNALS 0
157 #elif !defined(CYTHON_USE_PYLONG_INTERNALS)
158 #define CYTHON_USE_PYLONG_INTERNALS 1
160 #ifndef CYTHON_USE_PYLIST_INTERNALS
161 #define CYTHON_USE_PYLIST_INTERNALS 1
163 #ifndef CYTHON_USE_UNICODE_INTERNALS
164 #define CYTHON_USE_UNICODE_INTERNALS 1
166 #if PY_VERSION_HEX < 0x030300F0 || PY_VERSION_HEX >= 0x030B00A2
167 #undef CYTHON_USE_UNICODE_WRITER
168 #define CYTHON_USE_UNICODE_WRITER 0
169 #elif !defined(CYTHON_USE_UNICODE_WRITER)
170 #define CYTHON_USE_UNICODE_WRITER 1
172 #ifndef CYTHON_AVOID_BORROWED_REFS
173 #define CYTHON_AVOID_BORROWED_REFS 0
175 #ifndef CYTHON_ASSUME_SAFE_MACROS
176 #define CYTHON_ASSUME_SAFE_MACROS 1
178 #ifndef CYTHON_UNPACK_METHODS
179 #define CYTHON_UNPACK_METHODS 1
181 #if PY_VERSION_HEX >= 0x030B00A4
182 #undef CYTHON_FAST_THREAD_STATE
183 #define CYTHON_FAST_THREAD_STATE 0
184 #elif !defined(CYTHON_FAST_THREAD_STATE)
185 #define CYTHON_FAST_THREAD_STATE 1
187 #ifndef CYTHON_FAST_PYCALL
188 #define CYTHON_FAST_PYCALL (PY_VERSION_HEX < 0x030A0000)
190 #ifndef CYTHON_PEP489_MULTI_PHASE_INIT
191 #define CYTHON_PEP489_MULTI_PHASE_INIT (PY_VERSION_HEX >= 0x03050000)
193 #ifndef CYTHON_USE_TP_FINALIZE
194 #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1)
196 #ifndef CYTHON_USE_DICT_VERSIONS
197 #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX >= 0x030600B1)
199 #if PY_VERSION_HEX >= 0x030B00A4
200 #undef CYTHON_USE_EXC_INFO_STACK
201 #define CYTHON_USE_EXC_INFO_STACK 0
202 #elif !defined(CYTHON_USE_EXC_INFO_STACK)
203 #define CYTHON_USE_EXC_INFO_STACK (PY_VERSION_HEX >= 0x030700A3)
205 #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC
206 #define CYTHON_UPDATE_DESCRIPTOR_DOC 1
209 #if !defined(CYTHON_FAST_PYCCALL)
210 #define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1)
212 #if CYTHON_USE_PYLONG_INTERNALS
213 #if PY_MAJOR_VERSION < 3
214 #include "longintrepr.h"
220 enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P ==
sizeof(
void*)) };
223 #ifndef __has_attribute
224 #define __has_attribute(x) 0
226 #ifndef __has_cpp_attribute
227 #define __has_cpp_attribute(x) 0
229 #ifndef CYTHON_RESTRICT
230 #if defined(__GNUC__)
231 #define CYTHON_RESTRICT __restrict__
232 #elif defined(_MSC_VER) && _MSC_VER >= 1400
233 #define CYTHON_RESTRICT __restrict
234 #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
235 #define CYTHON_RESTRICT restrict
237 #define CYTHON_RESTRICT
240 #ifndef CYTHON_UNUSED
241 # if defined(__GNUC__)
242 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
243 # define CYTHON_UNUSED __attribute__ ((__unused__))
245 # define CYTHON_UNUSED
247 # elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER))
248 # define CYTHON_UNUSED __attribute__ ((__unused__))
250 # define CYTHON_UNUSED
253 #ifndef CYTHON_MAYBE_UNUSED_VAR
254 # if defined(__cplusplus)
255 template<
class T>
void CYTHON_MAYBE_UNUSED_VAR(
const T& ) { }
257 # define CYTHON_MAYBE_UNUSED_VAR(x) (void)(x)
260 #ifndef CYTHON_NCP_UNUSED
261 # if CYTHON_COMPILING_IN_CPYTHON
262 # define CYTHON_NCP_UNUSED
264 # define CYTHON_NCP_UNUSED CYTHON_UNUSED
267 #define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None)
269 #ifndef _MSC_STDINT_H_
271 typedef unsigned char uint8_t;
272 typedef unsigned int uint32_t;
274 typedef unsigned __int8 uint8_t;
275 typedef unsigned __int32 uint32_t;
281 #ifndef CYTHON_FALLTHROUGH
282 #if defined(__cplusplus) && __cplusplus >= 201103L
283 #if __has_cpp_attribute(fallthrough)
284 #define CYTHON_FALLTHROUGH [[fallthrough]]
285 #elif __has_cpp_attribute(clang::fallthrough)
286 #define CYTHON_FALLTHROUGH [[clang::fallthrough]]
287 #elif __has_cpp_attribute(gnu::fallthrough)
288 #define CYTHON_FALLTHROUGH [[gnu::fallthrough]]
291 #ifndef CYTHON_FALLTHROUGH
292 #if __has_attribute(fallthrough)
293 #define CYTHON_FALLTHROUGH __attribute__((fallthrough))
295 #define CYTHON_FALLTHROUGH
298 #if defined(__clang__ ) && defined(__apple_build_version__)
299 #if __apple_build_version__ < 7000000
300 #undef CYTHON_FALLTHROUGH
301 #define CYTHON_FALLTHROUGH
306 #ifndef CYTHON_INLINE
307 #if defined(__clang__)
308 #define CYTHON_INLINE __inline__ __attribute__ ((__unused__))
309 #elif defined(__GNUC__)
310 #define CYTHON_INLINE __inline__
311 #elif defined(_MSC_VER)
312 #define CYTHON_INLINE __inline
313 #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
314 #define CYTHON_INLINE inline
316 #define CYTHON_INLINE
320 #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag)
321 #define Py_OptimizeFlag 0
323 #define __PYX_BUILD_PY_SSIZE_T "n"
324 #define CYTHON_FORMAT_SSIZE_T "z"
325 #if PY_MAJOR_VERSION < 3
326 #define __Pyx_BUILTIN_MODULE_NAME "__builtin__"
327 #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
328 PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
329 #define __Pyx_DefaultClassType PyClass_Type
331 #define __Pyx_BUILTIN_MODULE_NAME "builtins"
332 #define __Pyx_DefaultClassType PyType_Type
333 #if PY_VERSION_HEX >= 0x030B00A1
334 static CYTHON_INLINE PyCodeObject* __Pyx_PyCode_New(
int a,
int k,
int l,
int s,
int f,
335 PyObject *code, PyObject *
c, PyObject*
n, PyObject *
v,
336 PyObject *fv, PyObject *cell, PyObject* fn,
337 PyObject *name,
int fline, PyObject *lnos) {
338 PyObject *kwds=NULL, *argcount=NULL, *posonlyargcount=NULL, *kwonlyargcount=NULL;
339 PyObject *nlocals=NULL, *stacksize=NULL, *flags=NULL, *replace=NULL, *call_result=NULL, *empty=NULL;
340 const char *fn_cstr=NULL;
341 const char *name_cstr=NULL;
342 PyCodeObject* co=NULL;
343 PyObject *type, *value, *traceback;
344 PyErr_Fetch(&type, &value, &traceback);
345 if (!(kwds=PyDict_New()))
goto end;
346 if (!(argcount=PyLong_FromLong(a)))
goto end;
347 if (PyDict_SetItemString(kwds,
"co_argcount", argcount) != 0)
goto end;
348 if (!(posonlyargcount=PyLong_FromLong(0)))
goto end;
349 if (PyDict_SetItemString(kwds,
"co_posonlyargcount", posonlyargcount) != 0)
goto end;
350 if (!(kwonlyargcount=PyLong_FromLong(k)))
goto end;
351 if (PyDict_SetItemString(kwds,
"co_kwonlyargcount", kwonlyargcount) != 0)
goto end;
352 if (!(nlocals=PyLong_FromLong(l)))
goto end;
353 if (PyDict_SetItemString(kwds,
"co_nlocals", nlocals) != 0)
goto end;
354 if (!(stacksize=PyLong_FromLong(
s)))
goto end;
355 if (PyDict_SetItemString(kwds,
"co_stacksize", stacksize) != 0)
goto end;
356 if (!(flags=PyLong_FromLong(
f)))
goto end;
357 if (PyDict_SetItemString(kwds,
"co_flags", flags) != 0)
goto end;
358 if (PyDict_SetItemString(kwds,
"co_code", code) != 0)
goto end;
359 if (PyDict_SetItemString(kwds,
"co_consts",
c) != 0)
goto end;
360 if (PyDict_SetItemString(kwds,
"co_names",
n) != 0)
goto end;
361 if (PyDict_SetItemString(kwds,
"co_varnames",
v) != 0)
goto end;
362 if (PyDict_SetItemString(kwds,
"co_freevars", fv) != 0)
goto end;
363 if (PyDict_SetItemString(kwds,
"co_cellvars", cell) != 0)
goto end;
364 if (PyDict_SetItemString(kwds,
"co_linetable", lnos) != 0)
goto end;
365 if (!(fn_cstr=PyUnicode_AsUTF8AndSize(fn, NULL)))
goto end;
366 if (!(name_cstr=PyUnicode_AsUTF8AndSize(name, NULL)))
goto end;
367 if (!(co = PyCode_NewEmpty(fn_cstr, name_cstr, fline)))
goto end;
368 if (!(replace = PyObject_GetAttrString((PyObject*)co,
"replace")))
goto cleanup_code_too;
369 if (!(empty = PyTuple_New(0)))
goto cleanup_code_too;
370 if (!(call_result = PyObject_Call(replace, empty, kwds)))
goto cleanup_code_too;
371 Py_XDECREF((PyObject*)co);
372 co = (PyCodeObject*)call_result;
376 Py_XDECREF((PyObject*)co);
381 Py_XDECREF(argcount);
382 Py_XDECREF(posonlyargcount);
383 Py_XDECREF(kwonlyargcount);
385 Py_XDECREF(stacksize);
387 Py_XDECREF(call_result);
390 PyErr_Restore(type, value, traceback);
395 #define __Pyx_PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\
396 PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
398 #define __Pyx_DefaultClassType PyType_Type
400 #ifndef Py_TPFLAGS_CHECKTYPES
401 #define Py_TPFLAGS_CHECKTYPES 0
403 #ifndef Py_TPFLAGS_HAVE_INDEX
404 #define Py_TPFLAGS_HAVE_INDEX 0
406 #ifndef Py_TPFLAGS_HAVE_NEWBUFFER
407 #define Py_TPFLAGS_HAVE_NEWBUFFER 0
409 #ifndef Py_TPFLAGS_HAVE_FINALIZE
410 #define Py_TPFLAGS_HAVE_FINALIZE 0
412 #ifndef METH_STACKLESS
413 #define METH_STACKLESS 0
415 #if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL)
416 #ifndef METH_FASTCALL
417 #define METH_FASTCALL 0x80
419 typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *
self, PyObject *
const *args, Py_ssize_t nargs);
420 typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *
self, PyObject *
const *args,
421 Py_ssize_t nargs, PyObject *kwnames);
423 #define __Pyx_PyCFunctionFast _PyCFunctionFast
424 #define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords
426 #if CYTHON_FAST_PYCCALL
427 #define __Pyx_PyFastCFunction_Check(func)\
428 ((PyCFunction_Check(func) && (METH_FASTCALL == (PyCFunction_GET_FLAGS(func) & ~(METH_CLASS | METH_STATIC | METH_COEXIST | METH_KEYWORDS | METH_STACKLESS)))))
430 #define __Pyx_PyFastCFunction_Check(func) 0
432 #if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc)
433 #define PyObject_Malloc(s) PyMem_Malloc(s)
434 #define PyObject_Free(p) PyMem_Free(p)
435 #define PyObject_Realloc(p) PyMem_Realloc(p)
437 #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030400A1
438 #define PyMem_RawMalloc(n) PyMem_Malloc(n)
439 #define PyMem_RawRealloc(p, n) PyMem_Realloc(p, n)
440 #define PyMem_RawFree(p) PyMem_Free(p)
442 #if CYTHON_COMPILING_IN_PYSTON
443 #define __Pyx_PyCode_HasFreeVars(co) PyCode_HasFreeVars(co)
444 #define __Pyx_PyFrame_SetLineNumber(frame, lineno) PyFrame_SetLineNumber(frame, lineno)
446 #define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0)
447 #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
449 #if !CYTHON_FAST_THREAD_STATE || PY_VERSION_HEX < 0x02070000
450 #define __Pyx_PyThreadState_Current PyThreadState_GET()
451 #elif PY_VERSION_HEX >= 0x03060000
452 #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet()
453 #elif PY_VERSION_HEX >= 0x03000000
454 #define __Pyx_PyThreadState_Current PyThreadState_GET()
456 #define __Pyx_PyThreadState_Current _PyThreadState_Current
458 #if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT)
459 #include "pythread.h"
460 #define Py_tss_NEEDS_INIT 0
461 typedef int Py_tss_t;
462 static CYTHON_INLINE
int PyThread_tss_create(Py_tss_t *key) {
463 *key = PyThread_create_key();
466 static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(
void) {
467 Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(
sizeof(Py_tss_t));
468 *key = Py_tss_NEEDS_INIT;
471 static CYTHON_INLINE
void PyThread_tss_free(Py_tss_t *key) {
474 static CYTHON_INLINE
int PyThread_tss_is_created(Py_tss_t *key) {
475 return *key != Py_tss_NEEDS_INIT;
477 static CYTHON_INLINE
void PyThread_tss_delete(Py_tss_t *key) {
478 PyThread_delete_key(*key);
479 *key = Py_tss_NEEDS_INIT;
481 static CYTHON_INLINE
int PyThread_tss_set(Py_tss_t *key,
void *value) {
482 return PyThread_set_key_value(*key, value);
484 static CYTHON_INLINE
void * PyThread_tss_get(Py_tss_t *key) {
485 return PyThread_get_key_value(*key);
488 #if CYTHON_COMPILING_IN_CPYTHON || defined(_PyDict_NewPresized)
489 #define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n))
491 #define __Pyx_PyDict_NewPresized(n) PyDict_New()
493 #if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION
494 #define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y)
495 #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y)
497 #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y)
498 #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y)
500 #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && CYTHON_USE_UNICODE_INTERNALS
501 #define __Pyx_PyDict_GetItemStr(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
503 #define __Pyx_PyDict_GetItemStr(dict, name) PyDict_GetItem(dict, name)
505 #if PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND)
506 #define CYTHON_PEP393_ENABLED 1
507 #if defined(PyUnicode_IS_READY)
508 #define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ?\
509 0 : _PyUnicode_Ready((PyObject *)(op)))
511 #define __Pyx_PyUnicode_READY(op) (0)
513 #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u)
514 #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i)
515 #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) PyUnicode_MAX_CHAR_VALUE(u)
516 #define __Pyx_PyUnicode_KIND(u) PyUnicode_KIND(u)
517 #define __Pyx_PyUnicode_DATA(u) PyUnicode_DATA(u)
518 #define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i)
519 #define __Pyx_PyUnicode_WRITE(k, d, i, ch) PyUnicode_WRITE(k, d, i, ch)
520 #if defined(PyUnicode_IS_READY) && defined(PyUnicode_GET_SIZE)
521 #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000
522 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length))
524 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u)))
527 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_LENGTH(u))
530 #define CYTHON_PEP393_ENABLED 0
531 #define PyUnicode_1BYTE_KIND 1
532 #define PyUnicode_2BYTE_KIND 2
533 #define PyUnicode_4BYTE_KIND 4
534 #define __Pyx_PyUnicode_READY(op) (0)
535 #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_SIZE(u)
536 #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i]))
537 #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((sizeof(Py_UNICODE) == 2) ? 65535 : 1114111)
538 #define __Pyx_PyUnicode_KIND(u) (sizeof(Py_UNICODE))
539 #define __Pyx_PyUnicode_DATA(u) ((void*)PyUnicode_AS_UNICODE(u))
540 #define __Pyx_PyUnicode_READ(k, d, i) ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i]))
541 #define __Pyx_PyUnicode_WRITE(k, d, i, ch) (((void)(k)), ((Py_UNICODE*)d)[i] = ch)
542 #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_SIZE(u))
544 #if CYTHON_COMPILING_IN_PYPY
545 #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b)
546 #define __Pyx_PyUnicode_ConcatSafe(a, b) PyNumber_Add(a, b)
548 #define __Pyx_PyUnicode_Concat(a, b) PyUnicode_Concat(a, b)
549 #define __Pyx_PyUnicode_ConcatSafe(a, b) ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\
550 PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b))
552 #if CYTHON_COMPILING_IN_PYPY && !defined(PyUnicode_Contains)
553 #define PyUnicode_Contains(u, s) PySequence_Contains(u, s)
555 #if CYTHON_COMPILING_IN_PYPY && !defined(PyByteArray_Check)
556 #define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type)
558 #if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Format)
559 #define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt)
561 #define __Pyx_PyString_FormatSafe(a, b) ((unlikely((a) == Py_None || (PyString_Check(b) && !PyString_CheckExact(b)))) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b))
562 #define __Pyx_PyUnicode_FormatSafe(a, b) ((unlikely((a) == Py_None || (PyUnicode_Check(b) && !PyUnicode_CheckExact(b)))) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b))
563 #if PY_MAJOR_VERSION >= 3
564 #define __Pyx_PyString_Format(a, b) PyUnicode_Format(a, b)
566 #define __Pyx_PyString_Format(a, b) PyString_Format(a, b)
568 #if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII)
569 #define PyObject_ASCII(o) PyObject_Repr(o)
571 #if PY_MAJOR_VERSION >= 3
572 #define PyBaseString_Type PyUnicode_Type
573 #define PyStringObject PyUnicodeObject
574 #define PyString_Type PyUnicode_Type
575 #define PyString_Check PyUnicode_Check
576 #define PyString_CheckExact PyUnicode_CheckExact
577 #ifndef PyObject_Unicode
578 #define PyObject_Unicode PyObject_Str
581 #if PY_MAJOR_VERSION >= 3
582 #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj)
583 #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj)
585 #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj))
586 #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj))
588 #ifndef PySet_CheckExact
589 #define PySet_CheckExact(obj) (Py_TYPE(obj) == &PySet_Type)
591 #if PY_VERSION_HEX >= 0x030900A4
592 #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt)
593 #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size)
595 #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt)
596 #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size)
598 #if CYTHON_ASSUME_SAFE_MACROS
599 #define __Pyx_PySequence_SIZE(seq) Py_SIZE(seq)
601 #define __Pyx_PySequence_SIZE(seq) PySequence_Size(seq)
603 #if PY_MAJOR_VERSION >= 3
604 #define PyIntObject PyLongObject
605 #define PyInt_Type PyLong_Type
606 #define PyInt_Check(op) PyLong_Check(op)
607 #define PyInt_CheckExact(op) PyLong_CheckExact(op)
608 #define PyInt_FromString PyLong_FromString
609 #define PyInt_FromUnicode PyLong_FromUnicode
610 #define PyInt_FromLong PyLong_FromLong
611 #define PyInt_FromSize_t PyLong_FromSize_t
612 #define PyInt_FromSsize_t PyLong_FromSsize_t
613 #define PyInt_AsLong PyLong_AsLong
614 #define PyInt_AS_LONG PyLong_AS_LONG
615 #define PyInt_AsSsize_t PyLong_AsSsize_t
616 #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask
617 #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
618 #define PyNumber_Int PyNumber_Long
620 #if PY_MAJOR_VERSION >= 3
621 #define PyBoolObject PyLongObject
623 #if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY
624 #ifndef PyUnicode_InternFromString
625 #define PyUnicode_InternFromString(s) PyUnicode_FromString(s)
628 #if PY_VERSION_HEX < 0x030200A4
629 typedef long Py_hash_t;
630 #define __Pyx_PyInt_FromHash_t PyInt_FromLong
631 #define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsHash_t
633 #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t
634 #define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsSsize_t
636 #if PY_MAJOR_VERSION >= 3
637 #define __Pyx_PyMethod_New(func, self, klass) ((self) ? ((void)(klass), PyMethod_New(func, self)) : __Pyx_NewRef(func))
639 #define __Pyx_PyMethod_New(func, self, klass) PyMethod_New(func, self, klass)
641 #if CYTHON_USE_ASYNC_SLOTS
642 #if PY_VERSION_HEX >= 0x030500B1
643 #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods
644 #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async)
646 #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved))
649 #define __Pyx_PyType_AsAsync(obj) NULL
651 #ifndef __Pyx_PyAsyncMethodsStruct
656 } __Pyx_PyAsyncMethodsStruct;
659 #if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS)
660 #if !defined(_USE_MATH_DEFINES)
661 #define _USE_MATH_DEFINES
666 #define __PYX_NAN() ((float) NAN)
668 static CYTHON_INLINE
float __PYX_NAN() {
670 memset(&value, 0xFF,
sizeof(value));
674 #if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL)
675 #define __Pyx_truncl trunc
677 #define __Pyx_truncl truncl
680 #define __PYX_MARK_ERR_POS(f_index, lineno) \
681 { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; }
682 #define __PYX_ERR(f_index, lineno, Ln_error) \
683 { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; }
685 #ifndef __PYX_EXTERN_C
687 #define __PYX_EXTERN_C extern "C"
689 #define __PYX_EXTERN_C extern
693 #define __PYX_HAVE__ctransportCoefficients
694 #define __PYX_HAVE_API__ctransportCoefficients
698 #include "numpy/arrayobject.h"
699 #include "numpy/ndarrayobject.h"
700 #include "numpy/ndarraytypes.h"
701 #include "numpy/arrayscalars.h"
702 #include "numpy/ufuncobject.h"
711 #if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS)
712 #define CYTHON_WITHOUT_ASSERTIONS
715 typedef struct {PyObject **p;
const char *
s;
const Py_ssize_t
n;
const char* encoding;
716 const char is_unicode;
const char is_str;
const char intern; } __Pyx_StringTabEntry;
718 #define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0
719 #define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0
720 #define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT (PY_MAJOR_VERSION >= 3 && __PYX_DEFAULT_STRING_ENCODING_IS_UTF8)
721 #define __PYX_DEFAULT_STRING_ENCODING ""
722 #define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString
723 #define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
724 #define __Pyx_uchar_cast(c) ((unsigned char)c)
725 #define __Pyx_long_cast(x) ((long)x)
726 #define __Pyx_fits_Py_ssize_t(v, type, is_signed) (\
727 (sizeof(type) < sizeof(Py_ssize_t)) ||\
728 (sizeof(type) > sizeof(Py_ssize_t) &&\
729 likely(v < (type)PY_SSIZE_T_MAX ||\
730 v == (type)PY_SSIZE_T_MAX) &&\
731 (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\
732 v == (type)PY_SSIZE_T_MIN))) ||\
733 (sizeof(type) == sizeof(Py_ssize_t) &&\
734 (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\
735 v == (type)PY_SSIZE_T_MAX))) )
736 static CYTHON_INLINE
int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) {
737 return (
size_t) i < (size_t) limit;
739 #if defined (__cplusplus) && __cplusplus >= 201103L
741 #define __Pyx_sst_abs(value) std::abs(value)
742 #elif SIZEOF_INT >= SIZEOF_SIZE_T
743 #define __Pyx_sst_abs(value) abs(value)
744 #elif SIZEOF_LONG >= SIZEOF_SIZE_T
745 #define __Pyx_sst_abs(value) labs(value)
746 #elif defined (_MSC_VER)
747 #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value))
748 #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
749 #define __Pyx_sst_abs(value) llabs(value)
750 #elif defined (__GNUC__)
751 #define __Pyx_sst_abs(value) __builtin_llabs(value)
753 #define __Pyx_sst_abs(value) ((value<0) ? -value : value)
755 static CYTHON_INLINE
const char* __Pyx_PyObject_AsString(PyObject*);
756 static CYTHON_INLINE
const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length);
757 #define __Pyx_PyByteArray_FromString(s) PyByteArray_FromStringAndSize((const char*)s, strlen((const char*)s))
758 #define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l)
759 #define __Pyx_PyBytes_FromString PyBytes_FromString
760 #define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize
761 static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(
const char*);
762 #if PY_MAJOR_VERSION < 3
763 #define __Pyx_PyStr_FromString __Pyx_PyBytes_FromString
764 #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize
766 #define __Pyx_PyStr_FromString __Pyx_PyUnicode_FromString
767 #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize
769 #define __Pyx_PyBytes_AsWritableString(s) ((char*) PyBytes_AS_STRING(s))
770 #define __Pyx_PyBytes_AsWritableSString(s) ((signed char*) PyBytes_AS_STRING(s))
771 #define __Pyx_PyBytes_AsWritableUString(s) ((unsigned char*) PyBytes_AS_STRING(s))
772 #define __Pyx_PyBytes_AsString(s) ((const char*) PyBytes_AS_STRING(s))
773 #define __Pyx_PyBytes_AsSString(s) ((const signed char*) PyBytes_AS_STRING(s))
774 #define __Pyx_PyBytes_AsUString(s) ((const unsigned char*) PyBytes_AS_STRING(s))
775 #define __Pyx_PyObject_AsWritableString(s) ((char*) __Pyx_PyObject_AsString(s))
776 #define __Pyx_PyObject_AsWritableSString(s) ((signed char*) __Pyx_PyObject_AsString(s))
777 #define __Pyx_PyObject_AsWritableUString(s) ((unsigned char*) __Pyx_PyObject_AsString(s))
778 #define __Pyx_PyObject_AsSString(s) ((const signed char*) __Pyx_PyObject_AsString(s))
779 #define __Pyx_PyObject_AsUString(s) ((const unsigned char*) __Pyx_PyObject_AsString(s))
780 #define __Pyx_PyObject_FromCString(s) __Pyx_PyObject_FromString((const char*)s)
781 #define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s)
782 #define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s)
783 #define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s)
784 #define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s)
785 static CYTHON_INLINE
size_t __Pyx_Py_UNICODE_strlen(
const Py_UNICODE *
u) {
786 const Py_UNICODE *u_end =
u;
788 return (
size_t)(u_end -
u - 1);
790 #define __Pyx_PyUnicode_FromUnicode(u) PyUnicode_FromUnicode(u, __Pyx_Py_UNICODE_strlen(u))
791 #define __Pyx_PyUnicode_FromUnicodeAndLength PyUnicode_FromUnicode
792 #define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode
793 #define __Pyx_NewRef(obj) (Py_INCREF(obj), obj)
794 #define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None)
795 static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(
long b);
796 static CYTHON_INLINE
int __Pyx_PyObject_IsTrue(PyObject*);
797 static CYTHON_INLINE
int __Pyx_PyObject_IsTrueAndDecref(PyObject*);
798 static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x);
799 #define __Pyx_PySequence_Tuple(obj)\
800 (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj))
801 static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*);
802 static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(
size_t);
803 static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*);
804 #if CYTHON_ASSUME_SAFE_MACROS
805 #define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x))
807 #define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x)
809 #define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x))
810 #if PY_MAJOR_VERSION >= 3
811 #define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x))
813 #define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x))
815 #define __Pyx_PyNumber_Float(x) (PyFloat_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Float(x))
816 #if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII
817 static int __Pyx_sys_getdefaultencoding_not_ascii;
818 static int __Pyx_init_sys_getdefaultencoding_params(
void) {
820 PyObject* default_encoding = NULL;
821 PyObject* ascii_chars_u = NULL;
822 PyObject* ascii_chars_b = NULL;
823 const char* default_encoding_c;
824 sys = PyImport_ImportModule(
"sys");
826 default_encoding = PyObject_CallMethod(sys, (
char*)
"getdefaultencoding", NULL);
828 if (!default_encoding)
goto bad;
829 default_encoding_c = PyBytes_AsString(default_encoding);
830 if (!default_encoding_c)
goto bad;
831 if (strcmp(default_encoding_c,
"ascii") == 0) {
832 __Pyx_sys_getdefaultencoding_not_ascii = 0;
834 char ascii_chars[128];
836 for (
c = 0;
c < 128;
c++) {
839 __Pyx_sys_getdefaultencoding_not_ascii = 1;
840 ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL);
841 if (!ascii_chars_u)
goto bad;
842 ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL);
843 if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) {
846 "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.",
850 Py_DECREF(ascii_chars_u);
851 Py_DECREF(ascii_chars_b);
853 Py_DECREF(default_encoding);
856 Py_XDECREF(default_encoding);
857 Py_XDECREF(ascii_chars_u);
858 Py_XDECREF(ascii_chars_b);
862 #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3
863 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL)
865 #define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL)
866 #if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT
867 static char* __PYX_DEFAULT_STRING_ENCODING;
868 static int __Pyx_init_sys_getdefaultencoding_params(
void) {
870 PyObject* default_encoding = NULL;
871 char* default_encoding_c;
872 sys = PyImport_ImportModule(
"sys");
874 default_encoding = PyObject_CallMethod(sys, (
char*) (
const char*)
"getdefaultencoding", NULL);
876 if (!default_encoding)
goto bad;
877 default_encoding_c = PyBytes_AsString(default_encoding);
878 if (!default_encoding_c)
goto bad;
879 __PYX_DEFAULT_STRING_ENCODING = (
char*) malloc(strlen(default_encoding_c) + 1);
880 if (!__PYX_DEFAULT_STRING_ENCODING)
goto bad;
881 strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c);
882 Py_DECREF(default_encoding);
885 Py_XDECREF(default_encoding);
893 #if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95)))
894 #define likely(x) __builtin_expect(!!(x), 1)
895 #define unlikely(x) __builtin_expect(!!(x), 0)
897 #define likely(x) (x)
898 #define unlikely(x) (x)
900 static CYTHON_INLINE
void __Pyx_pretend_to_initialize(
void* ptr) { (void)ptr; }
902 static PyObject *__pyx_m = NULL;
903 static PyObject *__pyx_d;
904 static PyObject *__pyx_b;
905 static PyObject *__pyx_cython_runtime = NULL;
906 static PyObject *__pyx_empty_tuple;
907 static PyObject *__pyx_empty_bytes;
908 static PyObject *__pyx_empty_unicode;
909 static int __pyx_lineno;
910 static int __pyx_clineno = 0;
911 static const char * __pyx_cfilenm= __FILE__;
912 static const char *__pyx_filename;
915 #if !defined(CYTHON_CCOMPLEX)
916 #if defined(__cplusplus)
917 #define CYTHON_CCOMPLEX 1
918 #elif defined(_Complex_I)
919 #define CYTHON_CCOMPLEX 1
921 #define CYTHON_CCOMPLEX 0
931 #if CYTHON_CCOMPLEX && !defined(__cplusplus) && defined(__sun__) && defined(__GNUC__)
933 #define _Complex_I 1.0fj
937 static const char *__pyx_f[] = {
938 "proteus/ctransportCoefficients.pyx",
950 typedef npy_int8 __pyx_t_5numpy_int8_t;
959 typedef npy_int16 __pyx_t_5numpy_int16_t;
968 typedef npy_int32 __pyx_t_5numpy_int32_t;
977 typedef npy_int64 __pyx_t_5numpy_int64_t;
986 typedef npy_uint8 __pyx_t_5numpy_uint8_t;
995 typedef npy_uint16 __pyx_t_5numpy_uint16_t;
1004 typedef npy_uint32 __pyx_t_5numpy_uint32_t;
1013 typedef npy_uint64 __pyx_t_5numpy_uint64_t;
1022 typedef npy_float32 __pyx_t_5numpy_float32_t;
1031 typedef npy_float64 __pyx_t_5numpy_float64_t;
1040 typedef npy_long __pyx_t_5numpy_int_t;
1049 typedef npy_longlong __pyx_t_5numpy_long_t;
1058 typedef npy_longlong __pyx_t_5numpy_longlong_t;
1067 typedef npy_ulong __pyx_t_5numpy_uint_t;
1076 typedef npy_ulonglong __pyx_t_5numpy_ulong_t;
1085 typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
1094 typedef npy_intp __pyx_t_5numpy_intp_t;
1103 typedef npy_uintp __pyx_t_5numpy_uintp_t;
1112 typedef npy_double __pyx_t_5numpy_float_t;
1121 typedef npy_double __pyx_t_5numpy_double_t;
1130 typedef npy_longdouble __pyx_t_5numpy_longdouble_t;
1134 typedef ::std::complex< float > __pyx_t_float_complex;
1136 typedef float _Complex __pyx_t_float_complex;
1139 typedef struct {
float real, imag; } __pyx_t_float_complex;
1141 static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(
float,
float);
1146 typedef ::std::complex< double > __pyx_t_double_complex;
1148 typedef double _Complex __pyx_t_double_complex;
1151 typedef struct {
double real, imag; } __pyx_t_double_complex;
1153 static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(
double,
double);
1165 typedef npy_cfloat __pyx_t_5numpy_cfloat_t;
1174 typedef npy_cdouble __pyx_t_5numpy_cdouble_t;
1183 typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t;
1192 typedef npy_cdouble __pyx_t_5numpy_complex_t;
1196 #ifndef CYTHON_REFNANNY
1197 #define CYTHON_REFNANNY 0
1201 void (*INCREF)(
void*, PyObject*, int);
1202 void (*DECREF)(
void*, PyObject*, int);
1203 void (*GOTREF)(
void*, PyObject*, int);
1204 void (*GIVEREF)(
void*, PyObject*, int);
1205 void* (*SetupContext)(
const char*, int,
const char*);
1206 void (*FinishContext)(
void**);
1207 } __Pyx_RefNannyAPIStruct;
1208 static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL;
1209 static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(
const char *modname);
1210 #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL;
1212 #define __Pyx_RefNannySetupContext(name, acquire_gil)\
1214 PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\
1215 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
1216 PyGILState_Release(__pyx_gilstate_save);\
1218 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__);\
1221 #define __Pyx_RefNannySetupContext(name, acquire_gil)\
1222 __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), __LINE__, __FILE__)
1224 #define __Pyx_RefNannyFinishContext()\
1225 __Pyx_RefNanny->FinishContext(&__pyx_refnanny)
1226 #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
1227 #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
1228 #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
1229 #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), __LINE__)
1230 #define __Pyx_XINCREF(r) do { if((r) != NULL) {__Pyx_INCREF(r); }} while(0)
1231 #define __Pyx_XDECREF(r) do { if((r) != NULL) {__Pyx_DECREF(r); }} while(0)
1232 #define __Pyx_XGOTREF(r) do { if((r) != NULL) {__Pyx_GOTREF(r); }} while(0)
1233 #define __Pyx_XGIVEREF(r) do { if((r) != NULL) {__Pyx_GIVEREF(r);}} while(0)
1235 #define __Pyx_RefNannyDeclarations
1236 #define __Pyx_RefNannySetupContext(name, acquire_gil)
1237 #define __Pyx_RefNannyFinishContext()
1238 #define __Pyx_INCREF(r) Py_INCREF(r)
1239 #define __Pyx_DECREF(r) Py_DECREF(r)
1240 #define __Pyx_GOTREF(r)
1241 #define __Pyx_GIVEREF(r)
1242 #define __Pyx_XINCREF(r) Py_XINCREF(r)
1243 #define __Pyx_XDECREF(r) Py_XDECREF(r)
1244 #define __Pyx_XGOTREF(r)
1245 #define __Pyx_XGIVEREF(r)
1247 #define __Pyx_XDECREF_SET(r, v) do {\
1248 PyObject *tmp = (PyObject *) r;\
1249 r = v; __Pyx_XDECREF(tmp);\
1251 #define __Pyx_DECREF_SET(r, v) do {\
1252 PyObject *tmp = (PyObject *) r;\
1253 r = v; __Pyx_DECREF(tmp);\
1255 #define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0)
1256 #define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0)
1259 static void __Pyx_RaiseArgtupleInvalid(
const char* func_name,
int exact,
1260 Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found);
1263 static void __Pyx_RaiseDoubleKeywordsError(
const char* func_name, PyObject* kw_name);
1266 static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject **argnames[],\
1267 PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args,\
1268 const char* function_name);
1271 #define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\
1272 ((likely((Py_TYPE(obj) == type) | (none_allowed && (obj == Py_None)))) ? 1 :\
1273 __Pyx__ArgTypeTest(obj, type, name, exact))
1274 static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type,
const char *name,
int exact);
1277 #if CYTHON_USE_TYPE_SLOTS
1278 static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name);
1280 #define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n)
1284 #define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
1285 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
1286 __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\
1287 (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\
1288 __Pyx_GetItemInt_Generic(o, to_py_func(i))))
1289 #define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
1290 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
1291 __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
1292 (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL))
1293 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
1294 int wraparound,
int boundscheck);
1295 #define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\
1296 (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\
1297 __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\
1298 (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL))
1299 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i,
1300 int wraparound,
int boundscheck);
1301 static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j);
1302 static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i,
1303 int is_list,
int wraparound,
int boundscheck);
1306 static PyObject *__Pyx_GetBuiltinName(PyObject *name);
1309 #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
1310 #define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1)
1311 #define __PYX_GET_DICT_VERSION(dict) (((PyDictObject*)(dict))->ma_version_tag)
1312 #define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)\
1313 (version_var) = __PYX_GET_DICT_VERSION(dict);\
1314 (cache_var) = (value);
1315 #define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) {\
1316 static PY_UINT64_T __pyx_dict_version = 0;\
1317 static PyObject *__pyx_dict_cached_value = NULL;\
1318 if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\
1319 (VAR) = __pyx_dict_cached_value;\
1321 (VAR) = __pyx_dict_cached_value = (LOOKUP);\
1322 __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\
1325 static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj);
1326 static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj);
1327 static CYTHON_INLINE
int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version);
1329 #define __PYX_GET_DICT_VERSION(dict) (0)
1330 #define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)
1331 #define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) (VAR) = (LOOKUP);
1335 #if CYTHON_USE_DICT_VERSIONS
1336 #define __Pyx_GetModuleGlobalName(var, name) {\
1337 static PY_UINT64_T __pyx_dict_version = 0;\
1338 static PyObject *__pyx_dict_cached_value = NULL;\
1339 (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\
1340 (likely(__pyx_dict_cached_value) ? __Pyx_NewRef(__pyx_dict_cached_value) : __Pyx_GetBuiltinName(name)) :\
1341 __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\
1343 #define __Pyx_GetModuleGlobalNameUncached(var, name) {\
1344 PY_UINT64_T __pyx_dict_version;\
1345 PyObject *__pyx_dict_cached_value;\
1346 (var) = __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\
1348 static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value);
1350 #define __Pyx_GetModuleGlobalName(var, name) (var) = __Pyx__GetModuleGlobalName(name)
1351 #define __Pyx_GetModuleGlobalNameUncached(var, name) (var) = __Pyx__GetModuleGlobalName(name)
1352 static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name);
1356 #if CYTHON_FAST_PYCALL
1357 #define __Pyx_PyFunction_FastCall(func, args, nargs)\
1358 __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL)
1359 #if 1 || PY_VERSION_HEX < 0x030600B1
1360 static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs);
1362 #define __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs) _PyFunction_FastCallDict(func, args, nargs, kwargs)
1364 #define __Pyx_BUILD_ASSERT_EXPR(cond)\
1365 (sizeof(char [1 - 2*!(cond)]) - 1)
1366 #ifndef Py_MEMBER_SIZE
1367 #define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member)
1369 #if CYTHON_FAST_PYCALL
1370 static size_t __pyx_pyframe_localsplus_offset = 0;
1371 #include "frameobject.h"
1372 #if PY_VERSION_HEX >= 0x030b00a6
1373 #ifndef Py_BUILD_CORE
1374 #define Py_BUILD_CORE 1
1376 #include "internal/pycore_frame.h"
1378 #define __Pxy_PyFrame_Initialize_Offsets()\
1379 ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\
1380 (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus)))
1381 #define __Pyx_PyFrame_GetLocalsplus(frame)\
1382 (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset))
1383 #endif // CYTHON_FAST_PYCALL
1387 #if CYTHON_FAST_PYCCALL
1388 static CYTHON_INLINE PyObject *__Pyx_PyCFunction_FastCall(PyObject *func, PyObject **args, Py_ssize_t nargs);
1390 #define __Pyx_PyCFunction_FastCall(func, args, nargs) (assert(0), NULL)
1394 #if CYTHON_COMPILING_IN_CPYTHON
1395 static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw);
1397 #define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw)
1401 #if CYTHON_USE_EXC_INFO_STACK
1402 static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate);
1406 #if CYTHON_FAST_THREAD_STATE
1407 #define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate;
1408 #define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current;
1409 #define __Pyx_PyErr_Occurred() __pyx_tstate->curexc_type
1411 #define __Pyx_PyThreadState_declare
1412 #define __Pyx_PyThreadState_assign
1413 #define __Pyx_PyErr_Occurred() PyErr_Occurred()
1417 #if CYTHON_FAST_THREAD_STATE
1418 #define __Pyx_ExceptionSave(type, value, tb) __Pyx__ExceptionSave(__pyx_tstate, type, value, tb)
1419 static CYTHON_INLINE
void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
1420 #define __Pyx_ExceptionReset(type, value, tb) __Pyx__ExceptionReset(__pyx_tstate, type, value, tb)
1421 static CYTHON_INLINE
void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
1423 #define __Pyx_ExceptionSave(type, value, tb) PyErr_GetExcInfo(type, value, tb)
1424 #define __Pyx_ExceptionReset(type, value, tb) PyErr_SetExcInfo(type, value, tb)
1428 #if CYTHON_FAST_THREAD_STATE
1429 #define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err)
1430 static CYTHON_INLINE
int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err);
1432 #define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err)
1436 #if CYTHON_FAST_THREAD_STATE
1437 #define __Pyx_GetException(type, value, tb) __Pyx__GetException(__pyx_tstate, type, value, tb)
1438 static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
1440 static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb);
1444 #if CYTHON_FAST_THREAD_STATE
1445 #define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL)
1446 #define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb)
1447 #define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb)
1448 #define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb)
1449 #define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb)
1450 static CYTHON_INLINE
void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb);
1451 static CYTHON_INLINE
void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb);
1452 #if CYTHON_COMPILING_IN_CPYTHON
1453 #define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL))
1455 #define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
1458 #define __Pyx_PyErr_Clear() PyErr_Clear()
1459 #define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc)
1460 #define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb)
1461 #define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb)
1462 #define __Pyx_ErrRestoreInState(tstate, type, value, tb) PyErr_Restore(type, value, tb)
1463 #define __Pyx_ErrFetchInState(tstate, type, value, tb) PyErr_Fetch(type, value, tb)
1464 #define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb)
1465 #define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb)
1469 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause);
1472 #ifndef __PYX_HAVE_RT_ImportType_proto
1473 #define __PYX_HAVE_RT_ImportType_proto
1474 enum __Pyx_ImportType_CheckSize {
1475 __Pyx_ImportType_CheckSize_Error = 0,
1476 __Pyx_ImportType_CheckSize_Warn = 1,
1477 __Pyx_ImportType_CheckSize_Ignore = 2
1479 static PyTypeObject *__Pyx_ImportType(PyObject* module,
const char *module_name,
const char *class_name,
size_t size,
enum __Pyx_ImportType_CheckSize check_size);
1483 static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list,
int level);
1486 #ifdef CYTHON_CLINE_IN_TRACEBACK
1487 #define __Pyx_CLineForTraceback(tstate, c_line) (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0)
1489 static int __Pyx_CLineForTraceback(PyThreadState *tstate,
int c_line);
1494 PyCodeObject* code_object;
1496 } __Pyx_CodeObjectCacheEntry;
1497 struct __Pyx_CodeObjectCache {
1500 __Pyx_CodeObjectCacheEntry* entries;
1502 static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL};
1503 static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries,
int count,
int code_line);
1504 static PyCodeObject *__pyx_find_code_object(
int code_line);
1505 static void __pyx_insert_code_object(
int code_line, PyCodeObject* code_object);
1508 static void __Pyx_AddTraceback(
const char *funcname,
int c_line,
1509 int py_line,
const char *filename);
1512 #if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
1513 #define __Pyx_HAS_GCC_DIAGNOSTIC
1519 #define __Pyx_CREAL(z) ((z).real())
1520 #define __Pyx_CIMAG(z) ((z).imag())
1522 #define __Pyx_CREAL(z) (__real__(z))
1523 #define __Pyx_CIMAG(z) (__imag__(z))
1526 #define __Pyx_CREAL(z) ((z).real)
1527 #define __Pyx_CIMAG(z) ((z).imag)
1529 #if defined(__cplusplus) && CYTHON_CCOMPLEX\
1530 && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103)
1531 #define __Pyx_SET_CREAL(z,x) ((z).real(x))
1532 #define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
1534 #define __Pyx_SET_CREAL(z,x) __Pyx_CREAL(z) = (x)
1535 #define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y)
1540 #define __Pyx_c_eq_float(a, b) ((a)==(b))
1541 #define __Pyx_c_sum_float(a, b) ((a)+(b))
1542 #define __Pyx_c_diff_float(a, b) ((a)-(b))
1543 #define __Pyx_c_prod_float(a, b) ((a)*(b))
1544 #define __Pyx_c_quot_float(a, b) ((a)/(b))
1545 #define __Pyx_c_neg_float(a) (-(a))
1547 #define __Pyx_c_is_zero_float(z) ((z)==(float)0)
1548 #define __Pyx_c_conj_float(z) (::std::conj(z))
1550 #define __Pyx_c_abs_float(z) (::std::abs(z))
1551 #define __Pyx_c_pow_float(a, b) (::std::pow(a, b))
1554 #define __Pyx_c_is_zero_float(z) ((z)==0)
1555 #define __Pyx_c_conj_float(z) (conjf(z))
1557 #define __Pyx_c_abs_float(z) (cabsf(z))
1558 #define __Pyx_c_pow_float(a, b) (cpowf(a, b))
1562 static CYTHON_INLINE
int __Pyx_c_eq_float(__pyx_t_float_complex, __pyx_t_float_complex);
1563 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex, __pyx_t_float_complex);
1564 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex, __pyx_t_float_complex);
1565 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex, __pyx_t_float_complex);
1566 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex, __pyx_t_float_complex);
1567 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex);
1568 static CYTHON_INLINE
int __Pyx_c_is_zero_float(__pyx_t_float_complex);
1569 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex);
1571 static CYTHON_INLINE
float __Pyx_c_abs_float(__pyx_t_float_complex);
1572 static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex, __pyx_t_float_complex);
1578 #define __Pyx_c_eq_double(a, b) ((a)==(b))
1579 #define __Pyx_c_sum_double(a, b) ((a)+(b))
1580 #define __Pyx_c_diff_double(a, b) ((a)-(b))
1581 #define __Pyx_c_prod_double(a, b) ((a)*(b))
1582 #define __Pyx_c_quot_double(a, b) ((a)/(b))
1583 #define __Pyx_c_neg_double(a) (-(a))
1585 #define __Pyx_c_is_zero_double(z) ((z)==(double)0)
1586 #define __Pyx_c_conj_double(z) (::std::conj(z))
1588 #define __Pyx_c_abs_double(z) (::std::abs(z))
1589 #define __Pyx_c_pow_double(a, b) (::std::pow(a, b))
1592 #define __Pyx_c_is_zero_double(z) ((z)==0)
1593 #define __Pyx_c_conj_double(z) (conj(z))
1595 #define __Pyx_c_abs_double(z) (cabs(z))
1596 #define __Pyx_c_pow_double(a, b) (cpow(a, b))
1600 static CYTHON_INLINE
int __Pyx_c_eq_double(__pyx_t_double_complex, __pyx_t_double_complex);
1601 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex, __pyx_t_double_complex);
1602 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex, __pyx_t_double_complex);
1603 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex, __pyx_t_double_complex);
1604 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex, __pyx_t_double_complex);
1605 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex);
1606 static CYTHON_INLINE
int __Pyx_c_is_zero_double(__pyx_t_double_complex);
1607 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex);
1609 static CYTHON_INLINE
double __Pyx_c_abs_double(__pyx_t_double_complex);
1610 static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex, __pyx_t_double_complex);
1615 static CYTHON_INLINE
int __Pyx_PyInt_As_int(PyObject *);
1618 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_Py_intptr_t(Py_intptr_t value);
1621 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(
long value);
1624 static CYTHON_INLINE
long __Pyx_PyInt_As_long(PyObject *);
1627 #if CYTHON_COMPILING_IN_CPYTHON
1628 #define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type)
1629 static CYTHON_INLINE
int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b);
1630 static CYTHON_INLINE
int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type);
1631 static CYTHON_INLINE
int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2);
1633 #define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type)
1634 #define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type)
1635 #define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2))
1637 #define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception)
1640 static int __Pyx_check_binary_version(
void);
1643 static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
1655 static PyTypeObject *__pyx_ptype_7cpython_4type_type = 0;
1668 static PyTypeObject *__pyx_ptype_5numpy_dtype = 0;
1669 static PyTypeObject *__pyx_ptype_5numpy_flatiter = 0;
1670 static PyTypeObject *__pyx_ptype_5numpy_broadcast = 0;
1671 static PyTypeObject *__pyx_ptype_5numpy_ndarray = 0;
1672 static PyTypeObject *__pyx_ptype_5numpy_generic = 0;
1673 static PyTypeObject *__pyx_ptype_5numpy_number = 0;
1674 static PyTypeObject *__pyx_ptype_5numpy_integer = 0;
1675 static PyTypeObject *__pyx_ptype_5numpy_signedinteger = 0;
1676 static PyTypeObject *__pyx_ptype_5numpy_unsignedinteger = 0;
1677 static PyTypeObject *__pyx_ptype_5numpy_inexact = 0;
1678 static PyTypeObject *__pyx_ptype_5numpy_floating = 0;
1679 static PyTypeObject *__pyx_ptype_5numpy_complexfloating = 0;
1680 static PyTypeObject *__pyx_ptype_5numpy_flexible = 0;
1681 static PyTypeObject *__pyx_ptype_5numpy_character = 0;
1682 static PyTypeObject *__pyx_ptype_5numpy_ufunc = 0;
1685 #define __Pyx_MODULE_NAME "ctransportCoefficients"
1686 extern int __pyx_module_is_main_ctransportCoefficients;
1687 int __pyx_module_is_main_ctransportCoefficients = 0;
1690 static PyObject *__pyx_builtin_ImportError;
1691 static const char __pyx_k_A[] =
"A";
1692 static const char __pyx_k_B[] =
"B";
1693 static const char __pyx_k_C[] =
"C";
1694 static const char __pyx_k_E[] =
"E";
1695 static const char __pyx_k_H[] =
"H";
1696 static const char __pyx_k_M[] =
"M";
1697 static const char __pyx_k_S[] =
"S";
1698 static const char __pyx_k_a[] =
"a";
1699 static const char __pyx_k_b[] =
"b";
1700 static const char __pyx_k_d[] =
"d";
1701 static const char __pyx_k_f[] =
"f";
1702 static const char __pyx_k_g[] =
"g";
1703 static const char __pyx_k_h[] =
"h";
1704 static const char __pyx_k_k[] =
"k";
1705 static const char __pyx_k_m[] =
"m";
1706 static const char __pyx_k_n[] =
"n";
1707 static const char __pyx_k_p[] =
"p";
1708 static const char __pyx_k_r[] =
"r";
1709 static const char __pyx_k_t[] =
"t";
1710 static const char __pyx_k_u[] =
"u";
1711 static const char __pyx_k_v[] =
"v";
1712 static const char __pyx_k_w[] =
"w";
1713 static const char __pyx_k_x[] =
"x";
1714 static const char __pyx_k_A1[] =
"A1";
1715 static const char __pyx_k_A2[] =
"A2";
1716 static const char __pyx_k_B1[] =
"B1";
1717 static const char __pyx_k_B2[] =
"B2";
1718 static const char __pyx_k_C1[] =
"C1";
1719 static const char __pyx_k_C2[] =
"C2";
1720 static const char __pyx_k_E0[] =
"E0";
1721 static const char __pyx_k_Km[] =
"Km";
1722 static const char __pyx_k_Kp[] =
"Kp";
1723 static const char __pyx_k_M1[] =
"M1";
1724 static const char __pyx_k_M2[] =
"M2";
1725 static const char __pyx_k_dH[] =
"dH";
1726 static const char __pyx_k_dV[] =
"dV";
1727 static const char __pyx_k_da[] =
"da";
1728 static const char __pyx_k_df[] =
"df";
1729 static const char __pyx_k_dh[] =
"dh";
1730 static const char __pyx_k_dm[] =
"dm";
1731 static const char __pyx_k_dr[] =
"dr";
1732 static const char __pyx_k_hu[] =
"hu";
1733 static const char __pyx_k_hv[] =
"hv";
1734 static const char __pyx_k_mu[] =
"mu";
1735 static const char __pyx_k_nd[] =
"nd";
1736 static const char __pyx_k_nk[] =
"nk";
1737 static const char __pyx_k_np[] =
"np";
1738 static const char __pyx_k_ns[] =
"ns";
1739 static const char __pyx_k_nu[] =
"nu";
1740 static const char __pyx_k_p1[] =
"p1";
1741 static const char __pyx_k_p2[] =
"p2";
1742 static const char __pyx_k_pd[] =
"pd";
1743 static const char __pyx_k_q1[] =
"q1";
1744 static const char __pyx_k_q2[] =
"q2";
1745 static const char __pyx_k_r1[] =
"r1";
1746 static const char __pyx_k_r2[] =
"r2";
1747 static const char __pyx_k_rh[] =
"rh";
1748 static const char __pyx_k_s1[] =
"s1";
1749 static const char __pyx_k_s2[] =
"s2";
1750 static const char __pyx_k_t1[] =
"t1";
1751 static const char __pyx_k_t2[] =
"t2";
1752 static const char __pyx_k_KWs[] =
"KWs";
1753 static const char __pyx_k_K_h[] =
"K_h";
1754 static const char __pyx_k_K_m[] =
"K_m";
1755 static const char __pyx_k_K_w[] =
"K_w";
1756 static const char __pyx_k_a_c[] =
"a_c";
1757 static const char __pyx_k_a_e[] =
"a_e";
1758 static const char __pyx_k_a_h[] =
"a_h";
1759 static const char __pyx_k_a_k[] =
"a_k";
1760 static const char __pyx_k_a_m[] =
"a_m";
1761 static const char __pyx_k_c_1[] =
"c_1";
1762 static const char __pyx_k_c_2[] =
"c_2";
1763 static const char __pyx_k_c_c[] =
"c_c";
1764 static const char __pyx_k_c_e[] =
"c_e";
1765 static const char __pyx_k_c_h[] =
"c_h";
1766 static const char __pyx_k_c_m[] =
"c_m";
1767 static const char __pyx_k_c_x[] =
"c_x";
1768 static const char __pyx_k_d_c[] =
"d_c";
1769 static const char __pyx_k_d_e[] =
"d_e";
1770 static const char __pyx_k_d_h[] =
"d_h";
1771 static const char __pyx_k_d_m[] =
"d_m";
1772 static const char __pyx_k_eps[] =
"eps";
1773 static const char __pyx_k_f_c[] =
"f_c";
1774 static const char __pyx_k_f_e[] =
"f_e";
1775 static const char __pyx_k_f_h[] =
"f_h";
1776 static const char __pyx_k_f_k[] =
"f_k";
1777 static const char __pyx_k_f_m[] =
"f_m";
1778 static const char __pyx_k_h_e[] =
"h_e";
1779 static const char __pyx_k_k_d[] =
"k_d";
1780 static const char __pyx_k_kr0[] =
"kr0";
1781 static const char __pyx_k_m_c[] =
"m_c";
1782 static const char __pyx_k_m_e[] =
"m_e";
1783 static const char __pyx_k_m_h[] =
"m_h";
1784 static const char __pyx_k_m_k[] =
"m_k";
1785 static const char __pyx_k_m_m[] =
"m_m";
1786 static const char __pyx_k_m_x[] =
"m_x";
1787 static const char __pyx_k_n_s[] =
"n_s";
1788 static const char __pyx_k_phi[] =
"phi";
1789 static const char __pyx_k_r_c[] =
"r_c";
1790 static const char __pyx_k_r_e[] =
"r_e";
1791 static const char __pyx_k_r_h[] =
"r_h";
1792 static const char __pyx_k_r_k[] =
"r_k";
1793 static const char __pyx_k_r_m[] =
"r_m";
1794 static const char __pyx_k_r_x[] =
"r_x";
1795 static const char __pyx_k_rho[] =
"rho";
1796 static const char __pyx_k_rhs[] =
"rhs";
1797 static const char __pyx_k_vIn[] =
"vIn";
1798 static const char __pyx_k_vof[] =
"vof";
1799 static const char __pyx_k_Bcon[] =
"Bcon";
1800 static const char __pyx_k_beta[] =
"beta";
1801 static const char __pyx_k_c_mu[] =
"c_mu";
1802 static const char __pyx_k_df_c[] =
"df_c";
1803 static const char __pyx_k_df_e[] =
"df_e";
1804 static const char __pyx_k_df_h[] =
"df_h";
1805 static const char __pyx_k_df_k[] =
"df_k";
1806 static const char __pyx_k_df_m[] =
"df_m";
1807 static const char __pyx_k_dm_c[] =
"dm_c";
1808 static const char __pyx_k_dm_e[] =
"dm_e";
1809 static const char __pyx_k_dm_k[] =
"dm_k";
1810 static const char __pyx_k_dm_x[] =
"dm_x";
1811 static const char __pyx_k_dphi[] =
"dphi";
1812 static const char __pyx_k_kr0x[] =
"kr0x";
1813 static const char __pyx_k_kr0y[] =
"kr0y";
1814 static const char __pyx_k_kr0z[] =
"kr0z";
1815 static const char __pyx_k_main[] =
"__main__";
1816 static const char __pyx_k_mass[] =
"mass";
1817 static const char __pyx_k_n_vg[] =
"n_vg";
1818 static const char __pyx_k_name[] =
"__name__";
1819 static const char __pyx_k_nu_0[] =
"nu_0";
1820 static const char __pyx_k_nu_1[] =
"nu_1";
1821 static const char __pyx_k_nu_s[] =
"nu_s";
1822 static const char __pyx_k_nu_t[] =
"nu_t";
1823 static const char __pyx_k_psiD[] =
"psiD";
1824 static const char __pyx_k_rank[] =
"rank";
1825 static const char __pyx_k_rhoM[] =
"rhoM";
1826 static const char __pyx_k_rhoP[] =
"rhoP";
1827 static const char __pyx_k_size[] =
"size";
1828 static const char __pyx_k_test[] =
"__test__";
1829 static const char __pyx_k_u_ls[] =
"u_ls";
1830 static const char __pyx_k_vOut[] =
"vOut";
1831 static const char __pyx_k_Bcon1[] =
"Bcon1";
1832 static const char __pyx_k_Bcon2[] =
"Bcon2";
1833 static const char __pyx_k_H_vof[] =
"H_vof";
1834 static const char __pyx_k_Kox_C[] =
"Kox_C";
1835 static const char __pyx_k_Kox_E[] =
"Kox_E";
1836 static const char __pyx_k_Kox_X[] =
"Kox_X";
1837 static const char __pyx_k_S_nwr[] =
"S_nwr";
1838 static const char __pyx_k_Yield[] =
"Yield";
1839 static const char __pyx_k_Z_tot[] =
"Z_tot";
1840 static const char __pyx_k_a_avg[] =
"a_avg";
1841 static const char __pyx_k_alpha[] =
"alpha";
1842 static const char __pyx_k_db_dx[] =
"db_dx";
1843 static const char __pyx_k_det_J[] =
"det_J";
1844 static const char __pyx_k_dmass[] =
"dmass";
1845 static const char __pyx_k_f_avg[] =
"f_avg";
1846 static const char __pyx_k_gamma[] =
"gamma";
1847 static const char __pyx_k_gradu[] =
"gradu";
1848 static const char __pyx_k_gradv[] =
"gradv";
1849 static const char __pyx_k_gradw[] =
"gradw";
1850 static const char __pyx_k_h_eps[] =
"h_eps";
1851 static const char __pyx_k_kappa[] =
"kappa";
1852 static const char __pyx_k_numpy[] =
"numpy";
1853 static const char __pyx_k_omega[] =
"omega";
1854 static const char __pyx_k_p_pow[] =
"p_pow";
1855 static const char __pyx_k_phi_e[] =
"phi_e";
1856 static const char __pyx_k_phi_h[] =
"phi_h";
1857 static const char __pyx_k_phi_k[] =
"phi_k";
1858 static const char __pyx_k_phi_s[] =
"phi_s";
1859 static const char __pyx_k_q_pow[] =
"q_pow";
1860 static const char __pyx_k_r_pow[] =
"r_pow";
1861 static const char __pyx_k_radii[] =
"radii";
1862 static const char __pyx_k_rho_0[] =
"rho_0";
1863 static const char __pyx_k_rho_1[] =
"rho_1";
1864 static const char __pyx_k_rho_n[] =
"rho_n";
1865 static const char __pyx_k_rho_s[] =
"rho_s";
1866 static const char __pyx_k_rho_w[] =
"rho_w";
1867 static const char __pyx_k_s_pow[] =
"s_pow";
1868 static const char __pyx_k_sigma[] =
"sigma";
1869 static const char __pyx_k_t_pow[] =
"t_pow";
1870 static const char __pyx_k_theta[] =
"theta";
1871 static const char __pyx_k_u_dof[] =
"u_dof";
1872 static const char __pyx_k_u_l2g[] =
"u_l2g";
1873 static const char __pyx_k_Lambda[] =
"Lambda";
1874 static const char __pyx_k_S_wirr[] =
"S_wirr";
1875 static const char __pyx_k_colind[] =
"colind";
1876 static const char __pyx_k_da_avg[] =
"da_avg";
1877 static const char __pyx_k_df_avg[] =
"df_avg";
1878 static const char __pyx_k_dm_h_h[] =
"dm_h_h";
1879 static const char __pyx_k_dm_h_m[] =
"dm_h_m";
1880 static const char __pyx_k_dm_m_h[] =
"dm_m_h";
1881 static const char __pyx_k_dm_m_m[] =
"dm_m_m";
1882 static const char __pyx_k_dphi_e[] =
"dphi_e";
1883 static const char __pyx_k_dphi_h[] =
"dphi_h";
1884 static const char __pyx_k_dphi_k[] =
"dphi_k";
1885 static const char __pyx_k_eps_mu[] =
"eps_mu";
1886 static const char __pyx_k_grad_b[] =
"grad_b";
1887 static const char __pyx_k_grad_k[] =
"grad_k";
1888 static const char __pyx_k_grad_p[] =
"grad_p";
1889 static const char __pyx_k_grad_u[] =
"grad_u";
1890 static const char __pyx_k_grad_v[] =
"grad_v";
1891 static const char __pyx_k_grad_w[] =
"grad_w";
1892 static const char __pyx_k_import[] =
"__import__";
1893 static const char __pyx_k_nSpace[] =
"nSpace";
1894 static const char __pyx_k_offset[] =
"offset";
1895 static const char __pyx_k_pc_eps[] =
"pc_eps";
1896 static const char __pyx_k_phi_ls[] =
"phi_ls";
1897 static const char __pyx_k_rowptr[] =
"rowptr";
1898 static const char __pyx_k_self_a[] =
"self_a";
1899 static const char __pyx_k_self_v[] =
"self_v";
1900 static const char __pyx_k_source[] =
"source";
1901 static const char __pyx_k_thetaR[] =
"thetaR";
1902 static const char __pyx_k_thetaS[] =
"thetaS";
1903 static const char __pyx_k_Kox_max[] =
"Kox_max";
1904 static const char __pyx_k_alpha_L[] =
"alpha_L";
1905 static const char __pyx_k_alpha_T[] =
"alpha_T";
1906 static const char __pyx_k_centers[] =
"centers";
1907 static const char __pyx_k_da_e_de[] =
"da_e_de";
1908 static const char __pyx_k_da_e_dk[] =
"da_e_dk";
1909 static const char __pyx_k_da_k_de[] =
"da_k_de";
1910 static const char __pyx_k_da_k_dk[] =
"da_k_dk";
1911 static const char __pyx_k_dr_c_dc[] =
"dr_c_dc";
1912 static const char __pyx_k_dr_c_de[] =
"dr_c_de";
1913 static const char __pyx_k_dr_c_dx[] =
"dr_c_dx";
1914 static const char __pyx_k_dr_e_dc[] =
"dr_e_dc";
1915 static const char __pyx_k_dr_e_de[] =
"dr_e_de";
1916 static const char __pyx_k_dr_e_dk[] =
"dr_e_dk";
1917 static const char __pyx_k_dr_e_dx[] =
"dr_e_dx";
1918 static const char __pyx_k_dr_h_dh[] =
"dr_h_dh";
1919 static const char __pyx_k_dr_h_dm[] =
"dr_h_dm";
1920 static const char __pyx_k_dr_k_de[] =
"dr_k_de";
1921 static const char __pyx_k_dr_k_dk[] =
"dr_k_dk";
1922 static const char __pyx_k_dr_m_dh[] =
"dr_m_dh";
1923 static const char __pyx_k_dr_m_dm[] =
"dr_m_dm";
1924 static const char __pyx_k_dr_x_dc[] =
"dr_x_dc";
1925 static const char __pyx_k_dr_x_de[] =
"dr_x_de";
1926 static const char __pyx_k_dr_x_dx[] =
"dr_x_dx";
1927 static const char __pyx_k_epsFact[] =
"epsFact";
1928 static const char __pyx_k_eps_rho[] =
"eps_rho";
1929 static const char __pyx_k_epsilon[] =
"epsilon";
1930 static const char __pyx_k_gravity[] =
"gravity";
1931 static const char __pyx_k_mom_acc[] =
"mom_acc";
1932 static const char __pyx_k_mom_adv[] =
"mom_adv";
1933 static const char __pyx_k_nPoints[] =
"nPoints";
1934 static const char __pyx_k_phi_pot[] =
"phi_pot";
1935 static const char __pyx_k_sigma_e[] =
"sigma_e";
1936 static const char __pyx_k_sigma_k[] =
"sigma_k";
1937 static const char __pyx_k_thetaSR[] =
"thetaSR";
1938 static const char __pyx_k_u_force[] =
"u_force";
1939 static const char __pyx_k_v_force[] =
"v_force";
1940 static const char __pyx_k_v_scale[] =
"v_scale";
1941 static const char __pyx_k_w_force[] =
"w_force";
1942 static const char __pyx_k_dphi_pot[] =
"dphi_pot";
1943 static const char __pyx_k_epsDirac[] =
"epsDirac";
1944 static const char __pyx_k_grad_phi[] =
"grad_phi";
1945 static const char __pyx_k_mass_acc[] =
"mass_acc";
1946 static const char __pyx_k_mass_adv[] =
"mass_adv";
1947 static const char __pyx_k_mesh_dof[] =
"mesh_dof";
1948 static const char __pyx_k_mesh_l2g[] =
"mesh_l2g";
1949 static const char __pyx_k_mom_diff[] =
"mom_diff";
1950 static const char __pyx_k_nSimplex[] =
"nSimplex";
1951 static const char __pyx_k_n_global[] =
"n_global";
1952 static const char __pyx_k_porosity[] =
"porosity";
1953 static const char __pyx_k_velocity[] =
"velocity";
1954 static const char __pyx_k_vol_frac[] =
"vol_frac";
1955 static const char __pyx_k_waveFlag[] =
"waveFlag";
1956 static const char __pyx_k_gravity_u[] =
"gravity_u";
1957 static const char __pyx_k_mom_p_acc[] =
"mom_p_acc";
1958 static const char __pyx_k_mom_u_acc[] =
"mom_u_acc";
1959 static const char __pyx_k_mom_u_adv[] =
"mom_u_adv";
1960 static const char __pyx_k_mom_u_ham[] =
"mom_u_ham";
1961 static const char __pyx_k_mom_v_acc[] =
"mom_v_acc";
1962 static const char __pyx_k_mom_v_adv[] =
"mom_v_adv";
1963 static const char __pyx_k_mom_v_ham[] =
"mom_v_ham";
1964 static const char __pyx_k_mom_w_acc[] =
"mom_w_acc";
1965 static const char __pyx_k_mom_w_adv[] =
"mom_w_adv";
1966 static const char __pyx_k_mom_w_ham[] =
"mom_w_ham";
1967 static const char __pyx_k_omega_s_x[] =
"omega_s_x";
1968 static const char __pyx_k_omega_s_y[] =
"omega_s_y";
1969 static const char __pyx_k_omega_s_z[] =
"omega_s_z";
1970 static const char __pyx_k_mom_source[] =
"mom_source";
1971 static const char __pyx_k_mom_u_diff[] =
"mom_u_diff";
1972 static const char __pyx_k_mom_v_diff[] =
"mom_v_diff";
1973 static const char __pyx_k_nSimplices[] =
"nSimplices";
1974 static const char __pyx_k_u_levelSet[] =
"u_levelSet";
1975 static const char __pyx_k_upwindFlag[] =
"upwindFlag";
1976 static const char __pyx_k_waterDepth[] =
"waterDepth";
1977 static const char __pyx_k_waveHeight[] =
"waveHeight";
1978 static const char __pyx_k_waveNumber[] =
"waveNumber";
1979 static const char __pyx_k_ImportError[] =
"ImportError";
1980 static const char __pyx_k_dmass_adv_p[] =
"dmass_adv_p";
1981 static const char __pyx_k_dmass_adv_u[] =
"dmass_adv_u";
1982 static const char __pyx_k_dmass_adv_v[] =
"dmass_adv_v";
1983 static const char __pyx_k_dmass_adv_w[] =
"dmass_adv_w";
1984 static const char __pyx_k_dmom_adv_dh[] =
"dmom_adv_dh";
1985 static const char __pyx_k_omega_types[] =
"omega_types";
1986 static const char __pyx_k_rho_s_types[] =
"rho_s_types";
1987 static const char __pyx_k_uu_diff_ten[] =
"uu_diff_ten";
1988 static const char __pyx_k_uv_diff_ten[] =
"uv_diff_ten";
1989 static const char __pyx_k_uw_diff_ten[] =
"uw_diff_ten";
1990 static const char __pyx_k_vu_diff_ten[] =
"vu_diff_ten";
1991 static const char __pyx_k_vv_diff_ten[] =
"vv_diff_ten";
1992 static const char __pyx_k_vw_diff_ten[] =
"vw_diff_ten";
1993 static const char __pyx_k_wu_diff_ten[] =
"wu_diff_ten";
1994 static const char __pyx_k_wv_diff_ten[] =
"wv_diff_ten";
1995 static const char __pyx_k_ww_diff_ten[] =
"ww_diff_ten";
1996 static const char __pyx_k_dmass_acc_dh[] =
"dmass_acc_dh";
1997 static const char __pyx_k_dmom_acc_dhu[] =
"dmom_acc_dhu";
1998 static const char __pyx_k_dmom_adv_dhu[] =
"dmom_adv_dhu";
1999 static const char __pyx_k_dmom_p_acc_p[] =
"dmom_p_acc_p";
2000 static const char __pyx_k_dmom_u_acc_u[] =
"dmom_u_acc_u";
2001 static const char __pyx_k_dmom_u_adv_p[] =
"dmom_u_adv_p";
2002 static const char __pyx_k_dmom_u_adv_u[] =
"dmom_u_adv_u";
2003 static const char __pyx_k_dmom_u_adv_v[] =
"dmom_u_adv_v";
2004 static const char __pyx_k_dmom_u_adv_w[] =
"dmom_u_adv_w";
2005 static const char __pyx_k_dmom_v_acc_v[] =
"dmom_v_acc_v";
2006 static const char __pyx_k_dmom_v_adv_p[] =
"dmom_v_adv_p";
2007 static const char __pyx_k_dmom_v_adv_u[] =
"dmom_v_adv_u";
2008 static const char __pyx_k_dmom_v_adv_v[] =
"dmom_v_adv_v";
2009 static const char __pyx_k_dmom_v_adv_w[] =
"dmom_v_adv_w";
2010 static const char __pyx_k_dmom_w_acc_w[] =
"dmom_w_acc_w";
2011 static const char __pyx_k_dmom_w_adv_p[] =
"dmom_w_adv_p";
2012 static const char __pyx_k_dmom_w_adv_u[] =
"dmom_w_adv_u";
2013 static const char __pyx_k_dmom_w_adv_v[] =
"dmom_w_adv_v";
2014 static const char __pyx_k_dmom_w_adv_w[] =
"dmom_w_adv_w";
2015 static const char __pyx_k_epsDiffusion[] =
"epsDiffusion";
2016 static const char __pyx_k_epsHeaviside[] =
"epsHeaviside";
2017 static const char __pyx_k_fluxJacobian[] =
"fluxJacobian";
2018 static const char __pyx_k_mom_u_source[] =
"mom_u_source";
2019 static const char __pyx_k_mom_v_source[] =
"mom_v_source";
2020 static const char __pyx_k_mom_w_source[] =
"mom_w_source";
2021 static const char __pyx_k_thetaS_types[] =
"thetaS_types";
2022 static const char __pyx_k_waveCelerity[] =
"waveCelerity";
2023 static const char __pyx_k_advectiveFlux[] =
"advectiveFlux";
2024 static const char __pyx_k_alpha_L_types[] =
"alpha_L_types";
2025 static const char __pyx_k_alpha_T_types[] =
"alpha_T_types";
2026 static const char __pyx_k_diffusiveFlux[] =
"diffusiveFlux";
2027 static const char __pyx_k_dmass_adv_dhu[] =
"dmass_adv_dhu";
2028 static const char __pyx_k_dmass_adv_dhv[] =
"dmass_adv_dhv";
2029 static const char __pyx_k_dmom_u_adv_dh[] =
"dmom_u_adv_dh";
2030 static const char __pyx_k_dmom_v_adv_dh[] =
"dmom_v_adv_dh";
2031 static const char __pyx_k_eddyViscosity[] =
"eddyViscosity";
2032 static const char __pyx_k_isDOFBoundary[] =
"isDOFBoundary";
2033 static const char __pyx_k_materialTypes[] =
"materialTypes";
2034 static const char __pyx_k_meanGrainSize[] =
"meanGrainSize";
2035 static const char __pyx_k_seepageBrezis[] =
"seepageBrezis";
2036 static const char __pyx_k_smoothedDirac[] =
"smoothedDirac";
2037 static const char __pyx_k_waveFrequency[] =
"waveFrequency";
2038 static const char __pyx_k_Lambda_penalty[] =
"Lambda_penalty";
2039 static const char __pyx_k_disVelEvaluate[] =
"disVelEvaluate";
2040 static const char __pyx_k_dmom_source_dh[] =
"dmom_source_dh";
2041 static const char __pyx_k_dmom_u_acc_dhu[] =
"dmom_u_acc_dhu";
2042 static const char __pyx_k_dmom_u_adv_dhu[] =
"dmom_u_adv_dhu";
2043 static const char __pyx_k_dmom_u_adv_dhv[] =
"dmom_u_adv_dhv";
2044 static const char __pyx_k_dmom_v_acc_dhv[] =
"dmom_v_acc_dhv";
2045 static const char __pyx_k_dmom_v_adv_dhu[] =
"dmom_v_adv_dhu";
2046 static const char __pyx_k_dmom_v_adv_dhv[] =
"dmom_v_adv_dhv";
2047 static const char __pyx_k_mesh_trial_ref[] =
"mesh_trial_ref";
2048 static const char __pyx_k_mom_p_diff_ten[] =
"mom_p_diff_ten";
2049 static const char __pyx_k_mom_u_diff_ten[] =
"mom_u_diff_ten";
2050 static const char __pyx_k_mom_v_diff_ten[] =
"mom_v_diff_ten";
2051 static const char __pyx_k_mom_w_diff_ten[] =
"mom_w_diff_ten";
2052 static const char __pyx_k_specificHeat_n[] =
"specificHeat_n";
2053 static const char __pyx_k_specificHeat_w[] =
"specificHeat_w";
2054 static const char __pyx_k_computeAverages[] =
"computeAverages";
2055 static const char __pyx_k_dmom_source_dhu[] =
"dmom_source_dhu";
2056 static const char __pyx_k_dmom_u_source_u[] =
"dmom_u_source_u";
2057 static const char __pyx_k_dmom_u_source_v[] =
"dmom_u_source_v";
2058 static const char __pyx_k_dmom_u_source_w[] =
"dmom_u_source_w";
2059 static const char __pyx_k_dmom_v_source_u[] =
"dmom_v_source_u";
2060 static const char __pyx_k_dmom_v_source_v[] =
"dmom_v_source_v";
2061 static const char __pyx_k_dmom_v_source_w[] =
"dmom_v_source_w";
2062 static const char __pyx_k_dmom_w_source_u[] =
"dmom_w_source_u";
2063 static const char __pyx_k_dmom_w_source_v[] =
"dmom_w_source_v";
2064 static const char __pyx_k_dmom_w_source_w[] =
"dmom_w_source_w";
2065 static const char __pyx_k_elementDiameter[] =
"elementDiameter";
2066 static const char __pyx_k_l2projectScalar[] =
"l2projectScalar";
2067 static const char __pyx_k_l2projectVector[] =
"l2projectVector";
2068 static const char __pyx_k_mom_uv_diff_ten[] =
"mom_uv_diff_ten";
2069 static const char __pyx_k_mom_uw_diff_ten[] =
"mom_uw_diff_ten";
2070 static const char __pyx_k_mom_vu_diff_ten[] =
"mom_vu_diff_ten";
2071 static const char __pyx_k_mom_vw_diff_ten[] =
"mom_vw_diff_ten";
2072 static const char __pyx_k_mom_wu_diff_ten[] =
"mom_wu_diff_ten";
2073 static const char __pyx_k_mom_wv_diff_ten[] =
"mom_wv_diff_ten";
2074 static const char __pyx_k_Lambda_dry_types[] =
"Lambda_dry_types";
2075 static const char __pyx_k_Lambda_sat_types[] =
"Lambda_sat_types";
2076 static const char __pyx_k_Mass_2D_Evaluate[] =
"Mass_2D_Evaluate";
2077 static const char __pyx_k_Mass_3D_Evaluate[] =
"Mass_3D_Evaluate";
2078 static const char __pyx_k_bedFrictionPower[] =
"bedFrictionPower";
2079 static const char __pyx_k_dmom_u_source_dh[] =
"dmom_u_source_dh";
2080 static const char __pyx_k_dmom_v_source_dh[] =
"dmom_v_source_dh";
2081 static const char __pyx_k_freeze_nodes_tmp[] =
"freeze_nodes_tmp";
2082 static const char __pyx_k_l2project2Tensor[] =
"l2project2Tensor";
2083 static const char __pyx_k_nElements_global[] =
"nElements_global";
2084 static const char __pyx_k_HJBurgersEvaluate[] =
"HJBurgersEvaluate";
2085 static const char __pyx_k_L2projectEvaluate[] =
"L2projectEvaluate";
2086 static const char __pyx_k_dmom_u_ham_grad_p[] =
"dmom_u_ham_grad_p";
2087 static const char __pyx_k_dmom_u_source_dhu[] =
"dmom_u_source_dhu";
2088 static const char __pyx_k_dmom_u_source_dhv[] =
"dmom_u_source_dhv";
2089 static const char __pyx_k_dmom_v_ham_grad_p[] =
"dmom_v_ham_grad_p";
2090 static const char __pyx_k_dmom_v_source_dhu[] =
"dmom_v_source_dhu";
2091 static const char __pyx_k_dmom_v_source_dhv[] =
"dmom_v_source_dhv";
2092 static const char __pyx_k_dmom_w_ham_grad_p[] =
"dmom_w_ham_grad_p";
2093 static const char __pyx_k_killNonlinearDrag[] =
"killNonlinearDrag";
2094 static const char __pyx_k_linearize_at_zero[] =
"linearize_at_zero";
2095 static const char __pyx_k_nPointsPerSimplex[] =
"nPointsPerSimplex";
2096 static const char __pyx_k_smoothedHeaviside[] =
"smoothedHeaviside";
2097 static const char __pyx_k_volumePenaltyCoef[] =
"volumePenaltyCoef";
2098 static const char __pyx_k_Lambda_aniso_types[] =
"Lambda_aniso_types";
2099 static const char __pyx_k_Stokes_2D_Evaluate[] =
"Stokes_2D_Evaluate";
2100 static const char __pyx_k_Stokes_3D_Evaluate[] =
"Stokes_3D_Evaluate";
2101 static const char __pyx_k_cline_in_traceback[] =
"cline_in_traceback";
2102 static const char __pyx_k_nDOF_trial_element[] =
"nDOF_trial_element";
2103 static const char __pyx_k_Laplace_2D_Evaluate[] =
"Laplace_2D_Evaluate";
2104 static const char __pyx_k_Laplace_3D_Evaluate[] =
"Laplace_3D_Evaluate";
2105 static const char __pyx_k_StokesP_2D_Evaluate[] =
"StokesP_2D_Evaluate";
2106 static const char __pyx_k_StokesP_3D_Evaluate[] =
"StokesP_3D_Evaluate";
2107 static const char __pyx_k_boundaryPenaltyCoef[] =
"boundaryPenaltyCoef";
2108 static const char __pyx_k_smagorinskyConstant[] =
"smagorinskyConstant";
2109 static const char __pyx_k_applyContactLineSlip[] =
"applyContactLineSlip";
2110 static const char __pyx_k_kEpsilon_2D_Evaluate[] =
"kEpsilon_2D_Evaluate";
2111 static const char __pyx_k_kEpsilon_3D_Evaluate[] =
"kEpsilon_3D_Evaluate";
2112 static const char __pyx_k_specificHeat_s_types[] =
"specificHeat_s_types";
2113 static const char __pyx_k_elementDiametersArray[] =
"elementDiametersArray";
2114 static const char __pyx_k_epsilon_freeze_factor[] =
"epsilon_freeze_factor";
2115 static const char __pyx_k_smagorinskyConstant_0[] =
"smagorinskyConstant_0";
2116 static const char __pyx_k_smagorinskyConstant_1[] =
"smagorinskyConstant_1";
2117 static const char __pyx_k_MovingMesh_1D_Evaluate[] =
"MovingMesh_1D_Evaluate";
2118 static const char __pyx_k_MovingMesh_2D_Evaluate[] =
"MovingMesh_2D_Evaluate";
2119 static const char __pyx_k_MovingMesh_3D_Evaluate[] =
"MovingMesh_3D_Evaluate";
2120 static const char __pyx_k_bedFrictionCoefficient[] =
"bedFrictionCoefficient";
2121 static const char __pyx_k_ctransportCoefficients[] =
"ctransportCoefficients";
2122 static const char __pyx_k_VOFCoefficientsEvaluate[] =
"VOFCoefficientsEvaluate";
2123 static const char __pyx_k_eddyViscosity_2D_Update[] =
"eddyViscosity_2D_Update";
2124 static const char __pyx_k_eddyViscosity_3D_Update[] =
"eddyViscosity_3D_Update";
2125 static const char __pyx_k_eikonalEquationEvaluate[] =
"eikonalEquationEvaluate";
2126 static const char __pyx_k_kEpsilon_2D_Evaluate_sd[] =
"kEpsilon_2D_Evaluate_sd";
2127 static const char __pyx_k_kEpsilon_3D_Evaluate_sd[] =
"kEpsilon_3D_Evaluate_sd";
2128 static const char __pyx_k_NavierStokes_2D_Evaluate[] =
"NavierStokes_2D_Evaluate";
2129 static const char __pyx_k_NavierStokes_3D_Evaluate[] =
"NavierStokes_3D_Evaluate";
2130 static const char __pyx_k_rotatingPulseVelEvaluate[] =
"rotatingPulseVelEvaluate";
2131 static const char __pyx_k_shallowWater_1D_Evaluate[] =
"shallowWater_1D_Evaluate";
2132 static const char __pyx_k_shallowWater_2D_Evaluate[] =
"shallowWater_2D_Evaluate";
2133 static const char __pyx_k_unitCubeRotationEvaluate[] =
"unitCubeRotationEvaluate";
2134 static const char __pyx_k_unitSquareVortexEvaluate[] =
"unitSquareVortexEvaluate";
2135 static const char __pyx_k_kEpsilon_k_2D_Evaluate_sd[] =
"kEpsilon_k_2D_Evaluate_sd";
2136 static const char __pyx_k_kEpsilon_k_3D_Evaluate_sd[] =
"kEpsilon_k_3D_Evaluate_sd";
2137 static const char __pyx_k_burgersDiagonalVelEvaluate[] =
"burgersDiagonalVelEvaluate";
2138 static const char __pyx_k_eddyViscosity_2D_Update_sd[] =
"eddyViscosity_2D_Update_sd";
2139 static const char __pyx_k_eddyViscosity_3D_Update_sd[] =
"eddyViscosity_3D_Update_sd";
2140 static const char __pyx_k_nonlinearADR_pqrstEvaluate[] =
"nonlinearADR_pqrstEvaluate";
2141 static const char __pyx_k_smoothedHeaviside_integral[] =
"smoothedHeaviside_integral";
2142 static const char __pyx_k_unitSquareRotationEvaluate[] =
"unitSquareRotationEvaluate";
2143 static const char __pyx_k_calculateWaveFunction3d_ref[] =
"calculateWaveFunction3d_ref";
2144 static const char __pyx_k_disRotatingPulseVelEvaluate[] =
"disRotatingPulseVelEvaluate";
2145 static const char __pyx_k_weakDirichletConditionFlags[] =
"weakDirichletConditionFlags";
2146 static const char __pyx_k_LinearElasticity_1D_Evaluate[] =
"LinearElasticity_1D_Evaluate";
2147 static const char __pyx_k_LinearElasticity_2D_Evaluate[] =
"LinearElasticity_2D_Evaluate";
2148 static const char __pyx_k_LinearElasticity_3D_Evaluate[] =
"LinearElasticity_3D_Evaluate";
2149 static const char __pyx_k_applyContactLineSlipJacobian[] =
"applyContactLineSlipJacobian";
2150 static const char __pyx_k_burgersDiagonalVelHJEvaluate[] =
"burgersDiagonalVelHJEvaluate";
2151 static const char __pyx_k_elementBoundaryElementsArray[] =
"elementBoundaryElementsArray";
2152 static const char __pyx_k_TwoPhaseAdvection_2D_Evaluate[] =
"TwoPhaseAdvection_2D_Evaluate";
2153 static const char __pyx_k_cLevelSetCoefficientsEvaluate[] =
"cLevelSetCoefficientsEvaluate";
2154 static const char __pyx_k_twophasePotentialFlowEvaluate[] =
"twophasePotentialFlowEvaluate";
2155 static const char __pyx_k_ncLevelSetCoefficientsEvaluate[] =
"ncLevelSetCoefficientsEvaluate";
2156 static const char __pyx_k_nonlinearADR_pqrstDualEvaluate[] =
"nonlinearADR_pqrstDualEvaluate";
2157 static const char __pyx_k_ThreephaseNavierStokes_ST_LS_SO[] =
"ThreephaseNavierStokes_ST_LS_SO_2D_Evaluate";
2158 static const char __pyx_k_darcySharpInterfaceFlowEvaluate[] =
"darcySharpInterfaceFlowEvaluate";
2159 static const char __pyx_k_kEpsilon_epsilon_2D_Evaluate_sd[] =
"kEpsilon_epsilon_2D_Evaluate_sd";
2160 static const char __pyx_k_kEpsilon_epsilon_3D_Evaluate_sd[] =
"kEpsilon_epsilon_3D_Evaluate_sd";
2161 static const char __pyx_k_numpy_core_multiarray_failed_to[] =
"numpy.core.multiarray failed to import";
2162 static const char __pyx_k_ReynoldsAveragedNavierStokes_kEp[] =
"ReynoldsAveragedNavierStokes_kEpsilon_2D_Update";
2163 static const char __pyx_k_TwophaseNavierStokes_LS_SO_2D_Ev[] =
"TwophaseNavierStokes_LS_SO_2D_Evaluate";
2164 static const char __pyx_k_TwophaseNavierStokes_LS_SO_3D_Ev[] =
"TwophaseNavierStokes_LS_SO_3D_Evaluate";
2165 static const char __pyx_k_TwophaseNavierStokes_ST_LS_SO_2D[] =
"TwophaseNavierStokes_ST_LS_SO_2D_Evaluate";
2166 static const char __pyx_k_TwophaseNavierStokes_ST_LS_SO_3D[] =
"TwophaseNavierStokes_ST_LS_SO_3D_Evaluate";
2167 static const char __pyx_k_TwophaseNavierStokes_VOF_SO_2D_E[] =
"TwophaseNavierStokes_VOF_SO_2D_Evaluate";
2168 static const char __pyx_k_TwophaseNavierStokes_VOF_SO_3D_E[] =
"TwophaseNavierStokes_VOF_SO_3D_Evaluate";
2169 static const char __pyx_k_TwophaseStokes_LS_SO_2D_Evaluate[] =
"TwophaseStokes_LS_SO_2D_Evaluate";
2170 static const char __pyx_k_TwophaseStokes_LS_SO_3D_Evaluate[] =
"TwophaseStokes_LS_SO_3D_Evaluate";
2171 static const char __pyx_k_TwophaseStokes_VOF_SO_2D_Evaluat[] =
"TwophaseStokes_VOF_SO_2D_Evaluate";
2172 static const char __pyx_k_TwophaseStokes_VOF_SO_3D_Evaluat[] =
"TwophaseStokes_VOF_SO_3D_Evaluate";
2173 static const char __pyx_k_VolumeAveragedNavierStokesFullDe[] =
"VolumeAveragedNavierStokesFullDevStress_2D_Evaluate";
2174 static const char __pyx_k_VolumeAveragedTwophaseNavierStok[] =
"VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate";
2175 static const char __pyx_k_VolumeAveragedVOFCoefficientsEva[] =
"VolumeAveragedVOFCoefficientsEvaluate";
2176 static const char __pyx_k_calculateEddyViscosity_Smagorins[] =
"calculateEddyViscosity_Smagorinsky_2D";
2177 static const char __pyx_k_conservativeHeadRichardsBCBfromM[] =
"conservativeHeadRichardsBCBfromMVGHomEvaluate";
2178 static const char __pyx_k_conservativeHeadRichardsBrooksCo[] =
"conservativeHeadRichardsBrooksCoreyBurdineHetEvaluate";
2179 static const char __pyx_k_conservativeHeadRichardsJLeveret[] =
"conservativeHeadRichardsJLeverettEvaluate";
2180 static const char __pyx_k_conservativeHeadRichardsL2projBn[] =
"conservativeHeadRichardsL2projBndMualemVanGenuchtenHomEvaluate";
2181 static const char __pyx_k_conservativeHeadRichardsL2projMu[] =
"conservativeHeadRichardsL2projMualemVanGenuchtenHomEvaluate";
2182 static const char __pyx_k_conservativeHeadRichardsMualemVa[] =
"conservativeHeadRichardsMualemVanGenuchtenHomEvaluate";
2183 static const char __pyx_k_conservativeSatRichardsBrooksCor[] =
"conservativeSatRichardsBrooksCoreyBurdineHomEvaluate";
2184 static const char __pyx_k_conservativeSatRichardsMualemVan[] =
"conservativeSatRichardsMualemVanGenuchtenHomEvaluate";
2185 static const char __pyx_k_conservativeTotalHeadRichardsMua[] =
"conservativeTotalHeadRichardsMualemVanGenuchtenHomEvaluate";
2186 static const char __pyx_k_constantNormalVelocityLevelSetEv[] =
"constantNormalVelocityLevelSetEvaluate";
2187 static const char __pyx_k_constantVelocityLevelSetEvaluate[] =
"constantVelocityLevelSetEvaluate";
2188 static const char __pyx_k_darcySharpInterfaceFlowImEvaluat[] =
"darcySharpInterfaceFlowImEvaluate";
2189 static const char __pyx_k_diffusiveWave1DCoefficientsEvalu[] =
"diffusiveWave1DCoefficientsEvaluate";
2190 static const char __pyx_k_diffusiveWave2DCoefficientsEvalu[] =
"diffusiveWave2DCoefficientsEvaluate";
2191 static const char __pyx_k_evaluateBuckleyLeverettLiuExampl[] =
"evaluateBuckleyLeverettLiuExample";
2192 static const char __pyx_k_groundwaterBiodegradation01Evalu[] =
"groundwaterBiodegradation01EvaluateFC";
2193 static const char __pyx_k_groundwaterBryantDawsonIonExEval[] =
"groundwaterBryantDawsonIonExEvaluateFC";
2194 static const char __pyx_k_groundwaterTransportCoefficients[] =
"groundwaterTransportCoefficientsEvaluate";
2195 static const char __pyx_k_levelSetConservationCoefficients[] =
"levelSetConservationCoefficientsEvaluate";
2196 static const char __pyx_k_levelSetCurvatureCoefficientsEva[] =
"levelSetCurvatureCoefficientsEvaluate";
2197 static const char __pyx_k_linearADR_ConstantCoefficientsEv[] =
"linearADR_ConstantCoefficientsEvaluate";
2198 static const char __pyx_k_nQuadraturePoints_elementBoundar[] =
"nQuadraturePoints_elementBoundary";
2199 static const char __pyx_k_numpy_core_umath_failed_to_impor[] =
"numpy.core.umath failed to import";
2200 static const char __pyx_k_proteus_ctransportCoefficients_p[] =
"proteus/ctransportCoefficients.pyx";
2201 static const char __pyx_k_quadraturePointToElementBoundary[] =
"quadraturePointToElementBoundary";
2202 static const char __pyx_k_redistanceLevelSetCoefficientsEv[] =
"redistanceLevelSetCoefficientsEvaluate";
2203 static const char __pyx_k_redistanceLevelSetCoefficientsWi[] =
"redistanceLevelSetCoefficientsWithWeakPenaltyEvaluate";
2204 static const char __pyx_k_redistanceLevelSetSandFCoefficie[] =
"redistanceLevelSetSandFCoefficientsEvaluate";
2205 static const char __pyx_k_scriptedSphereMotionSignedDistan[] =
"scriptedSphereMotionSignedDistance";
2206 static const char __pyx_k_setSimpleWeakDirichletConditions[] =
"setSimpleWeakDirichletConditionsForLevelSet";
2207 static const char __pyx_k_setWeakDirichletConditionsForLev[] =
"setWeakDirichletConditionsForLevelSet";
2208 static const char __pyx_k_twophaseLevelSetCoefficientsEval[] =
"twophaseLevelSetCoefficientsEvaluate";
2209 static const char __pyx_k_twophaseLevelSetCoefficientsUpda[] =
"twophaseLevelSetCoefficientsUpdateVelocity";
2210 static const char __pyx_k_twophasePotentialFlowUpdateFreeS[] =
"twophasePotentialFlowUpdateFreeSurface";
2211 static const char __pyx_k_twophaseSignedDistanceCoefficien[] =
"twophaseSignedDistanceCoefficientsEvaluate";
2212 static const char __pyx_k_twophaseSignedDistanceUpdateSign[] =
"twophaseSignedDistanceUpdateSignFunction";
2213 static const char __pyx_k_unitSquareRotationLevelSetEvalua[] =
"unitSquareRotationLevelSetEvaluate";
2214 static const char __pyx_k_unitSquareVortexLevelSetEvaluate[] =
"unitSquareVortexLevelSetEvaluate";
2215 static const char __pyx_k_variablySaturatedGroundwaterEner[] =
"variablySaturatedGroundwaterEnergyTransportCoefficientsEvaluate_hetMat";
2216 static const char __pyx_k_variablySaturatedGroundwaterTran[] =
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat";
2217 static const char __pyx_k_ThreephaseNavierStokes_ST_LS_SO_2[] =
"ThreephaseNavierStokes_ST_LS_SO_3D_Evaluate";
2218 static const char __pyx_k_ReynoldsAveragedNavierStokes_kEp_2[] =
"ReynoldsAveragedNavierStokes_kEpsilon_2D_Update_sd";
2219 static const char __pyx_k_ReynoldsAveragedNavierStokes_kEp_3[] =
"ReynoldsAveragedNavierStokes_kEpsilon_3D_Update";
2220 static const char __pyx_k_ReynoldsAveragedNavierStokes_kEp_4[] =
"ReynoldsAveragedNavierStokes_kEpsilon_3D_Update_sd";
2221 static const char __pyx_k_TwophaseNavierStokes_ST_LS_SO_2D_2[] =
"TwophaseNavierStokes_ST_LS_SO_2D_Evaluate_sd";
2222 static const char __pyx_k_TwophaseNavierStokes_ST_LS_SO_3D_2[] =
"TwophaseNavierStokes_ST_LS_SO_3D_Evaluate_sd";
2223 static const char __pyx_k_VolumeAveragedNavierStokesFullDe_2[] =
"VolumeAveragedNavierStokesFullDevStress_3D_Evaluate";
2224 static const char __pyx_k_VolumeAveragedTwophaseNavierStok_2[] =
"VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate_sd";
2225 static const char __pyx_k_VolumeAveragedTwophaseNavierStok_3[] =
"VolumeAveragedTwophaseNavierStokes_ST_LS_SO_3D_Evaluate";
2226 static const char __pyx_k_VolumeAveragedTwophaseNavierStok_4[] =
"VolumeAveragedTwophaseNavierStokes_ST_LS_SO_3D_Evaluate_sd";
2227 static const char __pyx_k_calculateEddyViscosity_Smagorins_2[] =
"calculateEddyViscosity_Smagorinsky_3D";
2228 static const char __pyx_k_calculateEddyViscosity_Smagorins_3[] =
"calculateEddyViscosity_Smagorinsky2P_2D";
2229 static const char __pyx_k_calculateEddyViscosity_Smagorins_4[] =
"calculateEddyViscosity_Smagorinsky2P_3D";
2230 static const char __pyx_k_conservativeHeadRichardsBrooksCo_2[] =
"conservativeHeadRichardsBrooksCoreyBurdineHomEvaluate";
2231 static const char __pyx_k_conservativeHeadRichardsJLeveret_2[] =
"conservativeHeadRichardsJLeverettAniEvaluate";
2232 static const char __pyx_k_conservativeHeadRichardsL2projMu_2[] =
"conservativeHeadRichardsL2projMualemVanGenuchtenHetEvaluate";
2233 static const char __pyx_k_conservativeHeadRichardsMualemVa_2[] =
"conservativeHeadRichardsMualemVanGenuchten_sd_het";
2234 static const char __pyx_k_conservativeHeadRichardsMualemVa_3[] =
"conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2";
2235 static const char __pyx_k_conservativeHeadRichardsMualemVa_4[] =
"conservativeHeadRichardsMualemVanGenuchtenHetEvaluate";
2236 static const char __pyx_k_conservativeHeadRichardsMualemVa_5[] =
"conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwind";
2237 static const char __pyx_k_conservativeHeadRichardsMualemVa_6[] =
"conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwindAndHarm";
2238 static const char __pyx_k_conservativeHeadRichardsMualemVa_7[] =
"conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwindAndHarm_sd";
2239 static const char __pyx_k_groundwaterTransportCoefficients_2[] =
"groundwaterTransportCoefficientsEvaluate_hetMat";
2240 static const char __pyx_k_levelSetConservationCoefficients_2[] =
"levelSetConservationCoefficientsEvaluate_sd";
2241 static const char __pyx_k_twophaseLevelSetCoefficientsEval_2[] =
"twophaseLevelSetCoefficientsEvaluateCI";
2242 static PyObject *__pyx_n_s_A;
2243 static PyObject *__pyx_n_s_A1;
2244 static PyObject *__pyx_n_s_A2;
2245 static PyObject *__pyx_n_s_B;
2246 static PyObject *__pyx_n_s_B1;
2247 static PyObject *__pyx_n_s_B2;
2248 static PyObject *__pyx_n_s_Bcon;
2249 static PyObject *__pyx_n_s_Bcon1;
2250 static PyObject *__pyx_n_s_Bcon2;
2251 static PyObject *__pyx_n_s_C;
2252 static PyObject *__pyx_n_s_C1;
2253 static PyObject *__pyx_n_s_C2;
2254 static PyObject *__pyx_n_s_E;
2255 static PyObject *__pyx_n_s_E0;
2256 static PyObject *__pyx_n_s_H;
2257 static PyObject *__pyx_n_s_HJBurgersEvaluate;
2258 static PyObject *__pyx_n_s_H_vof;
2259 static PyObject *__pyx_n_s_ImportError;
2260 static PyObject *__pyx_n_s_KWs;
2261 static PyObject *__pyx_n_s_K_h;
2262 static PyObject *__pyx_n_s_K_m;
2263 static PyObject *__pyx_n_s_K_w;
2264 static PyObject *__pyx_n_s_Km;
2265 static PyObject *__pyx_n_s_Kox_C;
2266 static PyObject *__pyx_n_s_Kox_E;
2267 static PyObject *__pyx_n_s_Kox_X;
2268 static PyObject *__pyx_n_s_Kox_max;
2269 static PyObject *__pyx_n_s_Kp;
2270 static PyObject *__pyx_n_s_L2projectEvaluate;
2271 static PyObject *__pyx_n_s_Lambda;
2272 static PyObject *__pyx_n_s_Lambda_aniso_types;
2273 static PyObject *__pyx_n_s_Lambda_dry_types;
2274 static PyObject *__pyx_n_s_Lambda_penalty;
2275 static PyObject *__pyx_n_s_Lambda_sat_types;
2276 static PyObject *__pyx_n_s_Laplace_2D_Evaluate;
2277 static PyObject *__pyx_n_s_Laplace_3D_Evaluate;
2278 static PyObject *__pyx_n_s_LinearElasticity_1D_Evaluate;
2279 static PyObject *__pyx_n_s_LinearElasticity_2D_Evaluate;
2280 static PyObject *__pyx_n_s_LinearElasticity_3D_Evaluate;
2281 static PyObject *__pyx_n_s_M;
2282 static PyObject *__pyx_n_s_M1;
2283 static PyObject *__pyx_n_s_M2;
2284 static PyObject *__pyx_n_s_Mass_2D_Evaluate;
2285 static PyObject *__pyx_n_s_Mass_3D_Evaluate;
2286 static PyObject *__pyx_n_s_MovingMesh_1D_Evaluate;
2287 static PyObject *__pyx_n_s_MovingMesh_2D_Evaluate;
2288 static PyObject *__pyx_n_s_MovingMesh_3D_Evaluate;
2289 static PyObject *__pyx_n_s_NavierStokes_2D_Evaluate;
2290 static PyObject *__pyx_n_s_NavierStokes_3D_Evaluate;
2291 static PyObject *__pyx_n_s_ReynoldsAveragedNavierStokes_kEp;
2292 static PyObject *__pyx_n_s_ReynoldsAveragedNavierStokes_kEp_2;
2293 static PyObject *__pyx_n_s_ReynoldsAveragedNavierStokes_kEp_3;
2294 static PyObject *__pyx_n_s_ReynoldsAveragedNavierStokes_kEp_4;
2295 static PyObject *__pyx_n_s_S;
2296 static PyObject *__pyx_n_s_S_nwr;
2297 static PyObject *__pyx_n_s_S_wirr;
2298 static PyObject *__pyx_n_s_StokesP_2D_Evaluate;
2299 static PyObject *__pyx_n_s_StokesP_3D_Evaluate;
2300 static PyObject *__pyx_n_s_Stokes_2D_Evaluate;
2301 static PyObject *__pyx_n_s_Stokes_3D_Evaluate;
2302 static PyObject *__pyx_n_s_ThreephaseNavierStokes_ST_LS_SO;
2303 static PyObject *__pyx_n_s_ThreephaseNavierStokes_ST_LS_SO_2;
2304 static PyObject *__pyx_n_s_TwoPhaseAdvection_2D_Evaluate;
2305 static PyObject *__pyx_n_s_TwophaseNavierStokes_LS_SO_2D_Ev;
2306 static PyObject *__pyx_n_s_TwophaseNavierStokes_LS_SO_3D_Ev;
2307 static PyObject *__pyx_n_s_TwophaseNavierStokes_ST_LS_SO_2D;
2308 static PyObject *__pyx_n_s_TwophaseNavierStokes_ST_LS_SO_2D_2;
2309 static PyObject *__pyx_n_s_TwophaseNavierStokes_ST_LS_SO_3D;
2310 static PyObject *__pyx_n_s_TwophaseNavierStokes_ST_LS_SO_3D_2;
2311 static PyObject *__pyx_n_s_TwophaseNavierStokes_VOF_SO_2D_E;
2312 static PyObject *__pyx_n_s_TwophaseNavierStokes_VOF_SO_3D_E;
2313 static PyObject *__pyx_n_s_TwophaseStokes_LS_SO_2D_Evaluate;
2314 static PyObject *__pyx_n_s_TwophaseStokes_LS_SO_3D_Evaluate;
2315 static PyObject *__pyx_n_s_TwophaseStokes_VOF_SO_2D_Evaluat;
2316 static PyObject *__pyx_n_s_TwophaseStokes_VOF_SO_3D_Evaluat;
2317 static PyObject *__pyx_n_s_VOFCoefficientsEvaluate;
2318 static PyObject *__pyx_n_s_VolumeAveragedNavierStokesFullDe;
2319 static PyObject *__pyx_n_s_VolumeAveragedNavierStokesFullDe_2;
2320 static PyObject *__pyx_n_s_VolumeAveragedTwophaseNavierStok;
2321 static PyObject *__pyx_n_s_VolumeAveragedTwophaseNavierStok_2;
2322 static PyObject *__pyx_n_s_VolumeAveragedTwophaseNavierStok_3;
2323 static PyObject *__pyx_n_s_VolumeAveragedTwophaseNavierStok_4;
2324 static PyObject *__pyx_n_s_VolumeAveragedVOFCoefficientsEva;
2325 static PyObject *__pyx_n_s_Yield;
2326 static PyObject *__pyx_n_s_Z_tot;
2327 static PyObject *__pyx_n_s_a;
2328 static PyObject *__pyx_n_s_a_avg;
2329 static PyObject *__pyx_n_s_a_c;
2330 static PyObject *__pyx_n_s_a_e;
2331 static PyObject *__pyx_n_s_a_h;
2332 static PyObject *__pyx_n_s_a_k;
2333 static PyObject *__pyx_n_s_a_m;
2334 static PyObject *__pyx_n_s_advectiveFlux;
2335 static PyObject *__pyx_n_s_alpha;
2336 static PyObject *__pyx_n_s_alpha_L;
2337 static PyObject *__pyx_n_s_alpha_L_types;
2338 static PyObject *__pyx_n_s_alpha_T;
2339 static PyObject *__pyx_n_s_alpha_T_types;
2340 static PyObject *__pyx_n_s_applyContactLineSlip;
2341 static PyObject *__pyx_n_s_applyContactLineSlipJacobian;
2342 static PyObject *__pyx_n_s_b;
2343 static PyObject *__pyx_n_s_bedFrictionCoefficient;
2344 static PyObject *__pyx_n_s_bedFrictionPower;
2345 static PyObject *__pyx_n_s_beta;
2346 static PyObject *__pyx_n_s_boundaryPenaltyCoef;
2347 static PyObject *__pyx_n_s_burgersDiagonalVelEvaluate;
2348 static PyObject *__pyx_n_s_burgersDiagonalVelHJEvaluate;
2349 static PyObject *__pyx_n_s_cLevelSetCoefficientsEvaluate;
2350 static PyObject *__pyx_n_s_c_1;
2351 static PyObject *__pyx_n_s_c_2;
2352 static PyObject *__pyx_n_s_c_c;
2353 static PyObject *__pyx_n_s_c_e;
2354 static PyObject *__pyx_n_s_c_h;
2355 static PyObject *__pyx_n_s_c_m;
2356 static PyObject *__pyx_n_s_c_mu;
2357 static PyObject *__pyx_n_s_c_x;
2358 static PyObject *__pyx_n_s_calculateEddyViscosity_Smagorins;
2359 static PyObject *__pyx_n_s_calculateEddyViscosity_Smagorins_2;
2360 static PyObject *__pyx_n_s_calculateEddyViscosity_Smagorins_3;
2361 static PyObject *__pyx_n_s_calculateEddyViscosity_Smagorins_4;
2362 static PyObject *__pyx_n_s_calculateWaveFunction3d_ref;
2363 static PyObject *__pyx_n_s_centers;
2364 static PyObject *__pyx_n_s_cline_in_traceback;
2365 static PyObject *__pyx_n_s_colind;
2366 static PyObject *__pyx_n_s_computeAverages;
2367 static PyObject *__pyx_n_s_conservativeHeadRichardsBCBfromM;
2368 static PyObject *__pyx_n_s_conservativeHeadRichardsBrooksCo;
2369 static PyObject *__pyx_n_s_conservativeHeadRichardsBrooksCo_2;
2370 static PyObject *__pyx_n_s_conservativeHeadRichardsJLeveret;
2371 static PyObject *__pyx_n_s_conservativeHeadRichardsJLeveret_2;
2372 static PyObject *__pyx_n_s_conservativeHeadRichardsL2projBn;
2373 static PyObject *__pyx_n_s_conservativeHeadRichardsL2projMu;
2374 static PyObject *__pyx_n_s_conservativeHeadRichardsL2projMu_2;
2375 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa;
2376 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_2;
2377 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_3;
2378 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_4;
2379 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_5;
2380 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_6;
2381 static PyObject *__pyx_n_s_conservativeHeadRichardsMualemVa_7;
2382 static PyObject *__pyx_n_s_conservativeSatRichardsBrooksCor;
2383 static PyObject *__pyx_n_s_conservativeSatRichardsMualemVan;
2384 static PyObject *__pyx_n_s_conservativeTotalHeadRichardsMua;
2385 static PyObject *__pyx_n_s_constantNormalVelocityLevelSetEv;
2386 static PyObject *__pyx_n_s_constantVelocityLevelSetEvaluate;
2387 static PyObject *__pyx_n_s_ctransportCoefficients;
2388 static PyObject *__pyx_n_s_d;
2389 static PyObject *__pyx_n_s_dH;
2390 static PyObject *__pyx_n_s_dV;
2391 static PyObject *__pyx_n_s_d_c;
2392 static PyObject *__pyx_n_s_d_e;
2393 static PyObject *__pyx_n_s_d_h;
2394 static PyObject *__pyx_n_s_d_m;
2395 static PyObject *__pyx_n_s_da;
2396 static PyObject *__pyx_n_s_da_avg;
2397 static PyObject *__pyx_n_s_da_e_de;
2398 static PyObject *__pyx_n_s_da_e_dk;
2399 static PyObject *__pyx_n_s_da_k_de;
2400 static PyObject *__pyx_n_s_da_k_dk;
2401 static PyObject *__pyx_n_s_darcySharpInterfaceFlowEvaluate;
2402 static PyObject *__pyx_n_s_darcySharpInterfaceFlowImEvaluat;
2403 static PyObject *__pyx_n_s_db_dx;
2404 static PyObject *__pyx_n_s_det_J;
2405 static PyObject *__pyx_n_s_df;
2406 static PyObject *__pyx_n_s_df_avg;
2407 static PyObject *__pyx_n_s_df_c;
2408 static PyObject *__pyx_n_s_df_e;
2409 static PyObject *__pyx_n_s_df_h;
2410 static PyObject *__pyx_n_s_df_k;
2411 static PyObject *__pyx_n_s_df_m;
2412 static PyObject *__pyx_n_s_dh;
2413 static PyObject *__pyx_n_s_diffusiveFlux;
2414 static PyObject *__pyx_n_s_diffusiveWave1DCoefficientsEvalu;
2415 static PyObject *__pyx_n_s_diffusiveWave2DCoefficientsEvalu;
2416 static PyObject *__pyx_n_s_disRotatingPulseVelEvaluate;
2417 static PyObject *__pyx_n_s_disVelEvaluate;
2418 static PyObject *__pyx_n_s_dm;
2419 static PyObject *__pyx_n_s_dm_c;
2420 static PyObject *__pyx_n_s_dm_e;
2421 static PyObject *__pyx_n_s_dm_h_h;
2422 static PyObject *__pyx_n_s_dm_h_m;
2423 static PyObject *__pyx_n_s_dm_k;
2424 static PyObject *__pyx_n_s_dm_m_h;
2425 static PyObject *__pyx_n_s_dm_m_m;
2426 static PyObject *__pyx_n_s_dm_x;
2427 static PyObject *__pyx_n_s_dmass;
2428 static PyObject *__pyx_n_s_dmass_acc_dh;
2429 static PyObject *__pyx_n_s_dmass_adv_dhu;
2430 static PyObject *__pyx_n_s_dmass_adv_dhv;
2431 static PyObject *__pyx_n_s_dmass_adv_p;
2432 static PyObject *__pyx_n_s_dmass_adv_u;
2433 static PyObject *__pyx_n_s_dmass_adv_v;
2434 static PyObject *__pyx_n_s_dmass_adv_w;
2435 static PyObject *__pyx_n_s_dmom_acc_dhu;
2436 static PyObject *__pyx_n_s_dmom_adv_dh;
2437 static PyObject *__pyx_n_s_dmom_adv_dhu;
2438 static PyObject *__pyx_n_s_dmom_p_acc_p;
2439 static PyObject *__pyx_n_s_dmom_source_dh;
2440 static PyObject *__pyx_n_s_dmom_source_dhu;
2441 static PyObject *__pyx_n_s_dmom_u_acc_dhu;
2442 static PyObject *__pyx_n_s_dmom_u_acc_u;
2443 static PyObject *__pyx_n_s_dmom_u_adv_dh;
2444 static PyObject *__pyx_n_s_dmom_u_adv_dhu;
2445 static PyObject *__pyx_n_s_dmom_u_adv_dhv;
2446 static PyObject *__pyx_n_s_dmom_u_adv_p;
2447 static PyObject *__pyx_n_s_dmom_u_adv_u;
2448 static PyObject *__pyx_n_s_dmom_u_adv_v;
2449 static PyObject *__pyx_n_s_dmom_u_adv_w;
2450 static PyObject *__pyx_n_s_dmom_u_ham_grad_p;
2451 static PyObject *__pyx_n_s_dmom_u_source_dh;
2452 static PyObject *__pyx_n_s_dmom_u_source_dhu;
2453 static PyObject *__pyx_n_s_dmom_u_source_dhv;
2454 static PyObject *__pyx_n_s_dmom_u_source_u;
2455 static PyObject *__pyx_n_s_dmom_u_source_v;
2456 static PyObject *__pyx_n_s_dmom_u_source_w;
2457 static PyObject *__pyx_n_s_dmom_v_acc_dhv;
2458 static PyObject *__pyx_n_s_dmom_v_acc_v;
2459 static PyObject *__pyx_n_s_dmom_v_adv_dh;
2460 static PyObject *__pyx_n_s_dmom_v_adv_dhu;
2461 static PyObject *__pyx_n_s_dmom_v_adv_dhv;
2462 static PyObject *__pyx_n_s_dmom_v_adv_p;
2463 static PyObject *__pyx_n_s_dmom_v_adv_u;
2464 static PyObject *__pyx_n_s_dmom_v_adv_v;
2465 static PyObject *__pyx_n_s_dmom_v_adv_w;
2466 static PyObject *__pyx_n_s_dmom_v_ham_grad_p;
2467 static PyObject *__pyx_n_s_dmom_v_source_dh;
2468 static PyObject *__pyx_n_s_dmom_v_source_dhu;
2469 static PyObject *__pyx_n_s_dmom_v_source_dhv;
2470 static PyObject *__pyx_n_s_dmom_v_source_u;
2471 static PyObject *__pyx_n_s_dmom_v_source_v;
2472 static PyObject *__pyx_n_s_dmom_v_source_w;
2473 static PyObject *__pyx_n_s_dmom_w_acc_w;
2474 static PyObject *__pyx_n_s_dmom_w_adv_p;
2475 static PyObject *__pyx_n_s_dmom_w_adv_u;
2476 static PyObject *__pyx_n_s_dmom_w_adv_v;
2477 static PyObject *__pyx_n_s_dmom_w_adv_w;
2478 static PyObject *__pyx_n_s_dmom_w_ham_grad_p;
2479 static PyObject *__pyx_n_s_dmom_w_source_u;
2480 static PyObject *__pyx_n_s_dmom_w_source_v;
2481 static PyObject *__pyx_n_s_dmom_w_source_w;
2482 static PyObject *__pyx_n_s_dphi;
2483 static PyObject *__pyx_n_s_dphi_e;
2484 static PyObject *__pyx_n_s_dphi_h;
2485 static PyObject *__pyx_n_s_dphi_k;
2486 static PyObject *__pyx_n_s_dphi_pot;
2487 static PyObject *__pyx_n_s_dr;
2488 static PyObject *__pyx_n_s_dr_c_dc;
2489 static PyObject *__pyx_n_s_dr_c_de;
2490 static PyObject *__pyx_n_s_dr_c_dx;
2491 static PyObject *__pyx_n_s_dr_e_dc;
2492 static PyObject *__pyx_n_s_dr_e_de;
2493 static PyObject *__pyx_n_s_dr_e_dk;
2494 static PyObject *__pyx_n_s_dr_e_dx;
2495 static PyObject *__pyx_n_s_dr_h_dh;
2496 static PyObject *__pyx_n_s_dr_h_dm;
2497 static PyObject *__pyx_n_s_dr_k_de;
2498 static PyObject *__pyx_n_s_dr_k_dk;
2499 static PyObject *__pyx_n_s_dr_m_dh;
2500 static PyObject *__pyx_n_s_dr_m_dm;
2501 static PyObject *__pyx_n_s_dr_x_dc;
2502 static PyObject *__pyx_n_s_dr_x_de;
2503 static PyObject *__pyx_n_s_dr_x_dx;
2504 static PyObject *__pyx_n_s_eddyViscosity;
2505 static PyObject *__pyx_n_s_eddyViscosity_2D_Update;
2506 static PyObject *__pyx_n_s_eddyViscosity_2D_Update_sd;
2507 static PyObject *__pyx_n_s_eddyViscosity_3D_Update;
2508 static PyObject *__pyx_n_s_eddyViscosity_3D_Update_sd;
2509 static PyObject *__pyx_n_s_eikonalEquationEvaluate;
2510 static PyObject *__pyx_n_s_elementBoundaryElementsArray;
2511 static PyObject *__pyx_n_s_elementDiameter;
2512 static PyObject *__pyx_n_s_elementDiametersArray;
2513 static PyObject *__pyx_n_s_eps;
2514 static PyObject *__pyx_n_s_epsDiffusion;
2515 static PyObject *__pyx_n_s_epsDirac;
2516 static PyObject *__pyx_n_s_epsFact;
2517 static PyObject *__pyx_n_s_epsHeaviside;
2518 static PyObject *__pyx_n_s_eps_mu;
2519 static PyObject *__pyx_n_s_eps_rho;
2520 static PyObject *__pyx_n_s_epsilon;
2521 static PyObject *__pyx_n_s_epsilon_freeze_factor;
2522 static PyObject *__pyx_n_s_evaluateBuckleyLeverettLiuExampl;
2523 static PyObject *__pyx_n_s_f;
2524 static PyObject *__pyx_n_s_f_avg;
2525 static PyObject *__pyx_n_s_f_c;
2526 static PyObject *__pyx_n_s_f_e;
2527 static PyObject *__pyx_n_s_f_h;
2528 static PyObject *__pyx_n_s_f_k;
2529 static PyObject *__pyx_n_s_f_m;
2530 static PyObject *__pyx_n_s_fluxJacobian;
2531 static PyObject *__pyx_n_s_freeze_nodes_tmp;
2532 static PyObject *__pyx_n_s_g;
2533 static PyObject *__pyx_n_s_gamma;
2534 static PyObject *__pyx_n_s_grad_b;
2535 static PyObject *__pyx_n_s_grad_k;
2536 static PyObject *__pyx_n_s_grad_p;
2537 static PyObject *__pyx_n_s_grad_phi;
2538 static PyObject *__pyx_n_s_grad_u;
2539 static PyObject *__pyx_n_s_grad_v;
2540 static PyObject *__pyx_n_s_grad_w;
2541 static PyObject *__pyx_n_s_gradu;
2542 static PyObject *__pyx_n_s_gradv;
2543 static PyObject *__pyx_n_s_gradw;
2544 static PyObject *__pyx_n_s_gravity;
2545 static PyObject *__pyx_n_s_gravity_u;
2546 static PyObject *__pyx_n_s_groundwaterBiodegradation01Evalu;
2547 static PyObject *__pyx_n_s_groundwaterBryantDawsonIonExEval;
2548 static PyObject *__pyx_n_s_groundwaterTransportCoefficients;
2549 static PyObject *__pyx_n_s_groundwaterTransportCoefficients_2;
2550 static PyObject *__pyx_n_s_h;
2551 static PyObject *__pyx_n_s_h_e;
2552 static PyObject *__pyx_n_s_h_eps;
2553 static PyObject *__pyx_n_s_hu;
2554 static PyObject *__pyx_n_s_hv;
2555 static PyObject *__pyx_n_s_import;
2556 static PyObject *__pyx_n_s_isDOFBoundary;
2557 static PyObject *__pyx_n_s_k;
2558 static PyObject *__pyx_n_s_kEpsilon_2D_Evaluate;
2559 static PyObject *__pyx_n_s_kEpsilon_2D_Evaluate_sd;
2560 static PyObject *__pyx_n_s_kEpsilon_3D_Evaluate;
2561 static PyObject *__pyx_n_s_kEpsilon_3D_Evaluate_sd;
2562 static PyObject *__pyx_n_s_kEpsilon_epsilon_2D_Evaluate_sd;
2563 static PyObject *__pyx_n_s_kEpsilon_epsilon_3D_Evaluate_sd;
2564 static PyObject *__pyx_n_s_kEpsilon_k_2D_Evaluate_sd;
2565 static PyObject *__pyx_n_s_kEpsilon_k_3D_Evaluate_sd;
2566 static PyObject *__pyx_n_s_k_d;
2567 static PyObject *__pyx_n_s_kappa;
2568 static PyObject *__pyx_n_s_killNonlinearDrag;
2569 static PyObject *__pyx_n_s_kr0;
2570 static PyObject *__pyx_n_s_kr0x;
2571 static PyObject *__pyx_n_s_kr0y;
2572 static PyObject *__pyx_n_s_kr0z;
2573 static PyObject *__pyx_n_s_l2project2Tensor;
2574 static PyObject *__pyx_n_s_l2projectScalar;
2575 static PyObject *__pyx_n_s_l2projectVector;
2576 static PyObject *__pyx_n_s_levelSetConservationCoefficients;
2577 static PyObject *__pyx_n_s_levelSetConservationCoefficients_2;
2578 static PyObject *__pyx_n_s_levelSetCurvatureCoefficientsEva;
2579 static PyObject *__pyx_n_s_linearADR_ConstantCoefficientsEv;
2580 static PyObject *__pyx_n_s_linearize_at_zero;
2581 static PyObject *__pyx_n_s_m;
2582 static PyObject *__pyx_n_s_m_c;
2583 static PyObject *__pyx_n_s_m_e;
2584 static PyObject *__pyx_n_s_m_h;
2585 static PyObject *__pyx_n_s_m_k;
2586 static PyObject *__pyx_n_s_m_m;
2587 static PyObject *__pyx_n_s_m_x;
2588 static PyObject *__pyx_n_s_main;
2589 static PyObject *__pyx_n_s_mass;
2590 static PyObject *__pyx_n_s_mass_acc;
2591 static PyObject *__pyx_n_s_mass_adv;
2592 static PyObject *__pyx_n_s_materialTypes;
2593 static PyObject *__pyx_n_s_meanGrainSize;
2594 static PyObject *__pyx_n_s_mesh_dof;
2595 static PyObject *__pyx_n_s_mesh_l2g;
2596 static PyObject *__pyx_n_s_mesh_trial_ref;
2597 static PyObject *__pyx_n_s_mom_acc;
2598 static PyObject *__pyx_n_s_mom_adv;
2599 static PyObject *__pyx_n_s_mom_diff;
2600 static PyObject *__pyx_n_s_mom_p_acc;
2601 static PyObject *__pyx_n_s_mom_p_diff_ten;
2602 static PyObject *__pyx_n_s_mom_source;
2603 static PyObject *__pyx_n_s_mom_u_acc;
2604 static PyObject *__pyx_n_s_mom_u_adv;
2605 static PyObject *__pyx_n_s_mom_u_diff;
2606 static PyObject *__pyx_n_s_mom_u_diff_ten;
2607 static PyObject *__pyx_n_s_mom_u_ham;
2608 static PyObject *__pyx_n_s_mom_u_source;
2609 static PyObject *__pyx_n_s_mom_uv_diff_ten;
2610 static PyObject *__pyx_n_s_mom_uw_diff_ten;
2611 static PyObject *__pyx_n_s_mom_v_acc;
2612 static PyObject *__pyx_n_s_mom_v_adv;
2613 static PyObject *__pyx_n_s_mom_v_diff;
2614 static PyObject *__pyx_n_s_mom_v_diff_ten;
2615 static PyObject *__pyx_n_s_mom_v_ham;
2616 static PyObject *__pyx_n_s_mom_v_source;
2617 static PyObject *__pyx_n_s_mom_vu_diff_ten;
2618 static PyObject *__pyx_n_s_mom_vw_diff_ten;
2619 static PyObject *__pyx_n_s_mom_w_acc;
2620 static PyObject *__pyx_n_s_mom_w_adv;
2621 static PyObject *__pyx_n_s_mom_w_diff_ten;
2622 static PyObject *__pyx_n_s_mom_w_ham;
2623 static PyObject *__pyx_n_s_mom_w_source;
2624 static PyObject *__pyx_n_s_mom_wu_diff_ten;
2625 static PyObject *__pyx_n_s_mom_wv_diff_ten;
2626 static PyObject *__pyx_n_s_mu;
2627 static PyObject *__pyx_n_s_n;
2628 static PyObject *__pyx_n_s_nDOF_trial_element;
2629 static PyObject *__pyx_n_s_nElements_global;
2630 static PyObject *__pyx_n_s_nPoints;
2631 static PyObject *__pyx_n_s_nPointsPerSimplex;
2632 static PyObject *__pyx_n_s_nQuadraturePoints_elementBoundar;
2633 static PyObject *__pyx_n_s_nSimplex;
2634 static PyObject *__pyx_n_s_nSimplices;
2635 static PyObject *__pyx_n_s_nSpace;
2636 static PyObject *__pyx_n_s_n_global;
2637 static PyObject *__pyx_n_s_n_s;
2638 static PyObject *__pyx_n_s_n_vg;
2639 static PyObject *__pyx_n_s_name;
2640 static PyObject *__pyx_n_s_ncLevelSetCoefficientsEvaluate;
2641 static PyObject *__pyx_n_s_nd;
2642 static PyObject *__pyx_n_s_nk;
2643 static PyObject *__pyx_n_s_nonlinearADR_pqrstDualEvaluate;
2644 static PyObject *__pyx_n_s_nonlinearADR_pqrstEvaluate;
2645 static PyObject *__pyx_n_s_np;
2646 static PyObject *__pyx_n_s_ns;
2647 static PyObject *__pyx_n_s_nu;
2648 static PyObject *__pyx_n_s_nu_0;
2649 static PyObject *__pyx_n_s_nu_1;
2650 static PyObject *__pyx_n_s_nu_s;
2651 static PyObject *__pyx_n_s_nu_t;
2652 static PyObject *__pyx_n_s_numpy;
2653 static PyObject *__pyx_kp_s_numpy_core_multiarray_failed_to;
2654 static PyObject *__pyx_kp_s_numpy_core_umath_failed_to_impor;
2655 static PyObject *__pyx_n_s_offset;
2656 static PyObject *__pyx_n_s_omega;
2657 static PyObject *__pyx_n_s_omega_s_x;
2658 static PyObject *__pyx_n_s_omega_s_y;
2659 static PyObject *__pyx_n_s_omega_s_z;
2660 static PyObject *__pyx_n_s_omega_types;
2661 static PyObject *__pyx_n_s_p;
2662 static PyObject *__pyx_n_s_p1;
2663 static PyObject *__pyx_n_s_p2;
2664 static PyObject *__pyx_n_s_p_pow;
2665 static PyObject *__pyx_n_s_pc_eps;
2666 static PyObject *__pyx_n_s_pd;
2667 static PyObject *__pyx_n_s_phi;
2668 static PyObject *__pyx_n_s_phi_e;
2669 static PyObject *__pyx_n_s_phi_h;
2670 static PyObject *__pyx_n_s_phi_k;
2671 static PyObject *__pyx_n_s_phi_ls;
2672 static PyObject *__pyx_n_s_phi_pot;
2673 static PyObject *__pyx_n_s_phi_s;
2674 static PyObject *__pyx_n_s_porosity;
2675 static PyObject *__pyx_kp_s_proteus_ctransportCoefficients_p;
2676 static PyObject *__pyx_n_s_psiD;
2677 static PyObject *__pyx_n_s_q1;
2678 static PyObject *__pyx_n_s_q2;
2679 static PyObject *__pyx_n_s_q_pow;
2680 static PyObject *__pyx_n_s_quadraturePointToElementBoundary;
2681 static PyObject *__pyx_n_s_r;
2682 static PyObject *__pyx_n_s_r1;
2683 static PyObject *__pyx_n_s_r2;
2684 static PyObject *__pyx_n_s_r_c;
2685 static PyObject *__pyx_n_s_r_e;
2686 static PyObject *__pyx_n_s_r_h;
2687 static PyObject *__pyx_n_s_r_k;
2688 static PyObject *__pyx_n_s_r_m;
2689 static PyObject *__pyx_n_s_r_pow;
2690 static PyObject *__pyx_n_s_r_x;
2691 static PyObject *__pyx_n_s_radii;
2692 static PyObject *__pyx_n_s_rank;
2693 static PyObject *__pyx_n_s_redistanceLevelSetCoefficientsEv;
2694 static PyObject *__pyx_n_s_redistanceLevelSetCoefficientsWi;
2695 static PyObject *__pyx_n_s_redistanceLevelSetSandFCoefficie;
2696 static PyObject *__pyx_n_s_rh;
2697 static PyObject *__pyx_n_s_rho;
2698 static PyObject *__pyx_n_s_rhoM;
2699 static PyObject *__pyx_n_s_rhoP;
2700 static PyObject *__pyx_n_s_rho_0;
2701 static PyObject *__pyx_n_s_rho_1;
2702 static PyObject *__pyx_n_s_rho_n;
2703 static PyObject *__pyx_n_s_rho_s;
2704 static PyObject *__pyx_n_s_rho_s_types;
2705 static PyObject *__pyx_n_s_rho_w;
2706 static PyObject *__pyx_n_s_rhs;
2707 static PyObject *__pyx_n_s_rotatingPulseVelEvaluate;
2708 static PyObject *__pyx_n_s_rowptr;
2709 static PyObject *__pyx_n_s_s1;
2710 static PyObject *__pyx_n_s_s2;
2711 static PyObject *__pyx_n_s_s_pow;
2712 static PyObject *__pyx_n_s_scriptedSphereMotionSignedDistan;
2713 static PyObject *__pyx_n_s_seepageBrezis;
2714 static PyObject *__pyx_n_s_self_a;
2715 static PyObject *__pyx_n_s_self_v;
2716 static PyObject *__pyx_n_s_setSimpleWeakDirichletConditions;
2717 static PyObject *__pyx_n_s_setWeakDirichletConditionsForLev;
2718 static PyObject *__pyx_n_s_shallowWater_1D_Evaluate;
2719 static PyObject *__pyx_n_s_shallowWater_2D_Evaluate;
2720 static PyObject *__pyx_n_s_sigma;
2721 static PyObject *__pyx_n_s_sigma_e;
2722 static PyObject *__pyx_n_s_sigma_k;
2723 static PyObject *__pyx_n_s_size;
2724 static PyObject *__pyx_n_s_smagorinskyConstant;
2725 static PyObject *__pyx_n_s_smagorinskyConstant_0;
2726 static PyObject *__pyx_n_s_smagorinskyConstant_1;
2727 static PyObject *__pyx_n_s_smoothedDirac;
2728 static PyObject *__pyx_n_s_smoothedHeaviside;
2729 static PyObject *__pyx_n_s_smoothedHeaviside_integral;
2730 static PyObject *__pyx_n_s_source;
2731 static PyObject *__pyx_n_s_specificHeat_n;
2732 static PyObject *__pyx_n_s_specificHeat_s_types;
2733 static PyObject *__pyx_n_s_specificHeat_w;
2734 static PyObject *__pyx_n_s_t;
2735 static PyObject *__pyx_n_s_t1;
2736 static PyObject *__pyx_n_s_t2;
2737 static PyObject *__pyx_n_s_t_pow;
2738 static PyObject *__pyx_n_s_test;
2739 static PyObject *__pyx_n_s_theta;
2740 static PyObject *__pyx_n_s_thetaR;
2741 static PyObject *__pyx_n_s_thetaS;
2742 static PyObject *__pyx_n_s_thetaSR;
2743 static PyObject *__pyx_n_s_thetaS_types;
2744 static PyObject *__pyx_n_s_twophaseLevelSetCoefficientsEval;
2745 static PyObject *__pyx_n_s_twophaseLevelSetCoefficientsEval_2;
2746 static PyObject *__pyx_n_s_twophaseLevelSetCoefficientsUpda;
2747 static PyObject *__pyx_n_s_twophasePotentialFlowEvaluate;
2748 static PyObject *__pyx_n_s_twophasePotentialFlowUpdateFreeS;
2749 static PyObject *__pyx_n_s_twophaseSignedDistanceCoefficien;
2750 static PyObject *__pyx_n_s_twophaseSignedDistanceUpdateSign;
2751 static PyObject *__pyx_n_s_u;
2752 static PyObject *__pyx_n_s_u_dof;
2753 static PyObject *__pyx_n_s_u_force;
2754 static PyObject *__pyx_n_s_u_l2g;
2755 static PyObject *__pyx_n_s_u_levelSet;
2756 static PyObject *__pyx_n_s_u_ls;
2757 static PyObject *__pyx_n_s_unitCubeRotationEvaluate;
2758 static PyObject *__pyx_n_s_unitSquareRotationEvaluate;
2759 static PyObject *__pyx_n_s_unitSquareRotationLevelSetEvalua;
2760 static PyObject *__pyx_n_s_unitSquareVortexEvaluate;
2761 static PyObject *__pyx_n_s_unitSquareVortexLevelSetEvaluate;
2762 static PyObject *__pyx_n_s_upwindFlag;
2763 static PyObject *__pyx_n_s_uu_diff_ten;
2764 static PyObject *__pyx_n_s_uv_diff_ten;
2765 static PyObject *__pyx_n_s_uw_diff_ten;
2766 static PyObject *__pyx_n_s_v;
2767 static PyObject *__pyx_n_s_vIn;
2768 static PyObject *__pyx_n_s_vOut;
2769 static PyObject *__pyx_n_s_v_force;
2770 static PyObject *__pyx_n_s_v_scale;
2771 static PyObject *__pyx_n_s_variablySaturatedGroundwaterEner;
2772 static PyObject *__pyx_n_s_variablySaturatedGroundwaterTran;
2773 static PyObject *__pyx_n_s_velocity;
2774 static PyObject *__pyx_n_s_vof;
2775 static PyObject *__pyx_n_s_vol_frac;
2776 static PyObject *__pyx_n_s_volumePenaltyCoef;
2777 static PyObject *__pyx_n_s_vu_diff_ten;
2778 static PyObject *__pyx_n_s_vv_diff_ten;
2779 static PyObject *__pyx_n_s_vw_diff_ten;
2780 static PyObject *__pyx_n_s_w;
2781 static PyObject *__pyx_n_s_w_force;
2782 static PyObject *__pyx_n_s_waterDepth;
2783 static PyObject *__pyx_n_s_waveCelerity;
2784 static PyObject *__pyx_n_s_waveFlag;
2785 static PyObject *__pyx_n_s_waveFrequency;
2786 static PyObject *__pyx_n_s_waveHeight;
2787 static PyObject *__pyx_n_s_waveNumber;
2788 static PyObject *__pyx_n_s_weakDirichletConditionFlags;
2789 static PyObject *__pyx_n_s_wu_diff_ten;
2790 static PyObject *__pyx_n_s_wv_diff_ten;
2791 static PyObject *__pyx_n_s_ww_diff_ten;
2792 static PyObject *__pyx_n_s_x;
2793 static PyObject *__pyx_pf_22ctransportCoefficients_linearADR_ConstantCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_M, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B,
double __pyx_v_C,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2794 static PyObject *__pyx_pf_22ctransportCoefficients_2groundwaterTransportCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a);
2795 static PyObject *__pyx_pf_22ctransportCoefficients_4groundwaterBiodegradation01EvaluateFC(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d_c,
double __pyx_v_d_e,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T,
double __pyx_v_Kox_max,
double __pyx_v_Kox_C,
double __pyx_v_Kox_E,
double __pyx_v_Kox_X,
double __pyx_v_Yield,
double __pyx_v_k_d, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_c_c, PyArrayObject *__pyx_v_c_e, PyArrayObject *__pyx_v_c_x, PyArrayObject *__pyx_v_m_c, PyArrayObject *__pyx_v_dm_c, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_m_x, PyArrayObject *__pyx_v_dm_x, PyArrayObject *__pyx_v_f_c, PyArrayObject *__pyx_v_df_c, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_c, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_r_c, PyArrayObject *__pyx_v_dr_c_dc, PyArrayObject *__pyx_v_dr_c_de, PyArrayObject *__pyx_v_dr_c_dx, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dc, PyArrayObject *__pyx_v_dr_e_de, PyArrayObject *__pyx_v_dr_e_dx, PyArrayObject *__pyx_v_r_x, PyArrayObject *__pyx_v_dr_x_dc, PyArrayObject *__pyx_v_dr_x_de, PyArrayObject *__pyx_v_dr_x_dx);
2796 static PyObject *__pyx_pf_22ctransportCoefficients_6groundwaterBryantDawsonIonExEvaluateFC(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d_m,
double __pyx_v_d_h,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T,
double __pyx_v_K_m,
double __pyx_v_K_h,
double __pyx_v_K_w,
double __pyx_v_Z_tot, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_c_m, PyArrayObject *__pyx_v_c_h, PyArrayObject *__pyx_v_m_m, PyArrayObject *__pyx_v_dm_m_m, PyArrayObject *__pyx_v_dm_m_h, PyArrayObject *__pyx_v_m_h, PyArrayObject *__pyx_v_dm_h_m, PyArrayObject *__pyx_v_dm_h_h, PyArrayObject *__pyx_v_f_m, PyArrayObject *__pyx_v_df_m, PyArrayObject *__pyx_v_f_h, PyArrayObject *__pyx_v_df_h, PyArrayObject *__pyx_v_a_m, PyArrayObject *__pyx_v_a_h, PyArrayObject *__pyx_v_phi_h, PyArrayObject *__pyx_v_dphi_h, PyArrayObject *__pyx_v_r_m, PyArrayObject *__pyx_v_dr_m_dm, PyArrayObject *__pyx_v_dr_m_dh, PyArrayObject *__pyx_v_r_h, PyArrayObject *__pyx_v_dr_h_dm, PyArrayObject *__pyx_v_dr_h_dh);
2797 static PyObject *__pyx_pf_22ctransportCoefficients_8groundwaterTransportCoefficientsEvaluate_hetMat(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_d, PyArrayObject *__pyx_v_materialTypes, PyArrayObject *__pyx_v_omega_types, PyArrayObject *__pyx_v_alpha_L_types, PyArrayObject *__pyx_v_alpha_T_types, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a);
2798 static PyObject *__pyx_pf_22ctransportCoefficients_10variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_d, PyArrayObject *__pyx_v_materialTypes, PyArrayObject *__pyx_v_theta, PyArrayObject *__pyx_v_alpha_L_types, PyArrayObject *__pyx_v_alpha_T_types, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a);
2799 static PyObject *__pyx_pf_22ctransportCoefficients_12variablySaturatedGroundwaterEnergyTransportCoefficientsEvaluate_hetMat(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho_w,
double __pyx_v_rho_n,
double __pyx_v_specificHeat_w,
double __pyx_v_specificHeat_n, PyArrayObject *__pyx_v_materialTypes, PyArrayObject *__pyx_v_theta, PyArrayObject *__pyx_v_thetaS_types, PyArrayObject *__pyx_v_alpha_L_types, PyArrayObject *__pyx_v_alpha_T_types, PyArrayObject *__pyx_v_rho_s_types, PyArrayObject *__pyx_v_specificHeat_s_types, PyArrayObject *__pyx_v_Lambda_sat_types, PyArrayObject *__pyx_v_Lambda_dry_types, PyArrayObject *__pyx_v_Lambda_aniso_types, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a);
2800 static PyObject *__pyx_pf_22ctransportCoefficients_14nonlinearADR_pqrstEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_M, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B,
double __pyx_v_C,
double __pyx_v_p_pow,
double __pyx_v_q_pow,
double __pyx_v_r_pow,
double __pyx_v_s_pow,
double __pyx_v_t_pow,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2801 static PyObject *__pyx_pf_22ctransportCoefficients_16nonlinearADR_pqrstDualEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_M, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B,
double __pyx_v_C,
double __pyx_v_p1,
double __pyx_v_q1,
double __pyx_v_r1,
double __pyx_v_s1,
double __pyx_v_t1,
double __pyx_v_p2,
double __pyx_v_q2,
double __pyx_v_r2,
double __pyx_v_s2,
double __pyx_v_t2,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2802 static PyObject *__pyx_pf_22ctransportCoefficients_18unitSquareRotationEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2803 static PyObject *__pyx_pf_22ctransportCoefficients_20unitCubeRotationEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2804 static PyObject *__pyx_pf_22ctransportCoefficients_22rotatingPulseVelEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_self_a, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2805 static PyObject *__pyx_pf_22ctransportCoefficients_24disRotatingPulseVelEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_self_a, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2806 static PyObject *__pyx_pf_22ctransportCoefficients_26disVelEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_self_a, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2807 static PyObject *__pyx_pf_22ctransportCoefficients_28burgersDiagonalVelEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_self_a, PyArrayObject *__pyx_v_self_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2808 static PyObject *__pyx_pf_22ctransportCoefficients_30burgersDiagonalVelHJEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_self_a, PyArrayObject *__pyx_v_self_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2809 static PyObject *__pyx_pf_22ctransportCoefficients_32twophasePotentialFlowEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_M, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B, PyArrayObject *__pyx_v_Bcon, PyArrayObject *__pyx_v_C,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2810 static PyObject *__pyx_pf_22ctransportCoefficients_34twophasePotentialFlowUpdateFreeSurface(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_eps, PyArrayObject *__pyx_v_u_levelSet,
double __pyx_v_M1,
double __pyx_v_M2, PyArrayObject *__pyx_v_M, PyArrayObject *__pyx_v_A1, PyArrayObject *__pyx_v_A2, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B1, PyArrayObject *__pyx_v_B2, PyArrayObject *__pyx_v_B, PyArrayObject *__pyx_v_Bcon1, PyArrayObject *__pyx_v_Bcon2, PyArrayObject *__pyx_v_Bcon,
double __pyx_v_C1,
double __pyx_v_C2, PyArrayObject *__pyx_v_C);
2811 static PyObject *__pyx_pf_22ctransportCoefficients_36twophaseLevelSetCoefficientsUpdateVelocity(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_v_scale, PyArrayObject *__pyx_v_vIn, PyArrayObject *__pyx_v_vOut);
2812 static PyObject *__pyx_pf_22ctransportCoefficients_38twophaseLevelSetCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_B,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_h, PyArrayObject *__pyx_v_dh, PyArrayObject *__pyx_v_rh);
2813 static PyObject *__pyx_pf_22ctransportCoefficients_40twophaseLevelSetCoefficientsEvaluateCI(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_B,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2814 static PyObject *__pyx_pf_22ctransportCoefficients_42ncLevelSetCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2815 static PyObject *__pyx_pf_22ctransportCoefficients_44cLevelSetCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2816 static PyObject *__pyx_pf_22ctransportCoefficients_46VOFCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2817 static PyObject *__pyx_pf_22ctransportCoefficients_48levelSetCurvatureCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_grad_phi, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2818 static PyObject *__pyx_pf_22ctransportCoefficients_50twophaseSignedDistanceCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_S, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_h, PyArrayObject *__pyx_v_dh, PyArrayObject *__pyx_v_rh);
2819 static PyObject *__pyx_pf_22ctransportCoefficients_52eikonalEquationEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rhs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH, PyArrayObject *__pyx_v_r);
2820 static PyObject *__pyx_pf_22ctransportCoefficients_54redistanceLevelSetCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH, PyArrayObject *__pyx_v_r);
2821 static PyObject *__pyx_pf_22ctransportCoefficients_56redistanceLevelSetCoefficientsWithWeakPenaltyEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_Lambda_penalty, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2822 static PyObject *__pyx_pf_22ctransportCoefficients_58redistanceLevelSetSandFCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH, PyArrayObject *__pyx_v_r);
2823 static PyObject *__pyx_pf_22ctransportCoefficients_60setWeakDirichletConditionsForLevelSet(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nElements_global,
int __pyx_v_nDOF_trial_element,
double __pyx_v_epsilon_freeze_factor, PyArrayObject *__pyx_v_elementDiameter, PyArrayObject *__pyx_v_u_l2g, PyArrayObject *__pyx_v_u_dof, PyArrayObject *__pyx_v_freeze_nodes_tmp, PyArrayObject *__pyx_v_weakDirichletConditionFlags);
2824 static PyObject *__pyx_pf_22ctransportCoefficients_62setSimpleWeakDirichletConditionsForLevelSet(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nElements_global,
int __pyx_v_nDOF_trial_element,
double __pyx_v_epsilon_freeze_factor, PyArrayObject *__pyx_v_elementDiameter, PyArrayObject *__pyx_v_u_l2g, PyArrayObject *__pyx_v_u_dof, PyArrayObject *__pyx_v_freeze_nodes_tmp, PyArrayObject *__pyx_v_weakDirichletConditionFlags);
2825 static PyObject *__pyx_pf_22ctransportCoefficients_64darcySharpInterfaceFlowEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_Km,
double __pyx_v_rhoM,
double __pyx_v_Kp,
double __pyx_v_rhoP,
double __pyx_v_eps, PyArrayObject *__pyx_v_gravity_u, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_phi_pot, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dphi_pot, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_dr, PyArrayObject *__pyx_v_dm);
2826 static PyObject *__pyx_pf_22ctransportCoefficients_66darcySharpInterfaceFlowImEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_Km,
double __pyx_v_rhoM,
double __pyx_v_Kp,
double __pyx_v_rhoP,
double __pyx_v_eps, PyArrayObject *__pyx_v_gravity_u, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_phi_pot, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dphi_pot, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_dr, PyArrayObject *__pyx_v_dm);
2827 static PyObject *__pyx_pf_22ctransportCoefficients_68NavierStokes_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2828 static PyObject *__pyx_pf_22ctransportCoefficients_70NavierStokes_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2829 static PyObject *__pyx_pf_22ctransportCoefficients_72Stokes_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2830 static PyObject *__pyx_pf_22ctransportCoefficients_74StokesP_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_p, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_p, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source);
2831 static PyObject *__pyx_pf_22ctransportCoefficients_76Stokes_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2832 static PyObject *__pyx_pf_22ctransportCoefficients_78StokesP_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
double __pyx_v_rho,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_p, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_p, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_p, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source);
2833 static PyObject *__pyx_pf_22ctransportCoefficients_80TwophaseNavierStokes_LS_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2834 static PyObject *__pyx_pf_22ctransportCoefficients_82TwophaseNavierStokes_ST_LS_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2835 static PyObject *__pyx_pf_22ctransportCoefficients_84TwophaseNavierStokes_ST_LS_SO_2D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2836 static PyObject *__pyx_pf_22ctransportCoefficients_86ThreephaseNavierStokes_ST_LS_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_boundaryPenaltyCoef,
double __pyx_v_volumePenaltyCoef,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1,
double __pyx_v_rho_s,
double __pyx_v_nu_s, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_phi_s, PyArrayObject *__pyx_v_n_s, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2837 static PyObject *__pyx_pf_22ctransportCoefficients_88TwophaseNavierStokes_ST_LS_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2838 static PyObject *__pyx_pf_22ctransportCoefficients_90TwophaseNavierStokes_ST_LS_SO_3D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2839 static PyObject *__pyx_pf_22ctransportCoefficients_92ThreephaseNavierStokes_ST_LS_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_boundaryPenaltyCoef,
double __pyx_v_volumePenaltyCoef,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1,
double __pyx_v_rho_s,
double __pyx_v_nu_s, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_phi_s, PyArrayObject *__pyx_v_n_s, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_u_source_w, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_dmom_v_source_w, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_dmom_w_source_u, PyArrayObject *__pyx_v_dmom_w_source_v, PyArrayObject *__pyx_v_dmom_w_source_w, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2840 static PyObject *__pyx_pf_22ctransportCoefficients_94TwophaseNavierStokes_LS_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2841 static PyObject *__pyx_pf_22ctransportCoefficients_96TwophaseStokes_LS_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2842 static PyObject *__pyx_pf_22ctransportCoefficients_98TwophaseStokes_LS_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2843 static PyObject *__pyx_pf_22ctransportCoefficients_100TwophaseNavierStokes_VOF_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_vof, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2844 static PyObject *__pyx_pf_22ctransportCoefficients_102TwophaseNavierStokes_VOF_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_vof, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2845 static PyObject *__pyx_pf_22ctransportCoefficients_104TwophaseStokes_VOF_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_vof, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2846 static PyObject *__pyx_pf_22ctransportCoefficients_106TwophaseStokes_VOF_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_vof, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2847 static PyObject *__pyx_pf_22ctransportCoefficients_108unitSquareVortexEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2848 static PyObject *__pyx_pf_22ctransportCoefficients_110constantVelocityLevelSetEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_b, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2849 static PyObject *__pyx_pf_22ctransportCoefficients_112constantNormalVelocityLevelSetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_b, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2850 static PyObject *__pyx_pf_22ctransportCoefficients_114unitSquareVortexLevelSetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2851 static PyObject *__pyx_pf_22ctransportCoefficients_116unitSquareRotationLevelSetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2852 static PyObject *__pyx_pf_22ctransportCoefficients_118HJBurgersEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_offset, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_dH);
2853 static PyObject *__pyx_pf_22ctransportCoefficients_120conservativeHeadRichardsMualemVanGenuchtenHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_x,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2854 static PyObject *__pyx_pf_22ctransportCoefficients_122conservativeHeadRichardsL2projMualemVanGenuchtenHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2855 static PyObject *__pyx_pf_22ctransportCoefficients_124conservativeHeadRichardsL2projBndMualemVanGenuchtenHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2856 static PyObject *__pyx_pf_22ctransportCoefficients_126conservativeHeadRichardsL2projMualemVanGenuchtenHetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2857 static PyObject *__pyx_pf_22ctransportCoefficients_128conservativeTotalHeadRichardsMualemVanGenuchtenHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_x,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2858 static PyObject *__pyx_pf_22ctransportCoefficients_130conservativeHeadRichardsMualemVanGenuchten_sd_het(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_rowptr, PyArrayObject *__pyx_v_colind, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_vol_frac,
int __pyx_v_linearize_at_zero,
double __pyx_v_pc_eps);
2859 static PyObject *__pyx_pf_22ctransportCoefficients_132conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2860 static PyObject *__pyx_pf_22ctransportCoefficients_134seepageBrezis(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_epsFact,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_elementDiameter, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2861 static PyObject *__pyx_pf_22ctransportCoefficients_136conservativeHeadRichardsMualemVanGenuchtenHetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2862 static PyObject *__pyx_pf_22ctransportCoefficients_138conservativeSatRichardsMualemVanGenuchtenHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_x,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2863 static PyObject *__pyx_pf_22ctransportCoefficients_140conservativeHeadRichardsBrooksCoreyBurdineHetEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_Lambda, PyArrayObject *__pyx_v_pd, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaS, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2864 static PyObject *__pyx_pf_22ctransportCoefficients_142conservativeHeadRichardsBrooksCoreyBurdineHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity,
double __pyx_v_Lambda,
double __pyx_v_pd,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2865 static PyObject *__pyx_pf_22ctransportCoefficients_144conservativeSatRichardsBrooksCoreyBurdineHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
int __pyx_v_nSpace,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity,
double __pyx_v_Lambda,
double __pyx_v_pd,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_dphi);
2866 static PyObject *__pyx_pf_22ctransportCoefficients_146conservativeHeadRichardsBCBfromMVGHomEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_gravity,
double __pyx_v_alpha,
double __pyx_v_n,
double __pyx_v_m,
double __pyx_v_thetaR,
double __pyx_v_thetaSR,
double __pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2867 static PyObject *__pyx_pf_22ctransportCoefficients_148LinearElasticity_1D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_u_force);
2868 static PyObject *__pyx_pf_22ctransportCoefficients_150LinearElasticity_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_uv_diff_ten, PyArrayObject *__pyx_v_vu_diff_ten, PyArrayObject *__pyx_v_vv_diff_ten, PyArrayObject *__pyx_v_u_force, PyArrayObject *__pyx_v_v_force);
2869 static PyObject *__pyx_pf_22ctransportCoefficients_152LinearElasticity_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_uv_diff_ten, PyArrayObject *__pyx_v_uw_diff_ten, PyArrayObject *__pyx_v_vu_diff_ten, PyArrayObject *__pyx_v_vv_diff_ten, PyArrayObject *__pyx_v_vw_diff_ten, PyArrayObject *__pyx_v_wu_diff_ten, PyArrayObject *__pyx_v_wv_diff_ten, PyArrayObject *__pyx_v_ww_diff_ten, PyArrayObject *__pyx_v_u_force, PyArrayObject *__pyx_v_v_force, PyArrayObject *__pyx_v_w_force);
2870 static PyObject *__pyx_pf_22ctransportCoefficients_154MovingMesh_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E0,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_det_J, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_uv_diff_ten, PyArrayObject *__pyx_v_vu_diff_ten, PyArrayObject *__pyx_v_vv_diff_ten, PyArrayObject *__pyx_v_u_force, PyArrayObject *__pyx_v_v_force);
2871 static PyObject *__pyx_pf_22ctransportCoefficients_156MovingMesh_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E0,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_det_J, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_uv_diff_ten, PyArrayObject *__pyx_v_uw_diff_ten, PyArrayObject *__pyx_v_vu_diff_ten, PyArrayObject *__pyx_v_vv_diff_ten, PyArrayObject *__pyx_v_vw_diff_ten, PyArrayObject *__pyx_v_wu_diff_ten, PyArrayObject *__pyx_v_wv_diff_ten, PyArrayObject *__pyx_v_ww_diff_ten, PyArrayObject *__pyx_v_u_force, PyArrayObject *__pyx_v_v_force, PyArrayObject *__pyx_v_w_force);
2872 static PyObject *__pyx_pf_22ctransportCoefficients_158MovingMesh_1D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_E0,
double __pyx_v_nu, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_det_J, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_uu_diff_ten, PyArrayObject *__pyx_v_u_force);
2873 static PyObject *__pyx_pf_22ctransportCoefficients_160levelSetConservationCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_epsHeaviside,
double __pyx_v_epsDirac,
double __pyx_v_epsDiffusion, PyArrayObject *__pyx_v_u_ls, PyArrayObject *__pyx_v_H_vof, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr, PyArrayObject *__pyx_v_a);
2874 static PyObject *__pyx_pf_22ctransportCoefficients_162levelSetConservationCoefficientsEvaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_epsHeaviside,
double __pyx_v_epsDirac, PyArrayObject *__pyx_v_u_ls, PyArrayObject *__pyx_v_H_vof, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr);
2875 static PyObject *__pyx_pf_22ctransportCoefficients_164evaluateBuckleyLeverettLiuExample(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a);
2876 static PyObject *__pyx_pf_22ctransportCoefficients_166VolumeAveragedNavierStokesFullDevStress_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_mu, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2877 static PyObject *__pyx_pf_22ctransportCoefficients_168VolumeAveragedNavierStokesFullDevStress_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_mu, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_u_source_w, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_dmom_v_source_w, PyArrayObject *__pyx_v_dmom_w_source_u, PyArrayObject *__pyx_v_dmom_w_source_v, PyArrayObject *__pyx_v_dmom_w_source_w, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2878 static PyObject *__pyx_pf_22ctransportCoefficients_170VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_killNonlinearDrag,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2879 static PyObject *__pyx_pf_22ctransportCoefficients_172VolumeAveragedTwophaseNavierStokes_ST_LS_SO_2D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_killNonlinearDrag,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p);
2880 static PyObject *__pyx_pf_22ctransportCoefficients_174VolumeAveragedTwophaseNavierStokes_ST_LS_SO_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_killNonlinearDrag,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_u_source_w, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_dmom_v_source_w, PyArrayObject *__pyx_v_dmom_w_source_u, PyArrayObject *__pyx_v_dmom_w_source_v, PyArrayObject *__pyx_v_dmom_w_source_w, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2881 static PyObject *__pyx_pf_22ctransportCoefficients_176VolumeAveragedTwophaseNavierStokes_ST_LS_SO_3D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_killNonlinearDrag,
double __pyx_v_eps_rho,
double __pyx_v_eps_mu,
double __pyx_v_sigma,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_meanGrainSize, PyArrayObject *__pyx_v_g, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n, PyArrayObject *__pyx_v_kappa, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_grad_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_w_acc_w, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_dmass_adv_w, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_dmom_u_adv_w, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v, PyArrayObject *__pyx_v_dmom_v_adv_w, PyArrayObject *__pyx_v_mom_w_adv, PyArrayObject *__pyx_v_dmom_w_adv_u, PyArrayObject *__pyx_v_dmom_w_adv_v, PyArrayObject *__pyx_v_dmom_w_adv_w, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source, PyArrayObject *__pyx_v_dmom_u_source_u, PyArrayObject *__pyx_v_dmom_u_source_v, PyArrayObject *__pyx_v_dmom_u_source_w, PyArrayObject *__pyx_v_dmom_v_source_u, PyArrayObject *__pyx_v_dmom_v_source_v, PyArrayObject *__pyx_v_dmom_v_source_w, PyArrayObject *__pyx_v_dmom_w_source_u, PyArrayObject *__pyx_v_dmom_w_source_v, PyArrayObject *__pyx_v_dmom_w_source_w, PyArrayObject *__pyx_v_mom_u_ham, PyArrayObject *__pyx_v_dmom_u_ham_grad_p, PyArrayObject *__pyx_v_mom_v_ham, PyArrayObject *__pyx_v_dmom_v_ham_grad_p, PyArrayObject *__pyx_v_mom_w_ham, PyArrayObject *__pyx_v_dmom_w_ham_grad_p);
2882 static PyObject *__pyx_pf_22ctransportCoefficients_178VolumeAveragedVOFCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_porosity, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df);
2883 static PyObject *__pyx_pf_22ctransportCoefficients_180kEpsilon_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_da_k_de, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_dk, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk, PyArrayObject *__pyx_v_dr_k_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dk, PyArrayObject *__pyx_v_dr_e_de);
2884 static PyObject *__pyx_pf_22ctransportCoefficients_182kEpsilon_2D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_da_k_de, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_dk, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk, PyArrayObject *__pyx_v_dr_k_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dk, PyArrayObject *__pyx_v_dr_e_de);
2885 static PyObject *__pyx_pf_22ctransportCoefficients_184kEpsilon_3D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_gradw, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_da_k_de, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_dk, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk, PyArrayObject *__pyx_v_dr_k_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dk, PyArrayObject *__pyx_v_dr_e_de);
2886 static PyObject *__pyx_pf_22ctransportCoefficients_186kEpsilon_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_gradw, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_da_k_de, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_dk, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk, PyArrayObject *__pyx_v_dr_k_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dk, PyArrayObject *__pyx_v_dr_e_de);
2887 static PyObject *__pyx_pf_22ctransportCoefficients_188kEpsilon_k_2D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_c_mu,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk);
2888 static PyObject *__pyx_pf_22ctransportCoefficients_190kEpsilon_epsilon_2D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_de);
2889 static PyObject *__pyx_pf_22ctransportCoefficients_192kEpsilon_k_3D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_k,
double __pyx_v_c_mu,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_gradw, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_k, PyArrayObject *__pyx_v_dm_k, PyArrayObject *__pyx_v_phi_k, PyArrayObject *__pyx_v_dphi_k, PyArrayObject *__pyx_v_f_k, PyArrayObject *__pyx_v_df_k, PyArrayObject *__pyx_v_a_k, PyArrayObject *__pyx_v_da_k_dk, PyArrayObject *__pyx_v_r_k, PyArrayObject *__pyx_v_dr_k_dk);
2890 static PyObject *__pyx_pf_22ctransportCoefficients_194kEpsilon_epsilon_3D_Evaluate_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_sigma_e,
double __pyx_v_c_1,
double __pyx_v_c_2,
double __pyx_v_c_mu,
double __pyx_v_c_e,
double __pyx_v_nu, PyArrayObject *__pyx_v_velocity, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_gradv, PyArrayObject *__pyx_v_gradw, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_phi_e, PyArrayObject *__pyx_v_dphi_e, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_da_e_de, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_de);
2891 static PyObject *__pyx_pf_22ctransportCoefficients_196ReynoldsAveragedNavierStokes_kEpsilon_2D_Update(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_nu,
double __pyx_v_c_mu, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_grad_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source);
2892 static PyObject *__pyx_pf_22ctransportCoefficients_198ReynoldsAveragedNavierStokes_kEpsilon_2D_Update_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho,
double __pyx_v_nu,
double __pyx_v_c_mu, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_grad_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source);
2893 static PyObject *__pyx_pf_22ctransportCoefficients_200ReynoldsAveragedNavierStokes_kEpsilon_3D_Update(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_nu,
double __pyx_v_c_mu, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_grad_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source);
2894 static PyObject *__pyx_pf_22ctransportCoefficients_202ReynoldsAveragedNavierStokes_kEpsilon_3D_Update_sd(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_nu,
double __pyx_v_c_mu, PyArrayObject *__pyx_v_k, PyArrayObject *__pyx_v_grad_k, PyArrayObject *__pyx_v_epsilon, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_mom_w_source);
2895 static PyObject *__pyx_pf_22ctransportCoefficients_204scriptedSphereMotionSignedDistance(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_t, PyArrayObject *__pyx_v_radii, PyArrayObject *__pyx_v_centers, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_n);
2896 static PyObject *__pyx_pf_22ctransportCoefficients_206shallowWater_1D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_h_eps,
double __pyx_v_g,
double __pyx_v_bedFrictionCoefficient,
double __pyx_v_bedFrictionPower,
double __pyx_v_eddyViscosity, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_db_dx, PyArrayObject *__pyx_v_h, PyArrayObject *__pyx_v_hu, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_mass_acc, PyArrayObject *__pyx_v_dmass_acc_dh, PyArrayObject *__pyx_v_mom_acc, PyArrayObject *__pyx_v_dmom_acc_dhu, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_dhu, PyArrayObject *__pyx_v_mom_adv, PyArrayObject *__pyx_v_dmom_adv_dh, PyArrayObject *__pyx_v_dmom_adv_dhu, PyArrayObject *__pyx_v_mom_source, PyArrayObject *__pyx_v_dmom_source_dh, PyArrayObject *__pyx_v_dmom_source_dhu, PyArrayObject *__pyx_v_mom_diff);
2897 static PyObject *__pyx_pf_22ctransportCoefficients_208shallowWater_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_h_eps,
double __pyx_v_g,
double __pyx_v_bedFrictionCoefficient,
double __pyx_v_bedFrictionPower,
double __pyx_v_eddyViscosity, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_grad_b, PyArrayObject *__pyx_v_h, PyArrayObject *__pyx_v_hu, PyArrayObject *__pyx_v_hv, PyArrayObject *__pyx_v_H, PyArrayObject *__pyx_v_mass_acc, PyArrayObject *__pyx_v_dmass_acc_dh, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_dmom_u_acc_dhu, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_v_acc_dhv, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_dhu, PyArrayObject *__pyx_v_dmass_adv_dhv, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_dh, PyArrayObject *__pyx_v_dmom_u_adv_dhu, PyArrayObject *__pyx_v_dmom_u_adv_dhv, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_dh, PyArrayObject *__pyx_v_dmom_v_adv_dhu, PyArrayObject *__pyx_v_dmom_v_adv_dhv, PyArrayObject *__pyx_v_mom_u_diff, PyArrayObject *__pyx_v_mom_v_diff, PyArrayObject *__pyx_v_mom_u_source, PyArrayObject *__pyx_v_dmom_u_source_dh, PyArrayObject *__pyx_v_dmom_u_source_dhu, PyArrayObject *__pyx_v_dmom_u_source_dhv, PyArrayObject *__pyx_v_mom_v_source, PyArrayObject *__pyx_v_dmom_v_source_dh, PyArrayObject *__pyx_v_dmom_v_source_dhu, PyArrayObject *__pyx_v_dmom_v_source_dhv);
2898 static PyObject *__pyx_pf_22ctransportCoefficients_210conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwind(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_upwindFlag,
int __pyx_v_computeAverages,
int __pyx_v_nQuadraturePoints_elementBoundary, PyArrayObject *__pyx_v_elementBoundaryElementsArray, PyArrayObject *__pyx_v_quadraturePointToElementBoundary, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n_vg, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_n_global, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f_avg, PyArrayObject *__pyx_v_df_avg, PyArrayObject *__pyx_v_a_avg, PyArrayObject *__pyx_v_da_avg, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2899 static PyObject *__pyx_pf_22ctransportCoefficients_212conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwindAndHarm(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_upwindFlag,
int __pyx_v_computeAverages,
int __pyx_v_nQuadraturePoints_elementBoundary, PyArrayObject *__pyx_v_elementBoundaryElementsArray, PyArrayObject *__pyx_v_quadraturePointToElementBoundary, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n_vg, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_n_global, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f_avg, PyArrayObject *__pyx_v_df_avg, PyArrayObject *__pyx_v_a_avg, PyArrayObject *__pyx_v_da_avg, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2900 static PyObject *__pyx_pf_22ctransportCoefficients_214conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2withUpwindAndHarm_sd(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_upwindFlag,
int __pyx_v_computeAverages,
int __pyx_v_nQuadraturePoints_elementBoundary, PyArrayObject *__pyx_v_rowptr, PyArrayObject *__pyx_v_colind, PyArrayObject *__pyx_v_elementBoundaryElementsArray, PyArrayObject *__pyx_v_quadraturePointToElementBoundary, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_alpha, PyArrayObject *__pyx_v_n_vg, PyArrayObject *__pyx_v_thetaR, PyArrayObject *__pyx_v_thetaSR, PyArrayObject *__pyx_v_KWs, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_gradu, PyArrayObject *__pyx_v_n_global, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f_avg, PyArrayObject *__pyx_v_df_avg, PyArrayObject *__pyx_v_a_avg, PyArrayObject *__pyx_v_da_avg, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2901 static PyObject *__pyx_pf_22ctransportCoefficients_216applyContactLineSlip(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_isDOFBoundary, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_advectiveFlux, PyArrayObject *__pyx_v_diffusiveFlux);
2902 static PyObject *__pyx_pf_22ctransportCoefficients_218applyContactLineSlipJacobian(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps, PyArrayObject *__pyx_v_isDOFBoundary, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_fluxJacobian);
2903 static PyObject *__pyx_pf_22ctransportCoefficients_220calculateEddyViscosity_Smagorinsky_2D(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_smagorinskyConstant, PyArrayObject *__pyx_v_h_e, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_grad_v, PyArrayObject *__pyx_v_nu_t);
2904 static PyObject *__pyx_pf_22ctransportCoefficients_222calculateEddyViscosity_Smagorinsky_3D(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_smagorinskyConstant, PyArrayObject *__pyx_v_h_e, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_grad_v, PyArrayObject *__pyx_v_grad_w, PyArrayObject *__pyx_v_nu_t);
2905 static PyObject *__pyx_pf_22ctransportCoefficients_224calculateEddyViscosity_Smagorinsky2P_2D(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_smagorinskyConstant_0,
double __pyx_v_smagorinskyConstant_1,
double __pyx_v_eps, PyArrayObject *__pyx_v_phi_ls, PyArrayObject *__pyx_v_h_e, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_grad_v, PyArrayObject *__pyx_v_nu_t);
2906 static PyObject *__pyx_pf_22ctransportCoefficients_226calculateEddyViscosity_Smagorinsky2P_3D(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_smagorinskyConstant_0,
double __pyx_v_smagorinskyConstant_1,
double __pyx_v_eps, PyArrayObject *__pyx_v_phi_ls, PyArrayObject *__pyx_v_h_e, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_grad_v, PyArrayObject *__pyx_v_grad_w, PyArrayObject *__pyx_v_nu_t);
2907 static PyObject *__pyx_pf_22ctransportCoefficients_228eddyViscosity_2D_Update(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_nu_t, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten);
2908 static PyObject *__pyx_pf_22ctransportCoefficients_230eddyViscosity_2D_Update_sd(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_nu_t, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten);
2909 static PyObject *__pyx_pf_22ctransportCoefficients_232eddyViscosity_3D_Update(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_nu_t, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten);
2910 static PyObject *__pyx_pf_22ctransportCoefficients_234eddyViscosity_3D_Update_sd(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_nu_t, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten, PyArrayObject *__pyx_v_mom_uv_diff_ten, PyArrayObject *__pyx_v_mom_uw_diff_ten, PyArrayObject *__pyx_v_mom_vu_diff_ten, PyArrayObject *__pyx_v_mom_vw_diff_ten, PyArrayObject *__pyx_v_mom_wu_diff_ten, PyArrayObject *__pyx_v_mom_wv_diff_ten);
2911 static PyObject *__pyx_pf_22ctransportCoefficients_236calculateWaveFunction3d_ref(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_mesh_trial_ref, PyArrayObject *__pyx_v_mesh_dof, PyArrayObject *__pyx_v_mesh_l2g, PyArrayObject *__pyx_v_elementDiametersArray, PyArrayObject *__pyx_v_omega_s_x, PyArrayObject *__pyx_v_omega_s_y, PyArrayObject *__pyx_v_omega_s_z,
double __pyx_v_t,
int __pyx_v_waveFlag,
double __pyx_v_epsFact,
double __pyx_v_waveHeight,
double __pyx_v_waveCelerity,
double __pyx_v_waveFrequency,
double __pyx_v_waveNumber,
double __pyx_v_waterDepth, PyArrayObject *__pyx_v_source);
2912 static PyObject *__pyx_pf_22ctransportCoefficients_238Mass_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mom_p_acc, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_dmom_p_acc_p, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_dmom_v_acc_v);
2913 static PyObject *__pyx_pf_22ctransportCoefficients_240Mass_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_rho, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_p_acc, PyArrayObject *__pyx_v_mom_u_acc, PyArrayObject *__pyx_v_mom_v_acc, PyArrayObject *__pyx_v_mom_w_acc, PyArrayObject *__pyx_v_dmom_p_acc_p, PyArrayObject *__pyx_v_dmom_u_acc_u, PyArrayObject *__pyx_v_dmom_v_acc_v, PyArrayObject *__pyx_v_dmom_w_acc_w);
2914 static PyObject *__pyx_pf_22ctransportCoefficients_242TwoPhaseAdvection_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_rho_0,
double __pyx_v_nu_0,
double __pyx_v_rho_1,
double __pyx_v_nu_1, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_p, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_mass_adv, PyArrayObject *__pyx_v_dmass_adv_p, PyArrayObject *__pyx_v_dmass_adv_u, PyArrayObject *__pyx_v_dmass_adv_v, PyArrayObject *__pyx_v_mom_u_adv, PyArrayObject *__pyx_v_dmom_u_adv_u, PyArrayObject *__pyx_v_dmom_u_adv_v, PyArrayObject *__pyx_v_mom_v_adv, PyArrayObject *__pyx_v_dmom_v_adv_u, PyArrayObject *__pyx_v_dmom_v_adv_v);
2915 static PyObject *__pyx_pf_22ctransportCoefficients_244twophaseSignedDistanceUpdateSignFunction(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nPoints,
double __pyx_v_eps, PyArrayObject *__pyx_v_u_levelSet, PyArrayObject *__pyx_v_S);
2916 static PyObject *__pyx_pf_22ctransportCoefficients_246Laplace_2D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_p, CYTHON_UNUSED PyArrayObject *__pyx_v_u, CYTHON_UNUSED PyArrayObject *__pyx_v_v, CYTHON_UNUSED PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_p_diff_ten, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten);
2917 static PyObject *__pyx_pf_22ctransportCoefficients_248Laplace_3D_Evaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_p, CYTHON_UNUSED PyArrayObject *__pyx_v_u, CYTHON_UNUSED PyArrayObject *__pyx_v_v, CYTHON_UNUSED PyArrayObject *__pyx_v_w, PyArrayObject *__pyx_v_mom_p_diff_ten, PyArrayObject *__pyx_v_mom_u_diff_ten, PyArrayObject *__pyx_v_mom_v_diff_ten, PyArrayObject *__pyx_v_mom_w_diff_ten);
2918 static PyObject *__pyx_pf_22ctransportCoefficients_250l2projectScalar(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nSimplices,
int __pyx_v_nPointsPerSimplex, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_r);
2919 static PyObject *__pyx_pf_22ctransportCoefficients_252l2projectVector(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nSimplices,
int __pyx_v_nPointsPerSimplex,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_r);
2920 static PyObject *__pyx_pf_22ctransportCoefficients_254l2project2Tensor(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nSimplices,
int __pyx_v_nPointsPerSimplex,
int __pyx_v_nSpace, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_r);
2921 static PyObject *__pyx_pf_22ctransportCoefficients_256L2projectEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_rank, PyArrayObject *__pyx_v_dV, PyArrayObject *__pyx_v_r);
2922 static PyObject *__pyx_pf_22ctransportCoefficients_258conservativeHeadRichardsJLeverettEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_psiD, PyArrayObject *__pyx_v_ns, PyArrayObject *__pyx_v_nk, PyArrayObject *__pyx_v_S_wirr, PyArrayObject *__pyx_v_S_nwr, PyArrayObject *__pyx_v_kr0, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2923 static PyObject *__pyx_pf_22ctransportCoefficients_260conservativeHeadRichardsJLeverettAniEvaluate(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_materialTypes,
double __pyx_v_rho,
double __pyx_v_beta, PyArrayObject *__pyx_v_gravity, PyArrayObject *__pyx_v_phi, PyArrayObject *__pyx_v_psiD, PyArrayObject *__pyx_v_ns, PyArrayObject *__pyx_v_nk, PyArrayObject *__pyx_v_S_wirr, PyArrayObject *__pyx_v_S_nwr, PyArrayObject *__pyx_v_kr0x, PyArrayObject *__pyx_v_kr0y, PyArrayObject *__pyx_v_kr0z, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_mass, PyArrayObject *__pyx_v_dmass, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2924 static PyObject *__pyx_pf_22ctransportCoefficients_262diffusiveWave1DCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_alpha,
double __pyx_v_gamma,
double __pyx_v_epsilon, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2925 static PyObject *__pyx_pf_22ctransportCoefficients_264diffusiveWave2DCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
int __pyx_v_nd,
double __pyx_v_alpha,
double __pyx_v_gamma,
double __pyx_v_epsilon, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_grad_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_da);
2926 static PyObject *__pyx_pf_22ctransportCoefficients_266smoothedHeaviside(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_phi);
2927 static PyObject *__pyx_pf_22ctransportCoefficients_268smoothedHeaviside_integral(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_phi);
2928 static PyObject *__pyx_pf_22ctransportCoefficients_270smoothedDirac(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_eps,
double __pyx_v_phi);
2929 static PyObject *__pyx_tuple_;
2930 static PyObject *__pyx_tuple__2;
2931 static PyObject *__pyx_tuple__3;
2932 static PyObject *__pyx_tuple__5;
2933 static PyObject *__pyx_tuple__7;
2934 static PyObject *__pyx_tuple__9;
2935 static PyObject *__pyx_tuple__11;
2936 static PyObject *__pyx_tuple__13;
2937 static PyObject *__pyx_tuple__15;
2938 static PyObject *__pyx_tuple__17;
2939 static PyObject *__pyx_tuple__19;
2940 static PyObject *__pyx_tuple__21;
2941 static PyObject *__pyx_tuple__23;
2942 static PyObject *__pyx_tuple__25;
2943 static PyObject *__pyx_tuple__27;
2944 static PyObject *__pyx_tuple__29;
2945 static PyObject *__pyx_tuple__31;
2946 static PyObject *__pyx_tuple__33;
2947 static PyObject *__pyx_tuple__35;
2948 static PyObject *__pyx_tuple__37;
2949 static PyObject *__pyx_tuple__39;
2950 static PyObject *__pyx_tuple__41;
2951 static PyObject *__pyx_tuple__43;
2952 static PyObject *__pyx_tuple__45;
2953 static PyObject *__pyx_tuple__47;
2954 static PyObject *__pyx_tuple__49;
2955 static PyObject *__pyx_tuple__51;
2956 static PyObject *__pyx_tuple__53;
2957 static PyObject *__pyx_tuple__55;
2958 static PyObject *__pyx_tuple__57;
2959 static PyObject *__pyx_tuple__59;
2960 static PyObject *__pyx_tuple__61;
2961 static PyObject *__pyx_tuple__63;
2962 static PyObject *__pyx_tuple__65;
2963 static PyObject *__pyx_tuple__67;
2964 static PyObject *__pyx_tuple__69;
2965 static PyObject *__pyx_tuple__71;
2966 static PyObject *__pyx_tuple__73;
2967 static PyObject *__pyx_tuple__75;
2968 static PyObject *__pyx_tuple__77;
2969 static PyObject *__pyx_tuple__79;
2970 static PyObject *__pyx_tuple__81;
2971 static PyObject *__pyx_tuple__83;
2972 static PyObject *__pyx_tuple__85;
2973 static PyObject *__pyx_tuple__87;
2974 static PyObject *__pyx_tuple__89;
2975 static PyObject *__pyx_tuple__91;
2976 static PyObject *__pyx_tuple__93;
2977 static PyObject *__pyx_tuple__95;
2978 static PyObject *__pyx_tuple__97;
2979 static PyObject *__pyx_tuple__99;
2980 static PyObject *__pyx_codeobj__4;
2981 static PyObject *__pyx_codeobj__6;
2982 static PyObject *__pyx_codeobj__8;
2983 static PyObject *__pyx_tuple__101;
2984 static PyObject *__pyx_tuple__103;
2985 static PyObject *__pyx_tuple__105;
2986 static PyObject *__pyx_tuple__107;
2987 static PyObject *__pyx_tuple__109;
2988 static PyObject *__pyx_tuple__111;
2989 static PyObject *__pyx_tuple__113;
2990 static PyObject *__pyx_tuple__115;
2991 static PyObject *__pyx_tuple__117;
2992 static PyObject *__pyx_tuple__119;
2993 static PyObject *__pyx_tuple__121;
2994 static PyObject *__pyx_tuple__123;
2995 static PyObject *__pyx_tuple__125;
2996 static PyObject *__pyx_tuple__127;
2997 static PyObject *__pyx_tuple__129;
2998 static PyObject *__pyx_tuple__131;
2999 static PyObject *__pyx_tuple__133;
3000 static PyObject *__pyx_tuple__135;
3001 static PyObject *__pyx_tuple__137;
3002 static PyObject *__pyx_tuple__139;
3003 static PyObject *__pyx_tuple__141;
3004 static PyObject *__pyx_tuple__143;
3005 static PyObject *__pyx_tuple__145;
3006 static PyObject *__pyx_tuple__147;
3007 static PyObject *__pyx_tuple__149;
3008 static PyObject *__pyx_tuple__151;
3009 static PyObject *__pyx_tuple__153;
3010 static PyObject *__pyx_tuple__155;
3011 static PyObject *__pyx_tuple__157;
3012 static PyObject *__pyx_tuple__159;
3013 static PyObject *__pyx_tuple__161;
3014 static PyObject *__pyx_tuple__163;
3015 static PyObject *__pyx_tuple__165;
3016 static PyObject *__pyx_tuple__167;
3017 static PyObject *__pyx_tuple__169;
3018 static PyObject *__pyx_tuple__171;
3019 static PyObject *__pyx_tuple__173;
3020 static PyObject *__pyx_tuple__175;
3021 static PyObject *__pyx_tuple__177;
3022 static PyObject *__pyx_tuple__179;
3023 static PyObject *__pyx_tuple__181;
3024 static PyObject *__pyx_tuple__183;
3025 static PyObject *__pyx_tuple__185;
3026 static PyObject *__pyx_tuple__187;
3027 static PyObject *__pyx_tuple__189;
3028 static PyObject *__pyx_tuple__191;
3029 static PyObject *__pyx_tuple__193;
3030 static PyObject *__pyx_tuple__195;
3031 static PyObject *__pyx_tuple__197;
3032 static PyObject *__pyx_tuple__199;
3033 static PyObject *__pyx_tuple__201;
3034 static PyObject *__pyx_tuple__203;
3035 static PyObject *__pyx_tuple__205;
3036 static PyObject *__pyx_tuple__207;
3037 static PyObject *__pyx_tuple__209;
3038 static PyObject *__pyx_tuple__211;
3039 static PyObject *__pyx_tuple__213;
3040 static PyObject *__pyx_tuple__215;
3041 static PyObject *__pyx_tuple__217;
3042 static PyObject *__pyx_tuple__219;
3043 static PyObject *__pyx_tuple__221;
3044 static PyObject *__pyx_tuple__223;
3045 static PyObject *__pyx_tuple__225;
3046 static PyObject *__pyx_tuple__227;
3047 static PyObject *__pyx_tuple__229;
3048 static PyObject *__pyx_tuple__231;
3049 static PyObject *__pyx_tuple__233;
3050 static PyObject *__pyx_tuple__235;
3051 static PyObject *__pyx_tuple__237;
3052 static PyObject *__pyx_tuple__239;
3053 static PyObject *__pyx_tuple__241;
3054 static PyObject *__pyx_tuple__243;
3055 static PyObject *__pyx_tuple__245;
3056 static PyObject *__pyx_tuple__247;
3057 static PyObject *__pyx_tuple__249;
3058 static PyObject *__pyx_tuple__251;
3059 static PyObject *__pyx_tuple__253;
3060 static PyObject *__pyx_tuple__255;
3061 static PyObject *__pyx_tuple__257;
3062 static PyObject *__pyx_tuple__259;
3063 static PyObject *__pyx_tuple__261;
3064 static PyObject *__pyx_tuple__263;
3065 static PyObject *__pyx_tuple__265;
3066 static PyObject *__pyx_tuple__267;
3067 static PyObject *__pyx_tuple__269;
3068 static PyObject *__pyx_tuple__271;
3069 static PyObject *__pyx_tuple__273;
3070 static PyObject *__pyx_codeobj__10;
3071 static PyObject *__pyx_codeobj__12;
3072 static PyObject *__pyx_codeobj__14;
3073 static PyObject *__pyx_codeobj__16;
3074 static PyObject *__pyx_codeobj__18;
3075 static PyObject *__pyx_codeobj__20;
3076 static PyObject *__pyx_codeobj__22;
3077 static PyObject *__pyx_codeobj__24;
3078 static PyObject *__pyx_codeobj__26;
3079 static PyObject *__pyx_codeobj__28;
3080 static PyObject *__pyx_codeobj__30;
3081 static PyObject *__pyx_codeobj__32;
3082 static PyObject *__pyx_codeobj__34;
3083 static PyObject *__pyx_codeobj__36;
3084 static PyObject *__pyx_codeobj__38;
3085 static PyObject *__pyx_codeobj__40;
3086 static PyObject *__pyx_codeobj__42;
3087 static PyObject *__pyx_codeobj__44;
3088 static PyObject *__pyx_codeobj__46;
3089 static PyObject *__pyx_codeobj__48;
3090 static PyObject *__pyx_codeobj__50;
3091 static PyObject *__pyx_codeobj__52;
3092 static PyObject *__pyx_codeobj__54;
3093 static PyObject *__pyx_codeobj__56;
3094 static PyObject *__pyx_codeobj__58;
3095 static PyObject *__pyx_codeobj__60;
3096 static PyObject *__pyx_codeobj__62;
3097 static PyObject *__pyx_codeobj__64;
3098 static PyObject *__pyx_codeobj__66;
3099 static PyObject *__pyx_codeobj__68;
3100 static PyObject *__pyx_codeobj__70;
3101 static PyObject *__pyx_codeobj__72;
3102 static PyObject *__pyx_codeobj__74;
3103 static PyObject *__pyx_codeobj__76;
3104 static PyObject *__pyx_codeobj__78;
3105 static PyObject *__pyx_codeobj__80;
3106 static PyObject *__pyx_codeobj__82;
3107 static PyObject *__pyx_codeobj__84;
3108 static PyObject *__pyx_codeobj__86;
3109 static PyObject *__pyx_codeobj__88;
3110 static PyObject *__pyx_codeobj__90;
3111 static PyObject *__pyx_codeobj__92;
3112 static PyObject *__pyx_codeobj__94;
3113 static PyObject *__pyx_codeobj__96;
3114 static PyObject *__pyx_codeobj__98;
3115 static PyObject *__pyx_codeobj__100;
3116 static PyObject *__pyx_codeobj__102;
3117 static PyObject *__pyx_codeobj__104;
3118 static PyObject *__pyx_codeobj__106;
3119 static PyObject *__pyx_codeobj__108;
3120 static PyObject *__pyx_codeobj__110;
3121 static PyObject *__pyx_codeobj__112;
3122 static PyObject *__pyx_codeobj__114;
3123 static PyObject *__pyx_codeobj__116;
3124 static PyObject *__pyx_codeobj__118;
3125 static PyObject *__pyx_codeobj__120;
3126 static PyObject *__pyx_codeobj__122;
3127 static PyObject *__pyx_codeobj__124;
3128 static PyObject *__pyx_codeobj__126;
3129 static PyObject *__pyx_codeobj__128;
3130 static PyObject *__pyx_codeobj__130;
3131 static PyObject *__pyx_codeobj__132;
3132 static PyObject *__pyx_codeobj__134;
3133 static PyObject *__pyx_codeobj__136;
3134 static PyObject *__pyx_codeobj__138;
3135 static PyObject *__pyx_codeobj__140;
3136 static PyObject *__pyx_codeobj__142;
3137 static PyObject *__pyx_codeobj__144;
3138 static PyObject *__pyx_codeobj__146;
3139 static PyObject *__pyx_codeobj__148;
3140 static PyObject *__pyx_codeobj__150;
3141 static PyObject *__pyx_codeobj__152;
3142 static PyObject *__pyx_codeobj__154;
3143 static PyObject *__pyx_codeobj__156;
3144 static PyObject *__pyx_codeobj__158;
3145 static PyObject *__pyx_codeobj__160;
3146 static PyObject *__pyx_codeobj__162;
3147 static PyObject *__pyx_codeobj__164;
3148 static PyObject *__pyx_codeobj__166;
3149 static PyObject *__pyx_codeobj__168;
3150 static PyObject *__pyx_codeobj__170;
3151 static PyObject *__pyx_codeobj__172;
3152 static PyObject *__pyx_codeobj__174;
3153 static PyObject *__pyx_codeobj__176;
3154 static PyObject *__pyx_codeobj__178;
3155 static PyObject *__pyx_codeobj__180;
3156 static PyObject *__pyx_codeobj__182;
3157 static PyObject *__pyx_codeobj__184;
3158 static PyObject *__pyx_codeobj__186;
3159 static PyObject *__pyx_codeobj__188;
3160 static PyObject *__pyx_codeobj__190;
3161 static PyObject *__pyx_codeobj__192;
3162 static PyObject *__pyx_codeobj__194;
3163 static PyObject *__pyx_codeobj__196;
3164 static PyObject *__pyx_codeobj__198;
3165 static PyObject *__pyx_codeobj__200;
3166 static PyObject *__pyx_codeobj__202;
3167 static PyObject *__pyx_codeobj__204;
3168 static PyObject *__pyx_codeobj__206;
3169 static PyObject *__pyx_codeobj__208;
3170 static PyObject *__pyx_codeobj__210;
3171 static PyObject *__pyx_codeobj__212;
3172 static PyObject *__pyx_codeobj__214;
3173 static PyObject *__pyx_codeobj__216;
3174 static PyObject *__pyx_codeobj__218;
3175 static PyObject *__pyx_codeobj__220;
3176 static PyObject *__pyx_codeobj__222;
3177 static PyObject *__pyx_codeobj__224;
3178 static PyObject *__pyx_codeobj__226;
3179 static PyObject *__pyx_codeobj__228;
3180 static PyObject *__pyx_codeobj__230;
3181 static PyObject *__pyx_codeobj__232;
3182 static PyObject *__pyx_codeobj__234;
3183 static PyObject *__pyx_codeobj__236;
3184 static PyObject *__pyx_codeobj__238;
3185 static PyObject *__pyx_codeobj__240;
3186 static PyObject *__pyx_codeobj__242;
3187 static PyObject *__pyx_codeobj__244;
3188 static PyObject *__pyx_codeobj__246;
3189 static PyObject *__pyx_codeobj__248;
3190 static PyObject *__pyx_codeobj__250;
3191 static PyObject *__pyx_codeobj__252;
3192 static PyObject *__pyx_codeobj__254;
3193 static PyObject *__pyx_codeobj__256;
3194 static PyObject *__pyx_codeobj__258;
3195 static PyObject *__pyx_codeobj__260;
3196 static PyObject *__pyx_codeobj__262;
3197 static PyObject *__pyx_codeobj__264;
3198 static PyObject *__pyx_codeobj__266;
3199 static PyObject *__pyx_codeobj__268;
3200 static PyObject *__pyx_codeobj__270;
3201 static PyObject *__pyx_codeobj__272;
3202 static PyObject *__pyx_codeobj__274;
3214 static PyObject *__pyx_pw_22ctransportCoefficients_1linearADR_ConstantCoefficientsEvaluate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
3215 static PyMethodDef __pyx_mdef_22ctransportCoefficients_1linearADR_ConstantCoefficientsEvaluate = {
"linearADR_ConstantCoefficientsEvaluate", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_1linearADR_ConstantCoefficientsEvaluate, METH_VARARGS|METH_KEYWORDS, 0};
3216 static PyObject *__pyx_pw_22ctransportCoefficients_1linearADR_ConstantCoefficientsEvaluate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
3218 PyArrayObject *__pyx_v_A = 0;
3219 PyArrayObject *__pyx_v_B = 0;
3222 PyArrayObject *__pyx_v_x = 0;
3223 PyArrayObject *__pyx_v_u = 0;
3224 PyArrayObject *__pyx_v_m = 0;
3225 PyArrayObject *__pyx_v_dm = 0;
3226 PyArrayObject *__pyx_v_f = 0;
3227 PyArrayObject *__pyx_v_df = 0;
3228 PyArrayObject *__pyx_v_a = 0;
3229 PyArrayObject *__pyx_v_r = 0;
3230 PyArrayObject *__pyx_v_dr = 0;
3231 int __pyx_lineno = 0;
3232 const char *__pyx_filename = NULL;
3233 int __pyx_clineno = 0;
3234 PyObject *__pyx_r = 0;
3235 __Pyx_RefNannyDeclarations
3236 __Pyx_RefNannySetupContext(
"linearADR_ConstantCoefficientsEvaluate (wrapper)", 0);
3238 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_M,&__pyx_n_s_A,&__pyx_n_s_B,&__pyx_n_s_C,&__pyx_n_s_t,&__pyx_n_s_x,&__pyx_n_s_u,&__pyx_n_s_m,&__pyx_n_s_dm,&__pyx_n_s_f,&__pyx_n_s_df,&__pyx_n_s_a,&__pyx_n_s_r,&__pyx_n_s_dr,0};
3239 PyObject* values[14] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0};
3240 if (unlikely(__pyx_kwds)) {
3242 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
3244 case 14: values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
3246 case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
3248 case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
3250 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
3252 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
3254 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
3256 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
3258 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
3260 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
3262 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
3264 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
3266 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
3268 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
3270 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
3273 default:
goto __pyx_L5_argtuple_error;
3275 kw_args = PyDict_Size(__pyx_kwds);
3278 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_M)) != 0)) kw_args--;
3279 else goto __pyx_L5_argtuple_error;
3282 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_A)) != 0)) kw_args--;
3284 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 1); __PYX_ERR(0, 2816, __pyx_L3_error)
3288 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_B)) != 0)) kw_args--;
3290 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 2); __PYX_ERR(0, 2816, __pyx_L3_error)
3294 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_C)) != 0)) kw_args--;
3296 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 3); __PYX_ERR(0, 2816, __pyx_L3_error)
3300 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_t)) != 0)) kw_args--;
3302 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 4); __PYX_ERR(0, 2816, __pyx_L3_error)
3306 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_x)) != 0)) kw_args--;
3308 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 5); __PYX_ERR(0, 2816, __pyx_L3_error)
3312 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_u)) != 0)) kw_args--;
3314 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 6); __PYX_ERR(0, 2816, __pyx_L3_error)
3318 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m)) != 0)) kw_args--;
3320 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 7); __PYX_ERR(0, 2816, __pyx_L3_error)
3324 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm)) != 0)) kw_args--;
3326 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 8); __PYX_ERR(0, 2816, __pyx_L3_error)
3330 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f)) != 0)) kw_args--;
3332 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 9); __PYX_ERR(0, 2816, __pyx_L3_error)
3336 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df)) != 0)) kw_args--;
3338 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 10); __PYX_ERR(0, 2816, __pyx_L3_error)
3342 if (likely((values[11] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a)) != 0)) kw_args--;
3344 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 11); __PYX_ERR(0, 2816, __pyx_L3_error)
3348 if (likely((values[12] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r)) != 0)) kw_args--;
3350 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 12); __PYX_ERR(0, 2816, __pyx_L3_error)
3354 if (likely((values[13] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr)) != 0)) kw_args--;
3356 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, 13); __PYX_ERR(0, 2816, __pyx_L3_error)
3359 if (unlikely(kw_args > 0)) {
3360 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"linearADR_ConstantCoefficientsEvaluate") < 0)) __PYX_ERR(0, 2816, __pyx_L3_error)
3362 }
else if (PyTuple_GET_SIZE(__pyx_args) != 14) {
3363 goto __pyx_L5_argtuple_error;
3365 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
3366 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
3367 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
3368 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
3369 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
3370 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
3371 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
3372 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
3373 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
3374 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
3375 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
3376 values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
3377 values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
3378 values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
3380 __pyx_v_M = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_M == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2816, __pyx_L3_error)
3381 __pyx_v_A = ((PyArrayObject *)values[1]);
3382 __pyx_v_B = ((PyArrayObject *)values[2]);
3383 __pyx_v_C = __pyx_PyFloat_AsDouble(values[3]);
if (unlikely((__pyx_v_C == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2819, __pyx_L3_error)
3384 __pyx_v_t = __pyx_PyFloat_AsDouble(values[4]);
if (unlikely((__pyx_v_t == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2820, __pyx_L3_error)
3385 __pyx_v_x = ((PyArrayObject *)values[5]);
3386 __pyx_v_u = ((PyArrayObject *)values[6]);
3387 __pyx_v_m = ((PyArrayObject *)values[7]);
3388 __pyx_v_dm = ((PyArrayObject *)values[8]);
3389 __pyx_v_f = ((PyArrayObject *)values[9]);
3390 __pyx_v_df = ((PyArrayObject *)values[10]);
3391 __pyx_v_a = ((PyArrayObject *)values[11]);
3392 __pyx_v_r = ((PyArrayObject *)values[12]);
3393 __pyx_v_dr = ((PyArrayObject *)values[13]);
3395 goto __pyx_L4_argument_unpacking_done;
3396 __pyx_L5_argtuple_error:;
3397 __Pyx_RaiseArgtupleInvalid(
"linearADR_ConstantCoefficientsEvaluate", 1, 14, 14, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2816, __pyx_L3_error)
3399 __Pyx_AddTraceback(
"ctransportCoefficients.linearADR_ConstantCoefficientsEvaluate", __pyx_clineno, __pyx_lineno, __pyx_filename);
3400 __Pyx_RefNannyFinishContext();
3402 __pyx_L4_argument_unpacking_done:;
3403 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_A), __pyx_ptype_5numpy_ndarray, 1,
"A", 0))) __PYX_ERR(0, 2817, __pyx_L1_error)
3404 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_B), __pyx_ptype_5numpy_ndarray, 1,
"B", 0))) __PYX_ERR(0, 2818, __pyx_L1_error)
3405 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_x), __pyx_ptype_5numpy_ndarray, 1,
"x", 0))) __PYX_ERR(0, 2821, __pyx_L1_error)
3406 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_u), __pyx_ptype_5numpy_ndarray, 1,
"u", 0))) __PYX_ERR(0, 2822, __pyx_L1_error)
3407 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_5numpy_ndarray, 1,
"m", 0))) __PYX_ERR(0, 2823, __pyx_L1_error)
3408 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm), __pyx_ptype_5numpy_ndarray, 1,
"dm", 0))) __PYX_ERR(0, 2824, __pyx_L1_error)
3409 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f), __pyx_ptype_5numpy_ndarray, 1,
"f", 0))) __PYX_ERR(0, 2825, __pyx_L1_error)
3410 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df), __pyx_ptype_5numpy_ndarray, 1,
"df", 0))) __PYX_ERR(0, 2826, __pyx_L1_error)
3411 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a), __pyx_ptype_5numpy_ndarray, 1,
"a", 0))) __PYX_ERR(0, 2827, __pyx_L1_error)
3412 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r), __pyx_ptype_5numpy_ndarray, 1,
"r", 0))) __PYX_ERR(0, 2828, __pyx_L1_error)
3413 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr), __pyx_ptype_5numpy_ndarray, 1,
"dr", 0))) __PYX_ERR(0, 2829, __pyx_L1_error)
3414 __pyx_r = __pyx_pf_22ctransportCoefficients_linearADR_ConstantCoefficientsEvaluate(__pyx_self, __pyx_v_M, __pyx_v_A, __pyx_v_B, __pyx_v_C, __pyx_v_t, __pyx_v_x, __pyx_v_u, __pyx_v_m, __pyx_v_dm, __pyx_v_f, __pyx_v_df, __pyx_v_a, __pyx_v_r, __pyx_v_dr);
3421 __Pyx_RefNannyFinishContext();
3425 static PyObject *__pyx_pf_22ctransportCoefficients_linearADR_ConstantCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_M, PyArrayObject *__pyx_v_A, PyArrayObject *__pyx_v_B,
double __pyx_v_C,
double __pyx_v_t, PyArrayObject *__pyx_v_x, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a, PyArrayObject *__pyx_v_r, PyArrayObject *__pyx_v_dr) {
3426 PyObject *__pyx_r = NULL;
3427 __Pyx_RefNannyDeclarations
3428 PyObject *__pyx_t_1 = NULL;
3429 PyObject *__pyx_t_2 = NULL;
3430 PyObject *__pyx_t_3 = NULL;
3432 int __pyx_lineno = 0;
3433 const char *__pyx_filename = NULL;
3434 int __pyx_clineno = 0;
3435 __Pyx_RefNannySetupContext(
"linearADR_ConstantCoefficientsEvaluate", 0);
3444 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_x), __pyx_n_s_size);
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2830, __pyx_L1_error)
3445 __Pyx_GOTREF(__pyx_t_1);
3446 __pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_x->dimensions[(__pyx_v_x->nd - 1)]));
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2830, __pyx_L1_error)
3447 __Pyx_GOTREF(__pyx_t_2);
3448 __pyx_t_3 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_2);
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2830, __pyx_L1_error)
3449 __Pyx_GOTREF(__pyx_t_3);
3450 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3451 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3452 __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2830, __pyx_L1_error)
3453 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3462 linearADR_ConstantCoefficientsEvaluate(__pyx_t_4, (__pyx_v_f->dimensions[(__pyx_v_f->nd - 1)]), __pyx_v_M, ((
double *)__pyx_v_A->data), ((
double *)__pyx_v_B->data), __pyx_v_C, __pyx_v_t, ((
double *)__pyx_v_x->data), ((
double *)__pyx_v_u->data), ((
double *)__pyx_v_m->data), ((
double *)__pyx_v_dm->data), ((
double *)__pyx_v_f->data), ((
double *)__pyx_v_df->data), ((
double *)__pyx_v_a->data), ((
double *)__pyx_v_r->data), ((
double *)__pyx_v_dr->data));
3473 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3476 __Pyx_XDECREF(__pyx_t_1);
3477 __Pyx_XDECREF(__pyx_t_2);
3478 __Pyx_XDECREF(__pyx_t_3);
3479 __Pyx_AddTraceback(
"ctransportCoefficients.linearADR_ConstantCoefficientsEvaluate", __pyx_clineno, __pyx_lineno, __pyx_filename);
3482 __Pyx_XGIVEREF(__pyx_r);
3483 __Pyx_RefNannyFinishContext();
3496 static PyObject *__pyx_pw_22ctransportCoefficients_3groundwaterTransportCoefficientsEvaluate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
3497 static PyMethodDef __pyx_mdef_22ctransportCoefficients_3groundwaterTransportCoefficientsEvaluate = {
"groundwaterTransportCoefficientsEvaluate", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_3groundwaterTransportCoefficientsEvaluate, METH_VARARGS|METH_KEYWORDS, 0};
3498 static PyObject *__pyx_pw_22ctransportCoefficients_3groundwaterTransportCoefficientsEvaluate(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
3499 double __pyx_v_omega;
3501 double __pyx_v_alpha_L;
3502 double __pyx_v_alpha_T;
3503 PyArrayObject *__pyx_v_v = 0;
3504 PyArrayObject *__pyx_v_u = 0;
3505 PyArrayObject *__pyx_v_m = 0;
3506 PyArrayObject *__pyx_v_dm = 0;
3507 PyArrayObject *__pyx_v_f = 0;
3508 PyArrayObject *__pyx_v_df = 0;
3509 PyArrayObject *__pyx_v_a = 0;
3510 int __pyx_lineno = 0;
3511 const char *__pyx_filename = NULL;
3512 int __pyx_clineno = 0;
3513 PyObject *__pyx_r = 0;
3514 __Pyx_RefNannyDeclarations
3515 __Pyx_RefNannySetupContext(
"groundwaterTransportCoefficientsEvaluate (wrapper)", 0);
3517 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_omega,&__pyx_n_s_d,&__pyx_n_s_alpha_L,&__pyx_n_s_alpha_T,&__pyx_n_s_v,&__pyx_n_s_u,&__pyx_n_s_m,&__pyx_n_s_dm,&__pyx_n_s_f,&__pyx_n_s_df,&__pyx_n_s_a,0};
3518 PyObject* values[11] = {0,0,0,0,0,0,0,0,0,0,0};
3519 if (unlikely(__pyx_kwds)) {
3521 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
3523 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
3525 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
3527 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
3529 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
3531 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
3533 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
3535 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
3537 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
3539 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
3541 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
3543 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
3546 default:
goto __pyx_L5_argtuple_error;
3548 kw_args = PyDict_Size(__pyx_kwds);
3551 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_omega)) != 0)) kw_args--;
3552 else goto __pyx_L5_argtuple_error;
3555 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d)) != 0)) kw_args--;
3557 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 1); __PYX_ERR(0, 2846, __pyx_L3_error)
3561 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_L)) != 0)) kw_args--;
3563 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 2); __PYX_ERR(0, 2846, __pyx_L3_error)
3567 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_T)) != 0)) kw_args--;
3569 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 3); __PYX_ERR(0, 2846, __pyx_L3_error)
3573 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
3575 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 4); __PYX_ERR(0, 2846, __pyx_L3_error)
3579 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_u)) != 0)) kw_args--;
3581 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 5); __PYX_ERR(0, 2846, __pyx_L3_error)
3585 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m)) != 0)) kw_args--;
3587 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 6); __PYX_ERR(0, 2846, __pyx_L3_error)
3591 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm)) != 0)) kw_args--;
3593 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 7); __PYX_ERR(0, 2846, __pyx_L3_error)
3597 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f)) != 0)) kw_args--;
3599 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 8); __PYX_ERR(0, 2846, __pyx_L3_error)
3603 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df)) != 0)) kw_args--;
3605 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 9); __PYX_ERR(0, 2846, __pyx_L3_error)
3609 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a)) != 0)) kw_args--;
3611 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, 10); __PYX_ERR(0, 2846, __pyx_L3_error)
3614 if (unlikely(kw_args > 0)) {
3615 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"groundwaterTransportCoefficientsEvaluate") < 0)) __PYX_ERR(0, 2846, __pyx_L3_error)
3617 }
else if (PyTuple_GET_SIZE(__pyx_args) != 11) {
3618 goto __pyx_L5_argtuple_error;
3620 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
3621 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
3622 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
3623 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
3624 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
3625 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
3626 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
3627 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
3628 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
3629 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
3630 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
3632 __pyx_v_omega = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_omega == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2846, __pyx_L3_error)
3633 __pyx_v_d = __pyx_PyFloat_AsDouble(values[1]);
if (unlikely((__pyx_v_d == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2847, __pyx_L3_error)
3634 __pyx_v_alpha_L = __pyx_PyFloat_AsDouble(values[2]);
if (unlikely((__pyx_v_alpha_L == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2848, __pyx_L3_error)
3635 __pyx_v_alpha_T = __pyx_PyFloat_AsDouble(values[3]);
if (unlikely((__pyx_v_alpha_T == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2849, __pyx_L3_error)
3636 __pyx_v_v = ((PyArrayObject *)values[4]);
3637 __pyx_v_u = ((PyArrayObject *)values[5]);
3638 __pyx_v_m = ((PyArrayObject *)values[6]);
3639 __pyx_v_dm = ((PyArrayObject *)values[7]);
3640 __pyx_v_f = ((PyArrayObject *)values[8]);
3641 __pyx_v_df = ((PyArrayObject *)values[9]);
3642 __pyx_v_a = ((PyArrayObject *)values[10]);
3644 goto __pyx_L4_argument_unpacking_done;
3645 __pyx_L5_argtuple_error:;
3646 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate", 1, 11, 11, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2846, __pyx_L3_error)
3648 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterTransportCoefficientsEvaluate", __pyx_clineno, __pyx_lineno, __pyx_filename);
3649 __Pyx_RefNannyFinishContext();
3651 __pyx_L4_argument_unpacking_done:;
3652 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_v), __pyx_ptype_5numpy_ndarray, 1,
"v", 0))) __PYX_ERR(0, 2850, __pyx_L1_error)
3653 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_u), __pyx_ptype_5numpy_ndarray, 1,
"u", 0))) __PYX_ERR(0, 2851, __pyx_L1_error)
3654 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_5numpy_ndarray, 1,
"m", 0))) __PYX_ERR(0, 2852, __pyx_L1_error)
3655 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm), __pyx_ptype_5numpy_ndarray, 1,
"dm", 0))) __PYX_ERR(0, 2853, __pyx_L1_error)
3656 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f), __pyx_ptype_5numpy_ndarray, 1,
"f", 0))) __PYX_ERR(0, 2854, __pyx_L1_error)
3657 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df), __pyx_ptype_5numpy_ndarray, 1,
"df", 0))) __PYX_ERR(0, 2855, __pyx_L1_error)
3658 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a), __pyx_ptype_5numpy_ndarray, 1,
"a", 0))) __PYX_ERR(0, 2856, __pyx_L1_error)
3659 __pyx_r = __pyx_pf_22ctransportCoefficients_2groundwaterTransportCoefficientsEvaluate(__pyx_self, __pyx_v_omega, __pyx_v_d, __pyx_v_alpha_L, __pyx_v_alpha_T, __pyx_v_v, __pyx_v_u, __pyx_v_m, __pyx_v_dm, __pyx_v_f, __pyx_v_df, __pyx_v_a);
3666 __Pyx_RefNannyFinishContext();
3670 static PyObject *__pyx_pf_22ctransportCoefficients_2groundwaterTransportCoefficientsEvaluate(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a) {
3671 PyObject *__pyx_r = NULL;
3672 __Pyx_RefNannyDeclarations
3673 PyObject *__pyx_t_1 = NULL;
3674 PyObject *__pyx_t_2 = NULL;
3675 PyObject *__pyx_t_3 = NULL;
3677 int __pyx_lineno = 0;
3678 const char *__pyx_filename = NULL;
3679 int __pyx_clineno = 0;
3680 __Pyx_RefNannySetupContext(
"groundwaterTransportCoefficientsEvaluate", 0);
3689 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_f), __pyx_n_s_size);
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2857, __pyx_L1_error)
3690 __Pyx_GOTREF(__pyx_t_1);
3691 __pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_f->dimensions[(__pyx_v_f->nd - 1)]));
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2857, __pyx_L1_error)
3692 __Pyx_GOTREF(__pyx_t_2);
3693 __pyx_t_3 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_2);
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2857, __pyx_L1_error)
3694 __Pyx_GOTREF(__pyx_t_3);
3695 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
3696 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
3697 __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2857, __pyx_L1_error)
3698 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
3707 groundwaterTransportCoefficientsEvaluate(__pyx_t_4, (__pyx_v_f->dimensions[(__pyx_v_f->nd - 1)]), __pyx_v_omega, __pyx_v_d, __pyx_v_alpha_L, __pyx_v_alpha_T, ((
double *)__pyx_v_v->data), ((
double *)__pyx_v_u->data), ((
double *)__pyx_v_m->data), ((
double *)__pyx_v_dm->data), ((
double *)__pyx_v_f->data), ((
double *)__pyx_v_df->data), ((
double *)__pyx_v_a->data));
3718 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
3721 __Pyx_XDECREF(__pyx_t_1);
3722 __Pyx_XDECREF(__pyx_t_2);
3723 __Pyx_XDECREF(__pyx_t_3);
3724 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterTransportCoefficientsEvaluate", __pyx_clineno, __pyx_lineno, __pyx_filename);
3727 __Pyx_XGIVEREF(__pyx_r);
3728 __Pyx_RefNannyFinishContext();
3741 static PyObject *__pyx_pw_22ctransportCoefficients_5groundwaterBiodegradation01EvaluateFC(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
3742 static PyMethodDef __pyx_mdef_22ctransportCoefficients_5groundwaterBiodegradation01EvaluateFC = {
"groundwaterBiodegradation01EvaluateFC", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_5groundwaterBiodegradation01EvaluateFC, METH_VARARGS|METH_KEYWORDS, 0};
3743 static PyObject *__pyx_pw_22ctransportCoefficients_5groundwaterBiodegradation01EvaluateFC(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
3744 double __pyx_v_omega;
3747 double __pyx_v_alpha_L;
3748 double __pyx_v_alpha_T;
3749 double __pyx_v_Kox_max;
3750 double __pyx_v_Kox_C;
3751 double __pyx_v_Kox_E;
3752 double __pyx_v_Kox_X;
3753 double __pyx_v_Yield;
3755 PyArrayObject *__pyx_v_v = 0;
3756 PyArrayObject *__pyx_v_c_c = 0;
3757 PyArrayObject *__pyx_v_c_e = 0;
3758 PyArrayObject *__pyx_v_c_x = 0;
3759 PyArrayObject *__pyx_v_m_c = 0;
3760 PyArrayObject *__pyx_v_dm_c = 0;
3761 PyArrayObject *__pyx_v_m_e = 0;
3762 PyArrayObject *__pyx_v_dm_e = 0;
3763 PyArrayObject *__pyx_v_m_x = 0;
3764 PyArrayObject *__pyx_v_dm_x = 0;
3765 PyArrayObject *__pyx_v_f_c = 0;
3766 PyArrayObject *__pyx_v_df_c = 0;
3767 PyArrayObject *__pyx_v_f_e = 0;
3768 PyArrayObject *__pyx_v_df_e = 0;
3769 PyArrayObject *__pyx_v_a_c = 0;
3770 PyArrayObject *__pyx_v_a_e = 0;
3771 PyArrayObject *__pyx_v_r_c = 0;
3772 PyArrayObject *__pyx_v_dr_c_dc = 0;
3773 PyArrayObject *__pyx_v_dr_c_de = 0;
3774 PyArrayObject *__pyx_v_dr_c_dx = 0;
3775 PyArrayObject *__pyx_v_r_e = 0;
3776 PyArrayObject *__pyx_v_dr_e_dc = 0;
3777 PyArrayObject *__pyx_v_dr_e_de = 0;
3778 PyArrayObject *__pyx_v_dr_e_dx = 0;
3779 PyArrayObject *__pyx_v_r_x = 0;
3780 PyArrayObject *__pyx_v_dr_x_dc = 0;
3781 PyArrayObject *__pyx_v_dr_x_de = 0;
3782 PyArrayObject *__pyx_v_dr_x_dx = 0;
3783 int __pyx_lineno = 0;
3784 const char *__pyx_filename = NULL;
3785 int __pyx_clineno = 0;
3786 PyObject *__pyx_r = 0;
3787 __Pyx_RefNannyDeclarations
3788 __Pyx_RefNannySetupContext(
"groundwaterBiodegradation01EvaluateFC (wrapper)", 0);
3790 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_omega,&__pyx_n_s_d_c,&__pyx_n_s_d_e,&__pyx_n_s_alpha_L,&__pyx_n_s_alpha_T,&__pyx_n_s_Kox_max,&__pyx_n_s_Kox_C,&__pyx_n_s_Kox_E,&__pyx_n_s_Kox_X,&__pyx_n_s_Yield,&__pyx_n_s_k_d,&__pyx_n_s_v,&__pyx_n_s_c_c,&__pyx_n_s_c_e,&__pyx_n_s_c_x,&__pyx_n_s_m_c,&__pyx_n_s_dm_c,&__pyx_n_s_m_e,&__pyx_n_s_dm_e,&__pyx_n_s_m_x,&__pyx_n_s_dm_x,&__pyx_n_s_f_c,&__pyx_n_s_df_c,&__pyx_n_s_f_e,&__pyx_n_s_df_e,&__pyx_n_s_a_c,&__pyx_n_s_a_e,&__pyx_n_s_r_c,&__pyx_n_s_dr_c_dc,&__pyx_n_s_dr_c_de,&__pyx_n_s_dr_c_dx,&__pyx_n_s_r_e,&__pyx_n_s_dr_e_dc,&__pyx_n_s_dr_e_de,&__pyx_n_s_dr_e_dx,&__pyx_n_s_r_x,&__pyx_n_s_dr_x_dc,&__pyx_n_s_dr_x_de,&__pyx_n_s_dr_x_dx,0};
3791 PyObject* values[39] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
3792 if (unlikely(__pyx_kwds)) {
3794 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
3796 case 39: values[38] = PyTuple_GET_ITEM(__pyx_args, 38);
3798 case 38: values[37] = PyTuple_GET_ITEM(__pyx_args, 37);
3800 case 37: values[36] = PyTuple_GET_ITEM(__pyx_args, 36);
3802 case 36: values[35] = PyTuple_GET_ITEM(__pyx_args, 35);
3804 case 35: values[34] = PyTuple_GET_ITEM(__pyx_args, 34);
3806 case 34: values[33] = PyTuple_GET_ITEM(__pyx_args, 33);
3808 case 33: values[32] = PyTuple_GET_ITEM(__pyx_args, 32);
3810 case 32: values[31] = PyTuple_GET_ITEM(__pyx_args, 31);
3812 case 31: values[30] = PyTuple_GET_ITEM(__pyx_args, 30);
3814 case 30: values[29] = PyTuple_GET_ITEM(__pyx_args, 29);
3816 case 29: values[28] = PyTuple_GET_ITEM(__pyx_args, 28);
3818 case 28: values[27] = PyTuple_GET_ITEM(__pyx_args, 27);
3820 case 27: values[26] = PyTuple_GET_ITEM(__pyx_args, 26);
3822 case 26: values[25] = PyTuple_GET_ITEM(__pyx_args, 25);
3824 case 25: values[24] = PyTuple_GET_ITEM(__pyx_args, 24);
3826 case 24: values[23] = PyTuple_GET_ITEM(__pyx_args, 23);
3828 case 23: values[22] = PyTuple_GET_ITEM(__pyx_args, 22);
3830 case 22: values[21] = PyTuple_GET_ITEM(__pyx_args, 21);
3832 case 21: values[20] = PyTuple_GET_ITEM(__pyx_args, 20);
3834 case 20: values[19] = PyTuple_GET_ITEM(__pyx_args, 19);
3836 case 19: values[18] = PyTuple_GET_ITEM(__pyx_args, 18);
3838 case 18: values[17] = PyTuple_GET_ITEM(__pyx_args, 17);
3840 case 17: values[16] = PyTuple_GET_ITEM(__pyx_args, 16);
3842 case 16: values[15] = PyTuple_GET_ITEM(__pyx_args, 15);
3844 case 15: values[14] = PyTuple_GET_ITEM(__pyx_args, 14);
3846 case 14: values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
3848 case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
3850 case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
3852 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
3854 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
3856 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
3858 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
3860 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
3862 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
3864 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
3866 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
3868 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
3870 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
3872 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
3875 default:
goto __pyx_L5_argtuple_error;
3877 kw_args = PyDict_Size(__pyx_kwds);
3880 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_omega)) != 0)) kw_args--;
3881 else goto __pyx_L5_argtuple_error;
3884 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d_c)) != 0)) kw_args--;
3886 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 1); __PYX_ERR(0, 2870, __pyx_L3_error)
3890 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d_e)) != 0)) kw_args--;
3892 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 2); __PYX_ERR(0, 2870, __pyx_L3_error)
3896 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_L)) != 0)) kw_args--;
3898 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 3); __PYX_ERR(0, 2870, __pyx_L3_error)
3902 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_T)) != 0)) kw_args--;
3904 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 4); __PYX_ERR(0, 2870, __pyx_L3_error)
3908 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Kox_max)) != 0)) kw_args--;
3910 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 5); __PYX_ERR(0, 2870, __pyx_L3_error)
3914 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Kox_C)) != 0)) kw_args--;
3916 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 6); __PYX_ERR(0, 2870, __pyx_L3_error)
3920 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Kox_E)) != 0)) kw_args--;
3922 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 7); __PYX_ERR(0, 2870, __pyx_L3_error)
3926 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Kox_X)) != 0)) kw_args--;
3928 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 8); __PYX_ERR(0, 2870, __pyx_L3_error)
3932 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Yield)) != 0)) kw_args--;
3934 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 9); __PYX_ERR(0, 2870, __pyx_L3_error)
3938 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_k_d)) != 0)) kw_args--;
3940 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 10); __PYX_ERR(0, 2870, __pyx_L3_error)
3944 if (likely((values[11] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
3946 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 11); __PYX_ERR(0, 2870, __pyx_L3_error)
3950 if (likely((values[12] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_c_c)) != 0)) kw_args--;
3952 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 12); __PYX_ERR(0, 2870, __pyx_L3_error)
3956 if (likely((values[13] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_c_e)) != 0)) kw_args--;
3958 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 13); __PYX_ERR(0, 2870, __pyx_L3_error)
3962 if (likely((values[14] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_c_x)) != 0)) kw_args--;
3964 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 14); __PYX_ERR(0, 2870, __pyx_L3_error)
3968 if (likely((values[15] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m_c)) != 0)) kw_args--;
3970 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 15); __PYX_ERR(0, 2870, __pyx_L3_error)
3974 if (likely((values[16] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_c)) != 0)) kw_args--;
3976 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 16); __PYX_ERR(0, 2870, __pyx_L3_error)
3980 if (likely((values[17] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m_e)) != 0)) kw_args--;
3982 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 17); __PYX_ERR(0, 2870, __pyx_L3_error)
3986 if (likely((values[18] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_e)) != 0)) kw_args--;
3988 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 18); __PYX_ERR(0, 2870, __pyx_L3_error)
3992 if (likely((values[19] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m_x)) != 0)) kw_args--;
3994 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 19); __PYX_ERR(0, 2870, __pyx_L3_error)
3998 if (likely((values[20] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_x)) != 0)) kw_args--;
4000 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 20); __PYX_ERR(0, 2870, __pyx_L3_error)
4004 if (likely((values[21] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f_c)) != 0)) kw_args--;
4006 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 21); __PYX_ERR(0, 2870, __pyx_L3_error)
4010 if (likely((values[22] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df_c)) != 0)) kw_args--;
4012 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 22); __PYX_ERR(0, 2870, __pyx_L3_error)
4016 if (likely((values[23] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f_e)) != 0)) kw_args--;
4018 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 23); __PYX_ERR(0, 2870, __pyx_L3_error)
4022 if (likely((values[24] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df_e)) != 0)) kw_args--;
4024 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 24); __PYX_ERR(0, 2870, __pyx_L3_error)
4028 if (likely((values[25] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a_c)) != 0)) kw_args--;
4030 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 25); __PYX_ERR(0, 2870, __pyx_L3_error)
4034 if (likely((values[26] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a_e)) != 0)) kw_args--;
4036 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 26); __PYX_ERR(0, 2870, __pyx_L3_error)
4040 if (likely((values[27] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r_c)) != 0)) kw_args--;
4042 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 27); __PYX_ERR(0, 2870, __pyx_L3_error)
4046 if (likely((values[28] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_c_dc)) != 0)) kw_args--;
4048 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 28); __PYX_ERR(0, 2870, __pyx_L3_error)
4052 if (likely((values[29] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_c_de)) != 0)) kw_args--;
4054 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 29); __PYX_ERR(0, 2870, __pyx_L3_error)
4058 if (likely((values[30] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_c_dx)) != 0)) kw_args--;
4060 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 30); __PYX_ERR(0, 2870, __pyx_L3_error)
4064 if (likely((values[31] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r_e)) != 0)) kw_args--;
4066 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 31); __PYX_ERR(0, 2870, __pyx_L3_error)
4070 if (likely((values[32] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_e_dc)) != 0)) kw_args--;
4072 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 32); __PYX_ERR(0, 2870, __pyx_L3_error)
4076 if (likely((values[33] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_e_de)) != 0)) kw_args--;
4078 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 33); __PYX_ERR(0, 2870, __pyx_L3_error)
4082 if (likely((values[34] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_e_dx)) != 0)) kw_args--;
4084 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 34); __PYX_ERR(0, 2870, __pyx_L3_error)
4088 if (likely((values[35] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r_x)) != 0)) kw_args--;
4090 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 35); __PYX_ERR(0, 2870, __pyx_L3_error)
4094 if (likely((values[36] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_x_dc)) != 0)) kw_args--;
4096 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 36); __PYX_ERR(0, 2870, __pyx_L3_error)
4100 if (likely((values[37] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_x_de)) != 0)) kw_args--;
4102 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 37); __PYX_ERR(0, 2870, __pyx_L3_error)
4106 if (likely((values[38] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_x_dx)) != 0)) kw_args--;
4108 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, 38); __PYX_ERR(0, 2870, __pyx_L3_error)
4111 if (unlikely(kw_args > 0)) {
4112 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"groundwaterBiodegradation01EvaluateFC") < 0)) __PYX_ERR(0, 2870, __pyx_L3_error)
4114 }
else if (PyTuple_GET_SIZE(__pyx_args) != 39) {
4115 goto __pyx_L5_argtuple_error;
4117 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
4118 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
4119 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
4120 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
4121 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
4122 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
4123 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
4124 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
4125 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
4126 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
4127 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
4128 values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
4129 values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
4130 values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
4131 values[14] = PyTuple_GET_ITEM(__pyx_args, 14);
4132 values[15] = PyTuple_GET_ITEM(__pyx_args, 15);
4133 values[16] = PyTuple_GET_ITEM(__pyx_args, 16);
4134 values[17] = PyTuple_GET_ITEM(__pyx_args, 17);
4135 values[18] = PyTuple_GET_ITEM(__pyx_args, 18);
4136 values[19] = PyTuple_GET_ITEM(__pyx_args, 19);
4137 values[20] = PyTuple_GET_ITEM(__pyx_args, 20);
4138 values[21] = PyTuple_GET_ITEM(__pyx_args, 21);
4139 values[22] = PyTuple_GET_ITEM(__pyx_args, 22);
4140 values[23] = PyTuple_GET_ITEM(__pyx_args, 23);
4141 values[24] = PyTuple_GET_ITEM(__pyx_args, 24);
4142 values[25] = PyTuple_GET_ITEM(__pyx_args, 25);
4143 values[26] = PyTuple_GET_ITEM(__pyx_args, 26);
4144 values[27] = PyTuple_GET_ITEM(__pyx_args, 27);
4145 values[28] = PyTuple_GET_ITEM(__pyx_args, 28);
4146 values[29] = PyTuple_GET_ITEM(__pyx_args, 29);
4147 values[30] = PyTuple_GET_ITEM(__pyx_args, 30);
4148 values[31] = PyTuple_GET_ITEM(__pyx_args, 31);
4149 values[32] = PyTuple_GET_ITEM(__pyx_args, 32);
4150 values[33] = PyTuple_GET_ITEM(__pyx_args, 33);
4151 values[34] = PyTuple_GET_ITEM(__pyx_args, 34);
4152 values[35] = PyTuple_GET_ITEM(__pyx_args, 35);
4153 values[36] = PyTuple_GET_ITEM(__pyx_args, 36);
4154 values[37] = PyTuple_GET_ITEM(__pyx_args, 37);
4155 values[38] = PyTuple_GET_ITEM(__pyx_args, 38);
4157 __pyx_v_omega = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_omega == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2870, __pyx_L3_error)
4158 __pyx_v_d_c = __pyx_PyFloat_AsDouble(values[1]);
if (unlikely((__pyx_v_d_c == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2871, __pyx_L3_error)
4159 __pyx_v_d_e = __pyx_PyFloat_AsDouble(values[2]);
if (unlikely((__pyx_v_d_e == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2872, __pyx_L3_error)
4160 __pyx_v_alpha_L = __pyx_PyFloat_AsDouble(values[3]);
if (unlikely((__pyx_v_alpha_L == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2873, __pyx_L3_error)
4161 __pyx_v_alpha_T = __pyx_PyFloat_AsDouble(values[4]);
if (unlikely((__pyx_v_alpha_T == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2874, __pyx_L3_error)
4162 __pyx_v_Kox_max = __pyx_PyFloat_AsDouble(values[5]);
if (unlikely((__pyx_v_Kox_max == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2875, __pyx_L3_error)
4163 __pyx_v_Kox_C = __pyx_PyFloat_AsDouble(values[6]);
if (unlikely((__pyx_v_Kox_C == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2876, __pyx_L3_error)
4164 __pyx_v_Kox_E = __pyx_PyFloat_AsDouble(values[7]);
if (unlikely((__pyx_v_Kox_E == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2877, __pyx_L3_error)
4165 __pyx_v_Kox_X = __pyx_PyFloat_AsDouble(values[8]);
if (unlikely((__pyx_v_Kox_X == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2878, __pyx_L3_error)
4166 __pyx_v_Yield = __pyx_PyFloat_AsDouble(values[9]);
if (unlikely((__pyx_v_Yield == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2879, __pyx_L3_error)
4167 __pyx_v_k_d = __pyx_PyFloat_AsDouble(values[10]);
if (unlikely((__pyx_v_k_d == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2880, __pyx_L3_error)
4168 __pyx_v_v = ((PyArrayObject *)values[11]);
4169 __pyx_v_c_c = ((PyArrayObject *)values[12]);
4170 __pyx_v_c_e = ((PyArrayObject *)values[13]);
4171 __pyx_v_c_x = ((PyArrayObject *)values[14]);
4172 __pyx_v_m_c = ((PyArrayObject *)values[15]);
4173 __pyx_v_dm_c = ((PyArrayObject *)values[16]);
4174 __pyx_v_m_e = ((PyArrayObject *)values[17]);
4175 __pyx_v_dm_e = ((PyArrayObject *)values[18]);
4176 __pyx_v_m_x = ((PyArrayObject *)values[19]);
4177 __pyx_v_dm_x = ((PyArrayObject *)values[20]);
4178 __pyx_v_f_c = ((PyArrayObject *)values[21]);
4179 __pyx_v_df_c = ((PyArrayObject *)values[22]);
4180 __pyx_v_f_e = ((PyArrayObject *)values[23]);
4181 __pyx_v_df_e = ((PyArrayObject *)values[24]);
4182 __pyx_v_a_c = ((PyArrayObject *)values[25]);
4183 __pyx_v_a_e = ((PyArrayObject *)values[26]);
4184 __pyx_v_r_c = ((PyArrayObject *)values[27]);
4185 __pyx_v_dr_c_dc = ((PyArrayObject *)values[28]);
4186 __pyx_v_dr_c_de = ((PyArrayObject *)values[29]);
4187 __pyx_v_dr_c_dx = ((PyArrayObject *)values[30]);
4188 __pyx_v_r_e = ((PyArrayObject *)values[31]);
4189 __pyx_v_dr_e_dc = ((PyArrayObject *)values[32]);
4190 __pyx_v_dr_e_de = ((PyArrayObject *)values[33]);
4191 __pyx_v_dr_e_dx = ((PyArrayObject *)values[34]);
4192 __pyx_v_r_x = ((PyArrayObject *)values[35]);
4193 __pyx_v_dr_x_dc = ((PyArrayObject *)values[36]);
4194 __pyx_v_dr_x_de = ((PyArrayObject *)values[37]);
4195 __pyx_v_dr_x_dx = ((PyArrayObject *)values[38]);
4197 goto __pyx_L4_argument_unpacking_done;
4198 __pyx_L5_argtuple_error:;
4199 __Pyx_RaiseArgtupleInvalid(
"groundwaterBiodegradation01EvaluateFC", 1, 39, 39, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2870, __pyx_L3_error)
4201 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterBiodegradation01EvaluateFC", __pyx_clineno, __pyx_lineno, __pyx_filename);
4202 __Pyx_RefNannyFinishContext();
4204 __pyx_L4_argument_unpacking_done:;
4205 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_v), __pyx_ptype_5numpy_ndarray, 1,
"v", 0))) __PYX_ERR(0, 2881, __pyx_L1_error)
4206 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_c_c), __pyx_ptype_5numpy_ndarray, 1,
"c_c", 0))) __PYX_ERR(0, 2882, __pyx_L1_error)
4207 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_c_e), __pyx_ptype_5numpy_ndarray, 1,
"c_e", 0))) __PYX_ERR(0, 2883, __pyx_L1_error)
4208 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_c_x), __pyx_ptype_5numpy_ndarray, 1,
"c_x", 0))) __PYX_ERR(0, 2884, __pyx_L1_error)
4209 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m_c), __pyx_ptype_5numpy_ndarray, 1,
"m_c", 0))) __PYX_ERR(0, 2885, __pyx_L1_error)
4210 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_c), __pyx_ptype_5numpy_ndarray, 1,
"dm_c", 0))) __PYX_ERR(0, 2886, __pyx_L1_error)
4211 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m_e), __pyx_ptype_5numpy_ndarray, 1,
"m_e", 0))) __PYX_ERR(0, 2887, __pyx_L1_error)
4212 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_e), __pyx_ptype_5numpy_ndarray, 1,
"dm_e", 0))) __PYX_ERR(0, 2888, __pyx_L1_error)
4213 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m_x), __pyx_ptype_5numpy_ndarray, 1,
"m_x", 0))) __PYX_ERR(0, 2889, __pyx_L1_error)
4214 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_x), __pyx_ptype_5numpy_ndarray, 1,
"dm_x", 0))) __PYX_ERR(0, 2890, __pyx_L1_error)
4215 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f_c), __pyx_ptype_5numpy_ndarray, 1,
"f_c", 0))) __PYX_ERR(0, 2891, __pyx_L1_error)
4216 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df_c), __pyx_ptype_5numpy_ndarray, 1,
"df_c", 0))) __PYX_ERR(0, 2892, __pyx_L1_error)
4217 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f_e), __pyx_ptype_5numpy_ndarray, 1,
"f_e", 0))) __PYX_ERR(0, 2893, __pyx_L1_error)
4218 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df_e), __pyx_ptype_5numpy_ndarray, 1,
"df_e", 0))) __PYX_ERR(0, 2894, __pyx_L1_error)
4219 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a_c), __pyx_ptype_5numpy_ndarray, 1,
"a_c", 0))) __PYX_ERR(0, 2895, __pyx_L1_error)
4220 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a_e), __pyx_ptype_5numpy_ndarray, 1,
"a_e", 0))) __PYX_ERR(0, 2896, __pyx_L1_error)
4221 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r_c), __pyx_ptype_5numpy_ndarray, 1,
"r_c", 0))) __PYX_ERR(0, 2897, __pyx_L1_error)
4222 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_c_dc), __pyx_ptype_5numpy_ndarray, 1,
"dr_c_dc", 0))) __PYX_ERR(0, 2898, __pyx_L1_error)
4223 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_c_de), __pyx_ptype_5numpy_ndarray, 1,
"dr_c_de", 0))) __PYX_ERR(0, 2899, __pyx_L1_error)
4224 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_c_dx), __pyx_ptype_5numpy_ndarray, 1,
"dr_c_dx", 0))) __PYX_ERR(0, 2900, __pyx_L1_error)
4225 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r_e), __pyx_ptype_5numpy_ndarray, 1,
"r_e", 0))) __PYX_ERR(0, 2901, __pyx_L1_error)
4226 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_e_dc), __pyx_ptype_5numpy_ndarray, 1,
"dr_e_dc", 0))) __PYX_ERR(0, 2902, __pyx_L1_error)
4227 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_e_de), __pyx_ptype_5numpy_ndarray, 1,
"dr_e_de", 0))) __PYX_ERR(0, 2903, __pyx_L1_error)
4228 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_e_dx), __pyx_ptype_5numpy_ndarray, 1,
"dr_e_dx", 0))) __PYX_ERR(0, 2904, __pyx_L1_error)
4229 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r_x), __pyx_ptype_5numpy_ndarray, 1,
"r_x", 0))) __PYX_ERR(0, 2905, __pyx_L1_error)
4230 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_x_dc), __pyx_ptype_5numpy_ndarray, 1,
"dr_x_dc", 0))) __PYX_ERR(0, 2906, __pyx_L1_error)
4231 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_x_de), __pyx_ptype_5numpy_ndarray, 1,
"dr_x_de", 0))) __PYX_ERR(0, 2907, __pyx_L1_error)
4232 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_x_dx), __pyx_ptype_5numpy_ndarray, 1,
"dr_x_dx", 0))) __PYX_ERR(0, 2908, __pyx_L1_error)
4233 __pyx_r = __pyx_pf_22ctransportCoefficients_4groundwaterBiodegradation01EvaluateFC(__pyx_self, __pyx_v_omega, __pyx_v_d_c, __pyx_v_d_e, __pyx_v_alpha_L, __pyx_v_alpha_T, __pyx_v_Kox_max, __pyx_v_Kox_C, __pyx_v_Kox_E, __pyx_v_Kox_X, __pyx_v_Yield, __pyx_v_k_d, __pyx_v_v, __pyx_v_c_c, __pyx_v_c_e, __pyx_v_c_x, __pyx_v_m_c, __pyx_v_dm_c, __pyx_v_m_e, __pyx_v_dm_e, __pyx_v_m_x, __pyx_v_dm_x, __pyx_v_f_c, __pyx_v_df_c, __pyx_v_f_e, __pyx_v_df_e, __pyx_v_a_c, __pyx_v_a_e, __pyx_v_r_c, __pyx_v_dr_c_dc, __pyx_v_dr_c_de, __pyx_v_dr_c_dx, __pyx_v_r_e, __pyx_v_dr_e_dc, __pyx_v_dr_e_de, __pyx_v_dr_e_dx, __pyx_v_r_x, __pyx_v_dr_x_dc, __pyx_v_dr_x_de, __pyx_v_dr_x_dx);
4240 __Pyx_RefNannyFinishContext();
4244 static PyObject *__pyx_pf_22ctransportCoefficients_4groundwaterBiodegradation01EvaluateFC(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d_c,
double __pyx_v_d_e,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T,
double __pyx_v_Kox_max,
double __pyx_v_Kox_C,
double __pyx_v_Kox_E,
double __pyx_v_Kox_X,
double __pyx_v_Yield,
double __pyx_v_k_d, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_c_c, PyArrayObject *__pyx_v_c_e, PyArrayObject *__pyx_v_c_x, PyArrayObject *__pyx_v_m_c, PyArrayObject *__pyx_v_dm_c, PyArrayObject *__pyx_v_m_e, PyArrayObject *__pyx_v_dm_e, PyArrayObject *__pyx_v_m_x, PyArrayObject *__pyx_v_dm_x, PyArrayObject *__pyx_v_f_c, PyArrayObject *__pyx_v_df_c, PyArrayObject *__pyx_v_f_e, PyArrayObject *__pyx_v_df_e, PyArrayObject *__pyx_v_a_c, PyArrayObject *__pyx_v_a_e, PyArrayObject *__pyx_v_r_c, PyArrayObject *__pyx_v_dr_c_dc, PyArrayObject *__pyx_v_dr_c_de, PyArrayObject *__pyx_v_dr_c_dx, PyArrayObject *__pyx_v_r_e, PyArrayObject *__pyx_v_dr_e_dc, PyArrayObject *__pyx_v_dr_e_de, PyArrayObject *__pyx_v_dr_e_dx, PyArrayObject *__pyx_v_r_x, PyArrayObject *__pyx_v_dr_x_dc, PyArrayObject *__pyx_v_dr_x_de, PyArrayObject *__pyx_v_dr_x_dx) {
4245 PyObject *__pyx_r = NULL;
4246 __Pyx_RefNannyDeclarations
4247 PyObject *__pyx_t_1 = NULL;
4248 PyObject *__pyx_t_2 = NULL;
4249 PyObject *__pyx_t_3 = NULL;
4251 int __pyx_lineno = 0;
4252 const char *__pyx_filename = NULL;
4253 int __pyx_clineno = 0;
4254 __Pyx_RefNannySetupContext(
"groundwaterBiodegradation01EvaluateFC", 0);
4263 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_f_c), __pyx_n_s_size);
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2909, __pyx_L1_error)
4264 __Pyx_GOTREF(__pyx_t_1);
4265 __pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_f_c->dimensions[(__pyx_v_f_c->nd - 1)]));
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2909, __pyx_L1_error)
4266 __Pyx_GOTREF(__pyx_t_2);
4267 __pyx_t_3 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_2);
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2909, __pyx_L1_error)
4268 __Pyx_GOTREF(__pyx_t_3);
4269 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4270 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4271 __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2909, __pyx_L1_error)
4272 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4281 groundwaterBiodegradation01EvaluateFC(__pyx_t_4, (__pyx_v_f_c->dimensions[(__pyx_v_f_c->nd - 1)]), __pyx_v_omega, __pyx_v_d_c, __pyx_v_d_e, __pyx_v_alpha_L, __pyx_v_alpha_T, __pyx_v_Kox_max, __pyx_v_Kox_C, __pyx_v_Kox_E, __pyx_v_Kox_X, __pyx_v_Yield, __pyx_v_k_d, ((
double *)__pyx_v_v->data), ((
double *)__pyx_v_c_c->data), ((
double *)__pyx_v_c_e->data), ((
double *)__pyx_v_c_x->data), ((
double *)__pyx_v_m_c->data), ((
double *)__pyx_v_dm_c->data), ((
double *)__pyx_v_m_e->data), ((
double *)__pyx_v_dm_e->data), ((
double *)__pyx_v_m_x->data), ((
double *)__pyx_v_dm_x->data), ((
double *)__pyx_v_f_c->data), ((
double *)__pyx_v_df_c->data), ((
double *)__pyx_v_f_e->data), ((
double *)__pyx_v_df_e->data), ((
double *)__pyx_v_a_c->data), ((
double *)__pyx_v_a_e->data), ((
double *)__pyx_v_r_c->data), ((
double *)__pyx_v_dr_c_dc->data), ((
double *)__pyx_v_dr_c_de->data), ((
double *)__pyx_v_dr_c_dx->data), ((
double *)__pyx_v_r_e->data), ((
double *)__pyx_v_dr_e_dc->data), ((
double *)__pyx_v_dr_e_de->data), ((
double *)__pyx_v_dr_e_dx->data), ((
double *)__pyx_v_r_x->data), ((
double *)__pyx_v_dr_x_dc->data), ((
double *)__pyx_v_dr_x_de->data), ((
double *)__pyx_v_dr_x_dx->data));
4292 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4295 __Pyx_XDECREF(__pyx_t_1);
4296 __Pyx_XDECREF(__pyx_t_2);
4297 __Pyx_XDECREF(__pyx_t_3);
4298 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterBiodegradation01EvaluateFC", __pyx_clineno, __pyx_lineno, __pyx_filename);
4301 __Pyx_XGIVEREF(__pyx_r);
4302 __Pyx_RefNannyFinishContext();
4315 static PyObject *__pyx_pw_22ctransportCoefficients_7groundwaterBryantDawsonIonExEvaluateFC(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
4316 static PyMethodDef __pyx_mdef_22ctransportCoefficients_7groundwaterBryantDawsonIonExEvaluateFC = {
"groundwaterBryantDawsonIonExEvaluateFC", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_7groundwaterBryantDawsonIonExEvaluateFC, METH_VARARGS|METH_KEYWORDS, 0};
4317 static PyObject *__pyx_pw_22ctransportCoefficients_7groundwaterBryantDawsonIonExEvaluateFC(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
4318 double __pyx_v_omega;
4321 double __pyx_v_alpha_L;
4322 double __pyx_v_alpha_T;
4326 double __pyx_v_Z_tot;
4327 PyArrayObject *__pyx_v_v = 0;
4328 PyArrayObject *__pyx_v_c_m = 0;
4329 PyArrayObject *__pyx_v_c_h = 0;
4330 PyArrayObject *__pyx_v_m_m = 0;
4331 PyArrayObject *__pyx_v_dm_m_m = 0;
4332 PyArrayObject *__pyx_v_dm_m_h = 0;
4333 PyArrayObject *__pyx_v_m_h = 0;
4334 PyArrayObject *__pyx_v_dm_h_m = 0;
4335 PyArrayObject *__pyx_v_dm_h_h = 0;
4336 PyArrayObject *__pyx_v_f_m = 0;
4337 PyArrayObject *__pyx_v_df_m = 0;
4338 PyArrayObject *__pyx_v_f_h = 0;
4339 PyArrayObject *__pyx_v_df_h = 0;
4340 PyArrayObject *__pyx_v_a_m = 0;
4341 PyArrayObject *__pyx_v_a_h = 0;
4342 PyArrayObject *__pyx_v_phi_h = 0;
4343 PyArrayObject *__pyx_v_dphi_h = 0;
4344 PyArrayObject *__pyx_v_r_m = 0;
4345 PyArrayObject *__pyx_v_dr_m_dm = 0;
4346 PyArrayObject *__pyx_v_dr_m_dh = 0;
4347 PyArrayObject *__pyx_v_r_h = 0;
4348 PyArrayObject *__pyx_v_dr_h_dm = 0;
4349 PyArrayObject *__pyx_v_dr_h_dh = 0;
4350 int __pyx_lineno = 0;
4351 const char *__pyx_filename = NULL;
4352 int __pyx_clineno = 0;
4353 PyObject *__pyx_r = 0;
4354 __Pyx_RefNannyDeclarations
4355 __Pyx_RefNannySetupContext(
"groundwaterBryantDawsonIonExEvaluateFC (wrapper)", 0);
4357 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_omega,&__pyx_n_s_d_m,&__pyx_n_s_d_h,&__pyx_n_s_alpha_L,&__pyx_n_s_alpha_T,&__pyx_n_s_K_m,&__pyx_n_s_K_h,&__pyx_n_s_K_w,&__pyx_n_s_Z_tot,&__pyx_n_s_v,&__pyx_n_s_c_m,&__pyx_n_s_c_h,&__pyx_n_s_m_m,&__pyx_n_s_dm_m_m,&__pyx_n_s_dm_m_h,&__pyx_n_s_m_h,&__pyx_n_s_dm_h_m,&__pyx_n_s_dm_h_h,&__pyx_n_s_f_m,&__pyx_n_s_df_m,&__pyx_n_s_f_h,&__pyx_n_s_df_h,&__pyx_n_s_a_m,&__pyx_n_s_a_h,&__pyx_n_s_phi_h,&__pyx_n_s_dphi_h,&__pyx_n_s_r_m,&__pyx_n_s_dr_m_dm,&__pyx_n_s_dr_m_dh,&__pyx_n_s_r_h,&__pyx_n_s_dr_h_dm,&__pyx_n_s_dr_h_dh,0};
4358 PyObject* values[32] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
4359 if (unlikely(__pyx_kwds)) {
4361 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
4363 case 32: values[31] = PyTuple_GET_ITEM(__pyx_args, 31);
4365 case 31: values[30] = PyTuple_GET_ITEM(__pyx_args, 30);
4367 case 30: values[29] = PyTuple_GET_ITEM(__pyx_args, 29);
4369 case 29: values[28] = PyTuple_GET_ITEM(__pyx_args, 28);
4371 case 28: values[27] = PyTuple_GET_ITEM(__pyx_args, 27);
4373 case 27: values[26] = PyTuple_GET_ITEM(__pyx_args, 26);
4375 case 26: values[25] = PyTuple_GET_ITEM(__pyx_args, 25);
4377 case 25: values[24] = PyTuple_GET_ITEM(__pyx_args, 24);
4379 case 24: values[23] = PyTuple_GET_ITEM(__pyx_args, 23);
4381 case 23: values[22] = PyTuple_GET_ITEM(__pyx_args, 22);
4383 case 22: values[21] = PyTuple_GET_ITEM(__pyx_args, 21);
4385 case 21: values[20] = PyTuple_GET_ITEM(__pyx_args, 20);
4387 case 20: values[19] = PyTuple_GET_ITEM(__pyx_args, 19);
4389 case 19: values[18] = PyTuple_GET_ITEM(__pyx_args, 18);
4391 case 18: values[17] = PyTuple_GET_ITEM(__pyx_args, 17);
4393 case 17: values[16] = PyTuple_GET_ITEM(__pyx_args, 16);
4395 case 16: values[15] = PyTuple_GET_ITEM(__pyx_args, 15);
4397 case 15: values[14] = PyTuple_GET_ITEM(__pyx_args, 14);
4399 case 14: values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
4401 case 13: values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
4403 case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
4405 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
4407 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
4409 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
4411 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
4413 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
4415 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
4417 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
4419 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
4421 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
4423 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
4425 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
4428 default:
goto __pyx_L5_argtuple_error;
4430 kw_args = PyDict_Size(__pyx_kwds);
4433 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_omega)) != 0)) kw_args--;
4434 else goto __pyx_L5_argtuple_error;
4437 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d_m)) != 0)) kw_args--;
4439 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 1); __PYX_ERR(0, 2950, __pyx_L3_error)
4443 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d_h)) != 0)) kw_args--;
4445 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 2); __PYX_ERR(0, 2950, __pyx_L3_error)
4449 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_L)) != 0)) kw_args--;
4451 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 3); __PYX_ERR(0, 2950, __pyx_L3_error)
4455 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_T)) != 0)) kw_args--;
4457 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 4); __PYX_ERR(0, 2950, __pyx_L3_error)
4461 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_K_m)) != 0)) kw_args--;
4463 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 5); __PYX_ERR(0, 2950, __pyx_L3_error)
4467 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_K_h)) != 0)) kw_args--;
4469 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 6); __PYX_ERR(0, 2950, __pyx_L3_error)
4473 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_K_w)) != 0)) kw_args--;
4475 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 7); __PYX_ERR(0, 2950, __pyx_L3_error)
4479 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_Z_tot)) != 0)) kw_args--;
4481 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 8); __PYX_ERR(0, 2950, __pyx_L3_error)
4485 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
4487 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 9); __PYX_ERR(0, 2950, __pyx_L3_error)
4491 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_c_m)) != 0)) kw_args--;
4493 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 10); __PYX_ERR(0, 2950, __pyx_L3_error)
4497 if (likely((values[11] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_c_h)) != 0)) kw_args--;
4499 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 11); __PYX_ERR(0, 2950, __pyx_L3_error)
4503 if (likely((values[12] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m_m)) != 0)) kw_args--;
4505 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 12); __PYX_ERR(0, 2950, __pyx_L3_error)
4509 if (likely((values[13] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_m_m)) != 0)) kw_args--;
4511 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 13); __PYX_ERR(0, 2950, __pyx_L3_error)
4515 if (likely((values[14] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_m_h)) != 0)) kw_args--;
4517 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 14); __PYX_ERR(0, 2950, __pyx_L3_error)
4521 if (likely((values[15] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m_h)) != 0)) kw_args--;
4523 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 15); __PYX_ERR(0, 2950, __pyx_L3_error)
4527 if (likely((values[16] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_h_m)) != 0)) kw_args--;
4529 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 16); __PYX_ERR(0, 2950, __pyx_L3_error)
4533 if (likely((values[17] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm_h_h)) != 0)) kw_args--;
4535 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 17); __PYX_ERR(0, 2950, __pyx_L3_error)
4539 if (likely((values[18] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f_m)) != 0)) kw_args--;
4541 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 18); __PYX_ERR(0, 2950, __pyx_L3_error)
4545 if (likely((values[19] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df_m)) != 0)) kw_args--;
4547 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 19); __PYX_ERR(0, 2950, __pyx_L3_error)
4551 if (likely((values[20] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f_h)) != 0)) kw_args--;
4553 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 20); __PYX_ERR(0, 2950, __pyx_L3_error)
4557 if (likely((values[21] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df_h)) != 0)) kw_args--;
4559 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 21); __PYX_ERR(0, 2950, __pyx_L3_error)
4563 if (likely((values[22] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a_m)) != 0)) kw_args--;
4565 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 22); __PYX_ERR(0, 2950, __pyx_L3_error)
4569 if (likely((values[23] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a_h)) != 0)) kw_args--;
4571 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 23); __PYX_ERR(0, 2950, __pyx_L3_error)
4575 if (likely((values[24] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_phi_h)) != 0)) kw_args--;
4577 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 24); __PYX_ERR(0, 2950, __pyx_L3_error)
4581 if (likely((values[25] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dphi_h)) != 0)) kw_args--;
4583 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 25); __PYX_ERR(0, 2950, __pyx_L3_error)
4587 if (likely((values[26] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r_m)) != 0)) kw_args--;
4589 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 26); __PYX_ERR(0, 2950, __pyx_L3_error)
4593 if (likely((values[27] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_m_dm)) != 0)) kw_args--;
4595 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 27); __PYX_ERR(0, 2950, __pyx_L3_error)
4599 if (likely((values[28] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_m_dh)) != 0)) kw_args--;
4601 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 28); __PYX_ERR(0, 2950, __pyx_L3_error)
4605 if (likely((values[29] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_r_h)) != 0)) kw_args--;
4607 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 29); __PYX_ERR(0, 2950, __pyx_L3_error)
4611 if (likely((values[30] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_h_dm)) != 0)) kw_args--;
4613 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 30); __PYX_ERR(0, 2950, __pyx_L3_error)
4617 if (likely((values[31] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dr_h_dh)) != 0)) kw_args--;
4619 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, 31); __PYX_ERR(0, 2950, __pyx_L3_error)
4622 if (unlikely(kw_args > 0)) {
4623 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"groundwaterBryantDawsonIonExEvaluateFC") < 0)) __PYX_ERR(0, 2950, __pyx_L3_error)
4625 }
else if (PyTuple_GET_SIZE(__pyx_args) != 32) {
4626 goto __pyx_L5_argtuple_error;
4628 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
4629 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
4630 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
4631 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
4632 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
4633 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
4634 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
4635 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
4636 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
4637 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
4638 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
4639 values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
4640 values[12] = PyTuple_GET_ITEM(__pyx_args, 12);
4641 values[13] = PyTuple_GET_ITEM(__pyx_args, 13);
4642 values[14] = PyTuple_GET_ITEM(__pyx_args, 14);
4643 values[15] = PyTuple_GET_ITEM(__pyx_args, 15);
4644 values[16] = PyTuple_GET_ITEM(__pyx_args, 16);
4645 values[17] = PyTuple_GET_ITEM(__pyx_args, 17);
4646 values[18] = PyTuple_GET_ITEM(__pyx_args, 18);
4647 values[19] = PyTuple_GET_ITEM(__pyx_args, 19);
4648 values[20] = PyTuple_GET_ITEM(__pyx_args, 20);
4649 values[21] = PyTuple_GET_ITEM(__pyx_args, 21);
4650 values[22] = PyTuple_GET_ITEM(__pyx_args, 22);
4651 values[23] = PyTuple_GET_ITEM(__pyx_args, 23);
4652 values[24] = PyTuple_GET_ITEM(__pyx_args, 24);
4653 values[25] = PyTuple_GET_ITEM(__pyx_args, 25);
4654 values[26] = PyTuple_GET_ITEM(__pyx_args, 26);
4655 values[27] = PyTuple_GET_ITEM(__pyx_args, 27);
4656 values[28] = PyTuple_GET_ITEM(__pyx_args, 28);
4657 values[29] = PyTuple_GET_ITEM(__pyx_args, 29);
4658 values[30] = PyTuple_GET_ITEM(__pyx_args, 30);
4659 values[31] = PyTuple_GET_ITEM(__pyx_args, 31);
4661 __pyx_v_omega = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_omega == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2950, __pyx_L3_error)
4662 __pyx_v_d_m = __pyx_PyFloat_AsDouble(values[1]);
if (unlikely((__pyx_v_d_m == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2951, __pyx_L3_error)
4663 __pyx_v_d_h = __pyx_PyFloat_AsDouble(values[2]);
if (unlikely((__pyx_v_d_h == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2952, __pyx_L3_error)
4664 __pyx_v_alpha_L = __pyx_PyFloat_AsDouble(values[3]);
if (unlikely((__pyx_v_alpha_L == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2953, __pyx_L3_error)
4665 __pyx_v_alpha_T = __pyx_PyFloat_AsDouble(values[4]);
if (unlikely((__pyx_v_alpha_T == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2954, __pyx_L3_error)
4666 __pyx_v_K_m = __pyx_PyFloat_AsDouble(values[5]);
if (unlikely((__pyx_v_K_m == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2955, __pyx_L3_error)
4667 __pyx_v_K_h = __pyx_PyFloat_AsDouble(values[6]);
if (unlikely((__pyx_v_K_h == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2956, __pyx_L3_error)
4668 __pyx_v_K_w = __pyx_PyFloat_AsDouble(values[7]);
if (unlikely((__pyx_v_K_w == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2957, __pyx_L3_error)
4669 __pyx_v_Z_tot = __pyx_PyFloat_AsDouble(values[8]);
if (unlikely((__pyx_v_Z_tot == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 2958, __pyx_L3_error)
4670 __pyx_v_v = ((PyArrayObject *)values[9]);
4671 __pyx_v_c_m = ((PyArrayObject *)values[10]);
4672 __pyx_v_c_h = ((PyArrayObject *)values[11]);
4673 __pyx_v_m_m = ((PyArrayObject *)values[12]);
4674 __pyx_v_dm_m_m = ((PyArrayObject *)values[13]);
4675 __pyx_v_dm_m_h = ((PyArrayObject *)values[14]);
4676 __pyx_v_m_h = ((PyArrayObject *)values[15]);
4677 __pyx_v_dm_h_m = ((PyArrayObject *)values[16]);
4678 __pyx_v_dm_h_h = ((PyArrayObject *)values[17]);
4679 __pyx_v_f_m = ((PyArrayObject *)values[18]);
4680 __pyx_v_df_m = ((PyArrayObject *)values[19]);
4681 __pyx_v_f_h = ((PyArrayObject *)values[20]);
4682 __pyx_v_df_h = ((PyArrayObject *)values[21]);
4683 __pyx_v_a_m = ((PyArrayObject *)values[22]);
4684 __pyx_v_a_h = ((PyArrayObject *)values[23]);
4685 __pyx_v_phi_h = ((PyArrayObject *)values[24]);
4686 __pyx_v_dphi_h = ((PyArrayObject *)values[25]);
4687 __pyx_v_r_m = ((PyArrayObject *)values[26]);
4688 __pyx_v_dr_m_dm = ((PyArrayObject *)values[27]);
4689 __pyx_v_dr_m_dh = ((PyArrayObject *)values[28]);
4690 __pyx_v_r_h = ((PyArrayObject *)values[29]);
4691 __pyx_v_dr_h_dm = ((PyArrayObject *)values[30]);
4692 __pyx_v_dr_h_dh = ((PyArrayObject *)values[31]);
4694 goto __pyx_L4_argument_unpacking_done;
4695 __pyx_L5_argtuple_error:;
4696 __Pyx_RaiseArgtupleInvalid(
"groundwaterBryantDawsonIonExEvaluateFC", 1, 32, 32, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 2950, __pyx_L3_error)
4698 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterBryantDawsonIonExEvaluateFC", __pyx_clineno, __pyx_lineno, __pyx_filename);
4699 __Pyx_RefNannyFinishContext();
4701 __pyx_L4_argument_unpacking_done:;
4702 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_v), __pyx_ptype_5numpy_ndarray, 1,
"v", 0))) __PYX_ERR(0, 2959, __pyx_L1_error)
4703 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_c_m), __pyx_ptype_5numpy_ndarray, 1,
"c_m", 0))) __PYX_ERR(0, 2960, __pyx_L1_error)
4704 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_c_h), __pyx_ptype_5numpy_ndarray, 1,
"c_h", 0))) __PYX_ERR(0, 2961, __pyx_L1_error)
4705 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m_m), __pyx_ptype_5numpy_ndarray, 1,
"m_m", 0))) __PYX_ERR(0, 2962, __pyx_L1_error)
4706 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_m_m), __pyx_ptype_5numpy_ndarray, 1,
"dm_m_m", 0))) __PYX_ERR(0, 2963, __pyx_L1_error)
4707 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_m_h), __pyx_ptype_5numpy_ndarray, 1,
"dm_m_h", 0))) __PYX_ERR(0, 2964, __pyx_L1_error)
4708 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m_h), __pyx_ptype_5numpy_ndarray, 1,
"m_h", 0))) __PYX_ERR(0, 2965, __pyx_L1_error)
4709 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_h_m), __pyx_ptype_5numpy_ndarray, 1,
"dm_h_m", 0))) __PYX_ERR(0, 2966, __pyx_L1_error)
4710 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm_h_h), __pyx_ptype_5numpy_ndarray, 1,
"dm_h_h", 0))) __PYX_ERR(0, 2967, __pyx_L1_error)
4711 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f_m), __pyx_ptype_5numpy_ndarray, 1,
"f_m", 0))) __PYX_ERR(0, 2968, __pyx_L1_error)
4712 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df_m), __pyx_ptype_5numpy_ndarray, 1,
"df_m", 0))) __PYX_ERR(0, 2969, __pyx_L1_error)
4713 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f_h), __pyx_ptype_5numpy_ndarray, 1,
"f_h", 0))) __PYX_ERR(0, 2970, __pyx_L1_error)
4714 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df_h), __pyx_ptype_5numpy_ndarray, 1,
"df_h", 0))) __PYX_ERR(0, 2971, __pyx_L1_error)
4715 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a_m), __pyx_ptype_5numpy_ndarray, 1,
"a_m", 0))) __PYX_ERR(0, 2972, __pyx_L1_error)
4716 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a_h), __pyx_ptype_5numpy_ndarray, 1,
"a_h", 0))) __PYX_ERR(0, 2973, __pyx_L1_error)
4717 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_phi_h), __pyx_ptype_5numpy_ndarray, 1,
"phi_h", 0))) __PYX_ERR(0, 2974, __pyx_L1_error)
4718 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dphi_h), __pyx_ptype_5numpy_ndarray, 1,
"dphi_h", 0))) __PYX_ERR(0, 2975, __pyx_L1_error)
4719 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r_m), __pyx_ptype_5numpy_ndarray, 1,
"r_m", 0))) __PYX_ERR(0, 2976, __pyx_L1_error)
4720 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_m_dm), __pyx_ptype_5numpy_ndarray, 1,
"dr_m_dm", 0))) __PYX_ERR(0, 2977, __pyx_L1_error)
4721 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_m_dh), __pyx_ptype_5numpy_ndarray, 1,
"dr_m_dh", 0))) __PYX_ERR(0, 2978, __pyx_L1_error)
4722 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_r_h), __pyx_ptype_5numpy_ndarray, 1,
"r_h", 0))) __PYX_ERR(0, 2979, __pyx_L1_error)
4723 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_h_dm), __pyx_ptype_5numpy_ndarray, 1,
"dr_h_dm", 0))) __PYX_ERR(0, 2980, __pyx_L1_error)
4724 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dr_h_dh), __pyx_ptype_5numpy_ndarray, 1,
"dr_h_dh", 0))) __PYX_ERR(0, 2981, __pyx_L1_error)
4725 __pyx_r = __pyx_pf_22ctransportCoefficients_6groundwaterBryantDawsonIonExEvaluateFC(__pyx_self, __pyx_v_omega, __pyx_v_d_m, __pyx_v_d_h, __pyx_v_alpha_L, __pyx_v_alpha_T, __pyx_v_K_m, __pyx_v_K_h, __pyx_v_K_w, __pyx_v_Z_tot, __pyx_v_v, __pyx_v_c_m, __pyx_v_c_h, __pyx_v_m_m, __pyx_v_dm_m_m, __pyx_v_dm_m_h, __pyx_v_m_h, __pyx_v_dm_h_m, __pyx_v_dm_h_h, __pyx_v_f_m, __pyx_v_df_m, __pyx_v_f_h, __pyx_v_df_h, __pyx_v_a_m, __pyx_v_a_h, __pyx_v_phi_h, __pyx_v_dphi_h, __pyx_v_r_m, __pyx_v_dr_m_dm, __pyx_v_dr_m_dh, __pyx_v_r_h, __pyx_v_dr_h_dm, __pyx_v_dr_h_dh);
4732 __Pyx_RefNannyFinishContext();
4736 static PyObject *__pyx_pf_22ctransportCoefficients_6groundwaterBryantDawsonIonExEvaluateFC(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_omega,
double __pyx_v_d_m,
double __pyx_v_d_h,
double __pyx_v_alpha_L,
double __pyx_v_alpha_T,
double __pyx_v_K_m,
double __pyx_v_K_h,
double __pyx_v_K_w,
double __pyx_v_Z_tot, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_c_m, PyArrayObject *__pyx_v_c_h, PyArrayObject *__pyx_v_m_m, PyArrayObject *__pyx_v_dm_m_m, PyArrayObject *__pyx_v_dm_m_h, PyArrayObject *__pyx_v_m_h, PyArrayObject *__pyx_v_dm_h_m, PyArrayObject *__pyx_v_dm_h_h, PyArrayObject *__pyx_v_f_m, PyArrayObject *__pyx_v_df_m, PyArrayObject *__pyx_v_f_h, PyArrayObject *__pyx_v_df_h, PyArrayObject *__pyx_v_a_m, PyArrayObject *__pyx_v_a_h, PyArrayObject *__pyx_v_phi_h, PyArrayObject *__pyx_v_dphi_h, PyArrayObject *__pyx_v_r_m, PyArrayObject *__pyx_v_dr_m_dm, PyArrayObject *__pyx_v_dr_m_dh, PyArrayObject *__pyx_v_r_h, PyArrayObject *__pyx_v_dr_h_dm, PyArrayObject *__pyx_v_dr_h_dh) {
4737 PyObject *__pyx_r = NULL;
4738 __Pyx_RefNannyDeclarations
4739 PyObject *__pyx_t_1 = NULL;
4740 PyObject *__pyx_t_2 = NULL;
4741 PyObject *__pyx_t_3 = NULL;
4743 int __pyx_lineno = 0;
4744 const char *__pyx_filename = NULL;
4745 int __pyx_clineno = 0;
4746 __Pyx_RefNannySetupContext(
"groundwaterBryantDawsonIonExEvaluateFC", 0);
4755 __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_f_m), __pyx_n_s_size);
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 2982, __pyx_L1_error)
4756 __Pyx_GOTREF(__pyx_t_1);
4757 __pyx_t_2 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_f_m->dimensions[(__pyx_v_f_m->nd - 1)]));
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2982, __pyx_L1_error)
4758 __Pyx_GOTREF(__pyx_t_2);
4759 __pyx_t_3 = __Pyx_PyNumber_Divide(__pyx_t_1, __pyx_t_2);
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2982, __pyx_L1_error)
4760 __Pyx_GOTREF(__pyx_t_3);
4761 __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4762 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4763 __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_3);
if (unlikely((__pyx_t_4 == (
int)-1) && PyErr_Occurred())) __PYX_ERR(0, 2982, __pyx_L1_error)
4764 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
4773 groundwaterBryantDawsonIonExEvaluateFC(__pyx_t_4, (__pyx_v_f_m->dimensions[(__pyx_v_f_m->nd - 1)]), __pyx_v_omega, __pyx_v_d_m, __pyx_v_d_h, __pyx_v_alpha_L, __pyx_v_alpha_T, __pyx_v_K_m, __pyx_v_K_h, __pyx_v_K_w, __pyx_v_Z_tot, ((
double *)__pyx_v_v->data), ((
double *)__pyx_v_c_m->data), ((
double *)__pyx_v_c_h->data), ((
double *)__pyx_v_m_m->data), ((
double *)__pyx_v_dm_m_m->data), ((
double *)__pyx_v_dm_m_h->data), ((
double *)__pyx_v_m_h->data), ((
double *)__pyx_v_dm_h_m->data), ((
double *)__pyx_v_dm_h_h->data), ((
double *)__pyx_v_f_m->data), ((
double *)__pyx_v_df_m->data), ((
double *)__pyx_v_f_h->data), ((
double *)__pyx_v_df_h->data), ((
double *)__pyx_v_a_m->data), ((
double *)__pyx_v_a_h->data), ((
double *)__pyx_v_phi_h->data), ((
double *)__pyx_v_dphi_h->data), ((
double *)__pyx_v_r_m->data), ((
double *)__pyx_v_dr_m_dm->data), ((
double *)__pyx_v_dr_m_dh->data), ((
double *)__pyx_v_r_h->data), ((
double *)__pyx_v_dr_h_dm->data), ((
double *)__pyx_v_dr_h_dh->data));
4784 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
4787 __Pyx_XDECREF(__pyx_t_1);
4788 __Pyx_XDECREF(__pyx_t_2);
4789 __Pyx_XDECREF(__pyx_t_3);
4790 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterBryantDawsonIonExEvaluateFC", __pyx_clineno, __pyx_lineno, __pyx_filename);
4793 __Pyx_XGIVEREF(__pyx_r);
4794 __Pyx_RefNannyFinishContext();
4807 static PyObject *__pyx_pw_22ctransportCoefficients_9groundwaterTransportCoefficientsEvaluate_hetMat(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
4808 static PyMethodDef __pyx_mdef_22ctransportCoefficients_9groundwaterTransportCoefficientsEvaluate_hetMat = {
"groundwaterTransportCoefficientsEvaluate_hetMat", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_9groundwaterTransportCoefficientsEvaluate_hetMat, METH_VARARGS|METH_KEYWORDS, 0};
4809 static PyObject *__pyx_pw_22ctransportCoefficients_9groundwaterTransportCoefficientsEvaluate_hetMat(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
4811 PyArrayObject *__pyx_v_materialTypes = 0;
4812 PyArrayObject *__pyx_v_omega_types = 0;
4813 PyArrayObject *__pyx_v_alpha_L_types = 0;
4814 PyArrayObject *__pyx_v_alpha_T_types = 0;
4815 PyArrayObject *__pyx_v_v = 0;
4816 PyArrayObject *__pyx_v_u = 0;
4817 PyArrayObject *__pyx_v_m = 0;
4818 PyArrayObject *__pyx_v_dm = 0;
4819 PyArrayObject *__pyx_v_f = 0;
4820 PyArrayObject *__pyx_v_df = 0;
4821 PyArrayObject *__pyx_v_a = 0;
4822 int __pyx_lineno = 0;
4823 const char *__pyx_filename = NULL;
4824 int __pyx_clineno = 0;
4825 PyObject *__pyx_r = 0;
4826 __Pyx_RefNannyDeclarations
4827 __Pyx_RefNannySetupContext(
"groundwaterTransportCoefficientsEvaluate_hetMat (wrapper)", 0);
4829 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_d,&__pyx_n_s_materialTypes,&__pyx_n_s_omega_types,&__pyx_n_s_alpha_L_types,&__pyx_n_s_alpha_T_types,&__pyx_n_s_v,&__pyx_n_s_u,&__pyx_n_s_m,&__pyx_n_s_dm,&__pyx_n_s_f,&__pyx_n_s_df,&__pyx_n_s_a,0};
4830 PyObject* values[12] = {0,0,0,0,0,0,0,0,0,0,0,0};
4831 if (unlikely(__pyx_kwds)) {
4833 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
4835 case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
4837 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
4839 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
4841 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
4843 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
4845 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
4847 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
4849 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
4851 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
4853 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
4855 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
4857 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
4860 default:
goto __pyx_L5_argtuple_error;
4862 kw_args = PyDict_Size(__pyx_kwds);
4865 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d)) != 0)) kw_args--;
4866 else goto __pyx_L5_argtuple_error;
4869 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_materialTypes)) != 0)) kw_args--;
4871 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 1); __PYX_ERR(0, 3016, __pyx_L3_error)
4875 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_omega_types)) != 0)) kw_args--;
4877 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 2); __PYX_ERR(0, 3016, __pyx_L3_error)
4881 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_L_types)) != 0)) kw_args--;
4883 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 3); __PYX_ERR(0, 3016, __pyx_L3_error)
4887 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_T_types)) != 0)) kw_args--;
4889 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 4); __PYX_ERR(0, 3016, __pyx_L3_error)
4893 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
4895 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 5); __PYX_ERR(0, 3016, __pyx_L3_error)
4899 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_u)) != 0)) kw_args--;
4901 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 6); __PYX_ERR(0, 3016, __pyx_L3_error)
4905 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m)) != 0)) kw_args--;
4907 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 7); __PYX_ERR(0, 3016, __pyx_L3_error)
4911 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm)) != 0)) kw_args--;
4913 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 8); __PYX_ERR(0, 3016, __pyx_L3_error)
4917 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f)) != 0)) kw_args--;
4919 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 9); __PYX_ERR(0, 3016, __pyx_L3_error)
4923 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df)) != 0)) kw_args--;
4925 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 10); __PYX_ERR(0, 3016, __pyx_L3_error)
4929 if (likely((values[11] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a)) != 0)) kw_args--;
4931 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 11); __PYX_ERR(0, 3016, __pyx_L3_error)
4934 if (unlikely(kw_args > 0)) {
4935 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"groundwaterTransportCoefficientsEvaluate_hetMat") < 0)) __PYX_ERR(0, 3016, __pyx_L3_error)
4937 }
else if (PyTuple_GET_SIZE(__pyx_args) != 12) {
4938 goto __pyx_L5_argtuple_error;
4940 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
4941 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
4942 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
4943 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
4944 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
4945 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
4946 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
4947 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
4948 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
4949 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
4950 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
4951 values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
4953 __pyx_v_d = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_d == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 3016, __pyx_L3_error)
4954 __pyx_v_materialTypes = ((PyArrayObject *)values[1]);
4955 __pyx_v_omega_types = ((PyArrayObject *)values[2]);
4956 __pyx_v_alpha_L_types = ((PyArrayObject *)values[3]);
4957 __pyx_v_alpha_T_types = ((PyArrayObject *)values[4]);
4958 __pyx_v_v = ((PyArrayObject *)values[5]);
4959 __pyx_v_u = ((PyArrayObject *)values[6]);
4960 __pyx_v_m = ((PyArrayObject *)values[7]);
4961 __pyx_v_dm = ((PyArrayObject *)values[8]);
4962 __pyx_v_f = ((PyArrayObject *)values[9]);
4963 __pyx_v_df = ((PyArrayObject *)values[10]);
4964 __pyx_v_a = ((PyArrayObject *)values[11]);
4966 goto __pyx_L4_argument_unpacking_done;
4967 __pyx_L5_argtuple_error:;
4968 __Pyx_RaiseArgtupleInvalid(
"groundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 3016, __pyx_L3_error)
4970 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterTransportCoefficientsEvaluate_hetMat", __pyx_clineno, __pyx_lineno, __pyx_filename);
4971 __Pyx_RefNannyFinishContext();
4973 __pyx_L4_argument_unpacking_done:;
4974 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_materialTypes), __pyx_ptype_5numpy_ndarray, 1,
"materialTypes", 0))) __PYX_ERR(0, 3017, __pyx_L1_error)
4975 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_omega_types), __pyx_ptype_5numpy_ndarray, 1,
"omega_types", 0))) __PYX_ERR(0, 3018, __pyx_L1_error)
4976 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_alpha_L_types), __pyx_ptype_5numpy_ndarray, 1,
"alpha_L_types", 0))) __PYX_ERR(0, 3019, __pyx_L1_error)
4977 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_alpha_T_types), __pyx_ptype_5numpy_ndarray, 1,
"alpha_T_types", 0))) __PYX_ERR(0, 3020, __pyx_L1_error)
4978 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_v), __pyx_ptype_5numpy_ndarray, 1,
"v", 0))) __PYX_ERR(0, 3021, __pyx_L1_error)
4979 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_u), __pyx_ptype_5numpy_ndarray, 1,
"u", 0))) __PYX_ERR(0, 3022, __pyx_L1_error)
4980 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_5numpy_ndarray, 1,
"m", 0))) __PYX_ERR(0, 3023, __pyx_L1_error)
4981 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm), __pyx_ptype_5numpy_ndarray, 1,
"dm", 0))) __PYX_ERR(0, 3024, __pyx_L1_error)
4982 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f), __pyx_ptype_5numpy_ndarray, 1,
"f", 0))) __PYX_ERR(0, 3025, __pyx_L1_error)
4983 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df), __pyx_ptype_5numpy_ndarray, 1,
"df", 0))) __PYX_ERR(0, 3026, __pyx_L1_error)
4984 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a), __pyx_ptype_5numpy_ndarray, 1,
"a", 0))) __PYX_ERR(0, 3027, __pyx_L1_error)
4985 __pyx_r = __pyx_pf_22ctransportCoefficients_8groundwaterTransportCoefficientsEvaluate_hetMat(__pyx_self, __pyx_v_d, __pyx_v_materialTypes, __pyx_v_omega_types, __pyx_v_alpha_L_types, __pyx_v_alpha_T_types, __pyx_v_v, __pyx_v_u, __pyx_v_m, __pyx_v_dm, __pyx_v_f, __pyx_v_df, __pyx_v_a);
4992 __Pyx_RefNannyFinishContext();
4996 static PyObject *__pyx_pf_22ctransportCoefficients_8groundwaterTransportCoefficientsEvaluate_hetMat(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_d, PyArrayObject *__pyx_v_materialTypes, PyArrayObject *__pyx_v_omega_types, PyArrayObject *__pyx_v_alpha_L_types, PyArrayObject *__pyx_v_alpha_T_types, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a) {
4997 PyObject *__pyx_r = NULL;
4998 __Pyx_RefNannyDeclarations
5000 PyObject *__pyx_t_2 = NULL;
5001 PyObject *__pyx_t_3 = NULL;
5002 PyObject *__pyx_t_4 = NULL;
5004 int __pyx_lineno = 0;
5005 const char *__pyx_filename = NULL;
5006 int __pyx_clineno = 0;
5007 __Pyx_RefNannySetupContext(
"groundwaterTransportCoefficientsEvaluate_hetMat", 0);
5016 #ifndef CYTHON_WITHOUT_ASSERTIONS
5017 if (unlikely(!Py_OptimizeFlag)) {
5018 switch (__pyx_v_u->nd) {
5027 if (unlikely(!(__pyx_t_1 != 0))) {
5028 PyErr_SetNone(PyExc_AssertionError);
5029 __PYX_ERR(0, 3028, __pyx_L1_error)
5041 __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_u), __pyx_n_s_size);
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 3029, __pyx_L1_error)
5042 __Pyx_GOTREF(__pyx_t_2);
5043 __pyx_t_3 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_u->dimensions[(__pyx_v_u->nd - 1)]));
if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 3029, __pyx_L1_error)
5044 __Pyx_GOTREF(__pyx_t_3);
5045 __pyx_t_4 = __Pyx_PyNumber_Divide(__pyx_t_2, __pyx_t_3);
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3029, __pyx_L1_error)
5046 __Pyx_GOTREF(__pyx_t_4);
5047 __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5048 __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5049 __pyx_t_5 = __Pyx_PyInt_As_int(__pyx_t_4);
if (unlikely((__pyx_t_5 == (
int)-1) && PyErr_Occurred())) __PYX_ERR(0, 3029, __pyx_L1_error)
5050 __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5059 groundwaterTransportCoefficientsEvaluate_hetMat(__pyx_t_5, (__pyx_v_u->dimensions[(__pyx_v_u->nd - 1)]), (__pyx_v_f->dimensions[(__pyx_v_f->nd - 1)]), __pyx_v_d, ((
int *)__pyx_v_materialTypes->data), ((
double *)__pyx_v_omega_types->data), ((
double *)__pyx_v_alpha_L_types->data), ((
double *)__pyx_v_alpha_T_types->data), ((
double *)__pyx_v_v->data), ((
double *)__pyx_v_u->data), ((
double *)__pyx_v_m->data), ((
double *)__pyx_v_dm->data), ((
double *)__pyx_v_f->data), ((
double *)__pyx_v_df->data), ((
double *)__pyx_v_a->data));
5070 __pyx_r = Py_None; __Pyx_INCREF(Py_None);
5073 __Pyx_XDECREF(__pyx_t_2);
5074 __Pyx_XDECREF(__pyx_t_3);
5075 __Pyx_XDECREF(__pyx_t_4);
5076 __Pyx_AddTraceback(
"ctransportCoefficients.groundwaterTransportCoefficientsEvaluate_hetMat", __pyx_clineno, __pyx_lineno, __pyx_filename);
5079 __Pyx_XGIVEREF(__pyx_r);
5080 __Pyx_RefNannyFinishContext();
5093 static PyObject *__pyx_pw_22ctransportCoefficients_11variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds);
5094 static PyMethodDef __pyx_mdef_22ctransportCoefficients_11variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat = {
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", (PyCFunction)(
void*)(PyCFunctionWithKeywords)__pyx_pw_22ctransportCoefficients_11variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat, METH_VARARGS|METH_KEYWORDS, 0};
5095 static PyObject *__pyx_pw_22ctransportCoefficients_11variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
5097 PyArrayObject *__pyx_v_materialTypes = 0;
5098 PyArrayObject *__pyx_v_theta = 0;
5099 PyArrayObject *__pyx_v_alpha_L_types = 0;
5100 PyArrayObject *__pyx_v_alpha_T_types = 0;
5101 PyArrayObject *__pyx_v_v = 0;
5102 PyArrayObject *__pyx_v_u = 0;
5103 PyArrayObject *__pyx_v_m = 0;
5104 PyArrayObject *__pyx_v_dm = 0;
5105 PyArrayObject *__pyx_v_f = 0;
5106 PyArrayObject *__pyx_v_df = 0;
5107 PyArrayObject *__pyx_v_a = 0;
5108 int __pyx_lineno = 0;
5109 const char *__pyx_filename = NULL;
5110 int __pyx_clineno = 0;
5111 PyObject *__pyx_r = 0;
5112 __Pyx_RefNannyDeclarations
5113 __Pyx_RefNannySetupContext(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat (wrapper)", 0);
5115 static PyObject **__pyx_pyargnames[] = {&__pyx_n_s_d,&__pyx_n_s_materialTypes,&__pyx_n_s_theta,&__pyx_n_s_alpha_L_types,&__pyx_n_s_alpha_T_types,&__pyx_n_s_v,&__pyx_n_s_u,&__pyx_n_s_m,&__pyx_n_s_dm,&__pyx_n_s_f,&__pyx_n_s_df,&__pyx_n_s_a,0};
5116 PyObject* values[12] = {0,0,0,0,0,0,0,0,0,0,0,0};
5117 if (unlikely(__pyx_kwds)) {
5119 const Py_ssize_t pos_args = PyTuple_GET_SIZE(__pyx_args);
5121 case 12: values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
5123 case 11: values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
5125 case 10: values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
5127 case 9: values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
5129 case 8: values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
5131 case 7: values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
5133 case 6: values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
5135 case 5: values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
5137 case 4: values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
5139 case 3: values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5141 case 2: values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5143 case 1: values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5146 default:
goto __pyx_L5_argtuple_error;
5148 kw_args = PyDict_Size(__pyx_kwds);
5151 if (likely((values[0] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_d)) != 0)) kw_args--;
5152 else goto __pyx_L5_argtuple_error;
5155 if (likely((values[1] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_materialTypes)) != 0)) kw_args--;
5157 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 1); __PYX_ERR(0, 3045, __pyx_L3_error)
5161 if (likely((values[2] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_theta)) != 0)) kw_args--;
5163 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 2); __PYX_ERR(0, 3045, __pyx_L3_error)
5167 if (likely((values[3] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_L_types)) != 0)) kw_args--;
5169 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 3); __PYX_ERR(0, 3045, __pyx_L3_error)
5173 if (likely((values[4] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_alpha_T_types)) != 0)) kw_args--;
5175 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 4); __PYX_ERR(0, 3045, __pyx_L3_error)
5179 if (likely((values[5] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_v)) != 0)) kw_args--;
5181 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 5); __PYX_ERR(0, 3045, __pyx_L3_error)
5185 if (likely((values[6] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_u)) != 0)) kw_args--;
5187 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 6); __PYX_ERR(0, 3045, __pyx_L3_error)
5191 if (likely((values[7] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_m)) != 0)) kw_args--;
5193 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 7); __PYX_ERR(0, 3045, __pyx_L3_error)
5197 if (likely((values[8] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_dm)) != 0)) kw_args--;
5199 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 8); __PYX_ERR(0, 3045, __pyx_L3_error)
5203 if (likely((values[9] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_f)) != 0)) kw_args--;
5205 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 9); __PYX_ERR(0, 3045, __pyx_L3_error)
5209 if (likely((values[10] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_df)) != 0)) kw_args--;
5211 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 10); __PYX_ERR(0, 3045, __pyx_L3_error)
5215 if (likely((values[11] = __Pyx_PyDict_GetItemStr(__pyx_kwds, __pyx_n_s_a)) != 0)) kw_args--;
5217 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, 11); __PYX_ERR(0, 3045, __pyx_L3_error)
5220 if (unlikely(kw_args > 0)) {
5221 if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, pos_args,
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat") < 0)) __PYX_ERR(0, 3045, __pyx_L3_error)
5223 }
else if (PyTuple_GET_SIZE(__pyx_args) != 12) {
5224 goto __pyx_L5_argtuple_error;
5226 values[0] = PyTuple_GET_ITEM(__pyx_args, 0);
5227 values[1] = PyTuple_GET_ITEM(__pyx_args, 1);
5228 values[2] = PyTuple_GET_ITEM(__pyx_args, 2);
5229 values[3] = PyTuple_GET_ITEM(__pyx_args, 3);
5230 values[4] = PyTuple_GET_ITEM(__pyx_args, 4);
5231 values[5] = PyTuple_GET_ITEM(__pyx_args, 5);
5232 values[6] = PyTuple_GET_ITEM(__pyx_args, 6);
5233 values[7] = PyTuple_GET_ITEM(__pyx_args, 7);
5234 values[8] = PyTuple_GET_ITEM(__pyx_args, 8);
5235 values[9] = PyTuple_GET_ITEM(__pyx_args, 9);
5236 values[10] = PyTuple_GET_ITEM(__pyx_args, 10);
5237 values[11] = PyTuple_GET_ITEM(__pyx_args, 11);
5239 __pyx_v_d = __pyx_PyFloat_AsDouble(values[0]);
if (unlikely((__pyx_v_d == (
double)-1) && PyErr_Occurred())) __PYX_ERR(0, 3045, __pyx_L3_error)
5240 __pyx_v_materialTypes = ((PyArrayObject *)values[1]);
5241 __pyx_v_theta = ((PyArrayObject *)values[2]);
5242 __pyx_v_alpha_L_types = ((PyArrayObject *)values[3]);
5243 __pyx_v_alpha_T_types = ((PyArrayObject *)values[4]);
5244 __pyx_v_v = ((PyArrayObject *)values[5]);
5245 __pyx_v_u = ((PyArrayObject *)values[6]);
5246 __pyx_v_m = ((PyArrayObject *)values[7]);
5247 __pyx_v_dm = ((PyArrayObject *)values[8]);
5248 __pyx_v_f = ((PyArrayObject *)values[9]);
5249 __pyx_v_df = ((PyArrayObject *)values[10]);
5250 __pyx_v_a = ((PyArrayObject *)values[11]);
5252 goto __pyx_L4_argument_unpacking_done;
5253 __pyx_L5_argtuple_error:;
5254 __Pyx_RaiseArgtupleInvalid(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 1, 12, 12, PyTuple_GET_SIZE(__pyx_args)); __PYX_ERR(0, 3045, __pyx_L3_error)
5256 __Pyx_AddTraceback(
"ctransportCoefficients.variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", __pyx_clineno, __pyx_lineno, __pyx_filename);
5257 __Pyx_RefNannyFinishContext();
5259 __pyx_L4_argument_unpacking_done:;
5260 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_materialTypes), __pyx_ptype_5numpy_ndarray, 1,
"materialTypes", 0))) __PYX_ERR(0, 3046, __pyx_L1_error)
5261 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_theta), __pyx_ptype_5numpy_ndarray, 1,
"theta", 0))) __PYX_ERR(0, 3047, __pyx_L1_error)
5262 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_alpha_L_types), __pyx_ptype_5numpy_ndarray, 1,
"alpha_L_types", 0))) __PYX_ERR(0, 3048, __pyx_L1_error)
5263 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_alpha_T_types), __pyx_ptype_5numpy_ndarray, 1,
"alpha_T_types", 0))) __PYX_ERR(0, 3049, __pyx_L1_error)
5264 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_v), __pyx_ptype_5numpy_ndarray, 1,
"v", 0))) __PYX_ERR(0, 3050, __pyx_L1_error)
5265 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_u), __pyx_ptype_5numpy_ndarray, 1,
"u", 0))) __PYX_ERR(0, 3051, __pyx_L1_error)
5266 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_m), __pyx_ptype_5numpy_ndarray, 1,
"m", 0))) __PYX_ERR(0, 3052, __pyx_L1_error)
5267 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_dm), __pyx_ptype_5numpy_ndarray, 1,
"dm", 0))) __PYX_ERR(0, 3053, __pyx_L1_error)
5268 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_f), __pyx_ptype_5numpy_ndarray, 1,
"f", 0))) __PYX_ERR(0, 3054, __pyx_L1_error)
5269 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_df), __pyx_ptype_5numpy_ndarray, 1,
"df", 0))) __PYX_ERR(0, 3055, __pyx_L1_error)
5270 if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_a), __pyx_ptype_5numpy_ndarray, 1,
"a", 0))) __PYX_ERR(0, 3056, __pyx_L1_error)
5271 __pyx_r = __pyx_pf_22ctransportCoefficients_10variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat(__pyx_self, __pyx_v_d, __pyx_v_materialTypes, __pyx_v_theta, __pyx_v_alpha_L_types, __pyx_v_alpha_T_types, __pyx_v_v, __pyx_v_u, __pyx_v_m, __pyx_v_dm, __pyx_v_f, __pyx_v_df, __pyx_v_a);
5278 __Pyx_RefNannyFinishContext();
5282 static PyObject *__pyx_pf_22ctransportCoefficients_10variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat(CYTHON_UNUSED PyObject *__pyx_self,
double __pyx_v_d, PyArrayObject *__pyx_v_materialTypes, PyArrayObject *__pyx_v_theta, PyArrayObject *__pyx_v_alpha_L_types, PyArrayObject *__pyx_v_alpha_T_types, PyArrayObject *__pyx_v_v, PyArrayObject *__pyx_v_u, PyArrayObject *__pyx_v_m, PyArrayObject *__pyx_v_dm, PyArrayObject *__pyx_v_f, PyArrayObject *__pyx_v_df, PyArrayObject *__pyx_v_a) {
5283 npy_intp __pyx_v_nSimplex;
5284 npy_intp __pyx_v_nPointsPerSimplex;
5285 PyObject *__pyx_r = NULL;
5286 __Pyx_RefNannyDeclarations
5288 int __pyx_lineno = 0;
5289 const char *__pyx_filename = NULL;
5290 int __pyx_clineno = 0;
5291 __Pyx_RefNannySetupContext(
"variablySaturatedGroundwaterTransportCoefficientsEvaluate_hetMat", 0);
5300 switch (__pyx_v_u->nd) {
5311 __pyx_t_1 = ((__pyx_v_u->nd == 2) != 0);
5321 __pyx_v_nSimplex = (__pyx_v_u->dimensions[0]);
5330 __pyx_v_nPointsPerSimplex = (__pyx_v_u->dimensions[1]);
5350 __pyx_v_nSimplex = ((__pyx_v_u->dimensions[0]) * (__pyx_v_u->dimensions[1]));
5359 __pyx_v_nPointsPerSimplex = (__pyx_v_u->dimensions[2]);