Hi, professor,
thanks for sharing the codes, I am confused of the tencil.
(1) In the function addFEMConstraints, Is (D)stencil(x, y, z) the B-spline? If it is, in addInterpolationConstraints,
what is _CalculateConstraint_(pData, bsData.baseBSplines[fIdx[0]][x + LeftSupportRadius],...,bsData.dBaseBSplines[fIdx[0]][x + LeftSupportRadius],...)?This also looks like B-splines.
(2)What is the relationship between stencil and stencils[2][2][2]?
(3)In the function _CalculateConstraint_, I notice that when we update constraints, we use parameters p._value, what is the difference between parameter p._value and p.value?
Hi, professor, thanks for sharing the codes, I am confused of the tencil.
(1) In the function
addFEMConstraints
, Is(D)stencil(x, y, z)
the B-spline? If it is, inaddInterpolationConstraints
, what is_CalculateConstraint_(pData, bsData.baseBSplines[fIdx[0]][x + LeftSupportRadius],...,bsData.dBaseBSplines[fIdx[0]][x + LeftSupportRadius],...)
?This also looks like B-splines.(2)What is the relationship between
stencil
andstencils[2][2][2]
?(3)In the function
_CalculateConstraint_
, I notice that when we update constraints, we use parametersp._value
, what is the difference between parameterp._value
andp.value
?thank you very much!