Skip to content
Snippets Groups Projects
Commit 480d2f8b authored by Max Lindqvist's avatar Max Lindqvist
Browse files

Added floor divisions

parent c7083a8e
No related branches found
No related tags found
No related merge requests found
Pipeline #258771 passed
...@@ -15,6 +15,9 @@ from numpy import empty, zeros ...@@ -15,6 +15,9 @@ from numpy import empty, zeros
import gvec_to_python.hylife.utilities_FEEC.bsplines_kernels as bsp import gvec_to_python.hylife.utilities_FEEC.bsplines_kernels as bsp
def floor_func2(x: int):
return x // 2
# ======================================================== # ========================================================
def evaluation_kernel(p: int, basis: 'float[:]', span: int, nbase: int, coeff: 'float[:]'): def evaluation_kernel(p: int, basis: 'float[:]', span: int, nbase: int, coeff: 'float[:]'):
......
...@@ -35,7 +35,8 @@ import gvec_to_python.hylife.utilities_FEEC.derivatives.derivatives as der ...@@ -35,7 +35,8 @@ import gvec_to_python.hylife.utilities_FEEC.derivatives.derivatives as der
# D = 2 # D = 2
# dN = 3 # dN = 3
def floor_func(x: int):
return x // 2
# =============== 1d B-spline space ====================== # =============== 1d B-spline space ======================
class spline_space_1d: class spline_space_1d:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment