CHANGELOG dune-functions 2.10.0
Download the Dune 2.10.0 module sources
- dune-functions [ tarball: dune-functions-2.10.0.tar.gz , signature: dune-functions-2.10.0.tar.gz.asc ]
Dune-functions changes
Any version of dune-functions is supposed to be compatible with the corresponding version of the Dune core modules.
Release 2.10
- The module dune-uggrid is now officially a hard dependency of dune-functions.
- Added a constructor for
LocalViewWrapper
from aLocalView
object and added accessor to base class for python bindings. - The class
Polynomial
now allows to explicitly specify the used coefficient container. Supported containers arestd::vector
(default, as before),std::array
,std::tuple
, andstd::integer_sequence
. Class template argument deduction allows to deduce the scalar type from homogeneous containers. The scalar type can be explicitly specified to be different with themakePolynomial()
helper function, while the coefficients container type is still deduced. - Make
AnalyticGridViewFunction
copyable - The method
operator()
of the classDiscreteGlobalBasisFunction
has been implemented. It evaluates a piecewise function on a grid at a point given in global coordinates. As this evaluation requires finding the element that the evaluation point is in, it can be very slow. - Reimplement
HasStaticSize
in terms by checkingHybrid::size()
- Add utility
StaticSizeOrZero
that defaults to theintegral_constant<size_t,0>
in case the container does only have dynamic size. - Add global coordinate evaluation for
CompositeGridFunction
- Add new global basis function based on refined Lagrange local-functions. The pre-basis is called
template <typename GV, int k, typename R=double> class RefinedLagrangePreBasis
and a corresponding pre-basis-factoryrefinedLagrange<k,R=double>()
withk=[1|2]
currently implemented. - All basis implementations are now copyable and assignable
- Add mixin class
LeafPreBasisMixin
and make available the mixin classLeafPreBasisMapperMixin
to simplify writing of new pre-bases. - Add a dynamic power basis with a runtime exponent that can be constructed with the factory
power(<sub-basis>, k)
orpower(<sub-basis>, k, <index-merging>)
. - Add mixin class
LFEPreBasisMixin
to create leaf pre-bases based on a local finite-element and a layout. - The class
LeafPreBasisMapperMixIn
is renamed intoLeafPreBasisMapperMixin
. - Add data structures for container descriptors in namespace
Dune::Functions::ContainerDescriptors
. - Introduce a new member-function
.containerDescriptor()
for all pre-bases that return an instance of one of the container descriptors to represent a container that can be indexed by the multi-indices of that pre-basis. - Container descriptor for power bases with blocked-interleaved index-merging-strategy added.
Python
- The Nédélec and Raviart-Thomas function space bases are now accessible via the Python interface.
Deprecations and removals
- The class
DefaultNodeToRangeMap
and the corresponding headerfunctionspacebases/defaultnodetorangemap.hh
have been deprecated. This has been replaced as default byHierarchicNodeToRangeMap
for some time. - The
BasisBuilder
namespace is deprecated and will be removed after the 2.10 release. UseBasisFactory
instead. - The headers
common/callable.hh
andcommon/functionfromcallable.hh
providing adaptors the the removedVirtualFunction
interface from dune-common have been removed. - Remove deprecated
DefaultLocalView::isBound()
, usebound()
instead. - The class
HierarchicalVectorWrapper
and the corresponding headerfunctionspacebases/hierarchicvectorwrapper.hh
have been deprecated. UseistlVectorBackend()
frombackends/istlvectorbackend.hh
instead. - The class
SizeInfo
and the corresponding headerfunctionspacebases/sizeinfo.hh
have been deprecated. One now can directly usevectorBackend.resize(globalBasis)
instead ofvectorBackend.resize(sizeInfo(globalBasis))
. - The deprecated header
common/treedata.hh
was removed. - The deprecated header
common/referencehelper.hh
was removed. Use the corresponding header from dune-common instead.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 6, 23:26, 2024)