Skip to content

Cleanup DiscreteGlobalBasisFunction(Derivative)

  • Unify algorithm for mapping shape function range and coefficient to the function range. Effectively the new implementation produuces the same results but is much easier to understand and describe.
  • Move DiscreteGlobalBasisFunctionBase to implementation name space.
  • Factor out access to nodeToRangeMap` and assignment of different container types.
  • Uniformly initialize all vectors/coefficients with istlVectorBackend(c)=0;
  • Don't use operator+= when we actually assign a zero-initialized value.
  • Swap loop order. Having the statically sized loop inside it is more likely to be unrolled.

Merge request reports

Loading