Small changes for basis, knot vector, domain iterator#712
Conversation
Add paraview write for boxes represented by matrices Add nestedness check of knot vector Add extra constructor for `gsTensorDomainBoundaryIterator` FIX ID of `gsTensorDomainIterator`
filiatra
left a comment
There was a problem hiding this comment.
There is the function:
gsBasisFun function(index_t i) const
that can be used to get a handle on a single basis function.
This should do the same as "computesingle".
Can you tryto use that and if it works the same, remove computeSinge ?
it looks a bit of duplicated functionality.
hverhelst
left a comment
There was a problem hiding this comment.
I have reverted the computeSingle. There is still the evalAllDersDingle_into, but that one provides an implementation of an existing function with that name using different input arguments.
better is to use the version with `std::vector<gsMatrix<T>>`. The only use of `evalAllDersSingle_into` is inside `gsBSplineBasis`, which throws a bug warning.
|
I have checked this PR again, @filiatra could you have a look. |
NEW:
Paraview write for boxes represented by matrices
Nestedness check of knot vector
Extra constructor for
gsTensorDomainBoundaryIteratorIMPROVED:
FIXED:
ID of
gsTensorDomainIteratorAPI:
Make
gsBasis<T>::evalAllDersSingle_intowith argumentgsMatrix<T> &deprecated, and addgsBasis<T>::evalAllDersSingle_intowith argumentstd::vector<gsMatrix<T>>in line withevalAllDers_into. OnlygsBSplineBasis::evalAllDersSingle_intooverloads, but throws a warning for a bug anyways.Please consider the following checklist before issuing a pull
request:
you'd like us to include them?