gsHSplines
The methods in gsHSplines
contain methods for hierarchical splines.
Function Documentation
Gismo.HBSpline
— MethodHBSpline(basis::Basis, coefs::Matrix{Cdouble})
Arguments
basis::Basis
: a basis objectcoefs::Matrix{Cdouble}
: a matrix of coefficients
Examples
kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
hb = HBSplineBasis(b)
coefs = rand(3,2)
g = HBSpline(hb,coefs)
# output
Gismo.HBSplineBasis
— MethodHBSplineBasis(basis::Basis)
Arguments
basis::Basis
: a basis object
Examples
kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
thb = HBSplineBasis(b)
# output
Gismo.THBSpline
— MethodTHBSpline(basis::Basis, coefs::Matrix{Cdouble})
Arguments
basis::Basis
: a basis objectcoefs::Matrix{Cdouble}
: a matrix of coefficients
Examples
kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
thb = THBSplineBasis(b)
coefs = rand(3,2)
g = THBSpline(thb,coefs)
# output
Gismo.THBSplineBasis
— MethodTHBSplineBasis(basis::Basis)
Arguments
basis::Basis
: a basis object
Examples
kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
thb = THBSplineBasis(b)
# output