mpacts.core. smoothingkernels

In order to be able to use this module import it like this:

import mpacts.core.smoothingkernels
#or assign it to a shorter name
import mpacts.core.smoothingkernels as smo

CohesionSplineAkinci3D

class mpacts.core.smoothingkernels.CohesionSplineAkinci3D

Bases: mpacts.core.baseobject.BaseObject

3D spline Kernel for cohesion (e.g. surface tension) from Akinci et al.
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
CohesionSplineAkinci3D(name, parent, **kwargs)
dValue((CohesionSplineAkinci3D)arg1, (float)arg2) → float
value((CohesionSplineAkinci3D)arg1, (float)arg2) → float

CubicSpline2D

class mpacts.core.smoothingkernels.CubicSpline2D

Bases: mpacts.core.baseobject.BaseObject

2D Cubic spline kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
CubicSpline2D(name, parent, **kwargs)
dValue((CubicSpline2D)arg1, (float)arg2) → float
value((CubicSpline2D)arg1, (float)arg2) → float

CubicSpline3D

class mpacts.core.smoothingkernels.CubicSpline3D

Bases: mpacts.core.baseobject.BaseObject

3D Cubic spline kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
CubicSpline3D(name, parent, **kwargs)
dValue((CubicSpline3D)arg1, (float)arg2) → float
value((CubicSpline3D)arg1, (float)arg2) → float

IBM2D

class mpacts.core.smoothingkernels.IBM2D

Bases: mpacts.core.baseobject.BaseObject

2D Kernel for Immersed Boundary distribution of Value on nodes to a value density on an Eulerian mesh.
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
IBM2D(name, parent, **kwargs)
dValue((IBM2D)arg1, (float)arg2) → float
value((IBM2D)arg1, (float)arg2) → float

IBM3D

class mpacts.core.smoothingkernels.IBM3D

Bases: mpacts.core.baseobject.BaseObject

3D Cosine-based Kernel for Immersed Boundary distribution of Value on nodes to a value density on an Eulerian mesh.
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
IBM3D(name, parent, **kwargs)
dValue((IBM3D)arg1, (float)arg2) → float
value((IBM3D)arg1, (float)arg2) → float

QuinticSpline2D

class mpacts.core.smoothingkernels.QuinticSpline2D

Bases: mpacts.core.baseobject.BaseObject

2D Quintic spline kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
QuinticSpline2D(name, parent, **kwargs)
dValue((QuinticSpline2D)arg1, (float)arg2) → float
value((QuinticSpline2D)arg1, (float)arg2) → float

QuinticSpline3D

class mpacts.core.smoothingkernels.QuinticSpline3D

Bases: mpacts.core.baseobject.BaseObject

3D Quintic spline kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
QuinticSpline3D(name, parent, **kwargs)
dValue((QuinticSpline3D)arg1, (float)arg2) → float
value((QuinticSpline3D)arg1, (float)arg2) → float

Wendland2D

class mpacts.core.smoothingkernels.Wendland2D

Bases: mpacts.core.baseobject.BaseObject

2D Wendland kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
Wendland2D(name, parent, **kwargs)
dValue((Wendland2D)arg1, (float)arg2) → float
value((Wendland2D)arg1, (float)arg2) → float

Wendland3D

class mpacts.core.smoothingkernels.Wendland3D

Bases: mpacts.core.baseobject.BaseObject

3D Wendland kernel
Has no default location.
  • Required keywords:
    • h — Smoothing length h
object __init__(tuple args, dict kwds) :
args: name, parent kwds: h
Wendland3D(name, parent, **kwargs)
dValue((Wendland3D)arg1, (float)arg2) → float
value((Wendland3D)arg1, (float)arg2) → float