Documentation ¶
Index ¶
- func Gamma0(alpha, beta float64) float64
- func Gamma1(alpha, beta float64) float64
- func GeometricFactors1D(Dr, X utils.Matrix) (J, Rx utils.Matrix)
- func GradJacobiP(r utils.Vector, alpha, beta float64, N int) (p []float64)
- func GradVandermonde1D(r utils.Vector, N int) (Vr utils.Matrix)
- func JacobiGL(alpha, beta float64, N int) (R utils.Vector)
- func JacobiGQ(alpha, beta float64, N int) (X, W utils.Vector)
- func JacobiP(r utils.Vector, alpha, beta float64, N int) (p []float64)
- func LagrangePolyAtJ(r float64, R []float64, j int) (s float64)
- func LegendreZeros(N int, reverseO ...bool) (X []float64)
- func Lift1D(V utils.Matrix, Np, Nfaces, Nfp int) (LIFT utils.Matrix)
- func Minmod(vecs ...utils.Vector) (R utils.Vector)
- func MinmodB(M, h float64, vecs ...utils.Vector) (R utils.Vector)
- func Normals1D(Nfaces, Nfp, K int) (NX utils.Matrix)
- func SimpleMesh1D(xmin, xmax float64, K int) (VX utils.Vector, EToV utils.Matrix)
- func Vandermonde1D(N int, R utils.Vector) (V utils.Matrix)
- type Elements1D
- func (el *Elements1D) BuildMaps1D()
- func (el *Elements1D) Connect1D()
- func (el *Elements1D) FaceMap() (VmapM, VmapP utils.Index)
- func (el *Elements1D) LagrangeInterpolant(r float64) (Li utils.Matrix)
- func (el Elements1D) SlopeLimitLin(ul, xl utils.Matrix, vm1, v0, vp1 utils.Vector) (ULim utils.Matrix)
- func (el Elements1D) SlopeLimitN(U utils.Matrix, M float64) (ULim utils.Matrix)
- func (el *Elements1D) Startup1D(nt NODE_TYPE)
- type NODE_TYPE
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LegendreZeros ¶
func SimpleMesh1D ¶
Types ¶
type Elements1D ¶
type Elements1D struct {
K, Np, Nfp, NFaces int
R, VX, FMask utils.Vector
EToV, EToE, EToF utils.Matrix
X, Dr, Rx, FScale, NX, LIFT utils.Matrix
V, Vinv utils.Matrix
VmapM, VmapP, VmapB, VmapI, VmapO utils.Index
MapB, MapI, MapO utils.Index
}
func NewElements1D ¶
func (*Elements1D) BuildMaps1D ¶
func (el *Elements1D) BuildMaps1D()
func (*Elements1D) Connect1D ¶
func (el *Elements1D) Connect1D()
func (*Elements1D) FaceMap ¶
func (el *Elements1D) FaceMap() (VmapM, VmapP utils.Index)
func (*Elements1D) LagrangeInterpolant ¶
func (el *Elements1D) LagrangeInterpolant(r float64) (Li utils.Matrix)
func (Elements1D) SlopeLimitLin ¶
func (Elements1D) SlopeLimitN ¶
func (*Elements1D) Startup1D ¶
func (el *Elements1D) Startup1D(nt NODE_TYPE)
Click to show internal directories.
Click to hide internal directories.