gsHSplines

The methods in gsHSplines contain methods for hierarchical splines.

Function Documentation

Gismo.HBSplineMethod
HBSpline(basis::Basis, coefs::Matrix{Cdouble})

Arguments

  • basis::Basis: a basis object
  • coefs::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
source
Gismo.HBSplineBasisMethod
HBSplineBasis(basis::Basis)

Arguments

  • basis::Basis: a basis object

Examples

kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
thb = HBSplineBasis(b)
# output
source
Gismo.THBSplineMethod
THBSpline(basis::Basis, coefs::Matrix{Cdouble})

Arguments

  • basis::Basis: a basis object
  • coefs::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
source
Gismo.THBSplineBasisMethod
THBSplineBasis(basis::Basis)

Arguments

  • basis::Basis: a basis object

Examples

kv = KnotVector([0.,0.,0.,1.,1.,1.])
b = BSplineBasis(kv)
thb = THBSplineBasis(b)
# output
source