![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
unaryoperators.hh
Go to the documentation of this file.
110 using CacheManager = Dune::Fufem::Forms::CacheManager<typename Element::Geometry::ctype, Element::Geometry::mydimension>;
152 cacheManager.template getCache<TreeCache>(cacheIndex_)[subspaceBasis_.prefixPath()].setNonAffine();
248 void bind(const Intersection& intersection, const Element& element, const Element& otherElement)
306 return FEFunctionOperator<Basis, decltype(childTP), argIndex>(Base::subspaceBasis_.rootBasis(), childTP, Base::isAffine_);
333 Dune::FieldMatrix<typename LeafLBTraits::RangeFieldType, Node::degree(), LeafLBTraits::dimDomain>>;
340 using Range = typename Impl::GlobalJacobianTraits<ReferenceJacobian, GeometryJacobianInverse>::type;
365 void bind(const Intersection& intersection, const Element& element, const Element& otherElement)
423 return FEFunctionJacobianOperator<Basis, decltype(childTP), argIndex>(Base::subspaceBasis_.rootBasis(), childTP, Base::isAffine_);
477 void bind(const Intersection& intersection, const Element& element, const Element& otherElement)
492 using LocalBasisTraits = typename Base::LeafNode::FiniteElement::Traits::LocalBasisType::Traits;
This header provides fallback implementations for dune-typetree<2.11.
int size() const
std::ptrdiff_t index() const
size_t() const
decltype(auto) child(Node &&node, TreePath< Indices... > treePath)
constexpr index_constant< 0 > _0
auto div(const Op &op)
Obtain the divergence of an operator.
Definition userfunctions.hh:1200
STL namespace.
Definition baseclass.hh:22
RF RangeFieldType
Base class for unary multilinear operator implementations.
Definition baseclass.hh:91
A hierarchic cache for storing shape function evaluations for a tree.
Definition shapefunctioncache.hh:107
Objects of this class are used to uniquely identifies a cache.
Definition shapefunctioncache.hh:569
A class for managing caches of different types.
Definition shapefunctioncache.hh:615
size_type registerCache(UniqueCacheId uniqueCacheId, Cache &&cache)
Register a new cache.
Definition shapefunctioncache.hh:753
Base class of elementary differential operators on an FE-space.
Definition unaryoperators.hh:61
typename Dune::TypeTree::ChildForTreePath< Tree, TP > Node
Definition unaryoperators.hh:66
typename B::LocalView LocalView
Definition unaryoperators.hh:64
SubspaceBasis subspaceBasis_
Definition unaryoperators.hh:195
typename Dune::TypeTree::ChildForTreePath< Tree, LeafTreePath > LeafNode
Definition unaryoperators.hh:85
typename Basis::LocalView::Element Element
Definition unaryoperators.hh:91
decltype(leafTreePath(std::declval< TP >())) LeafTreePath
Definition unaryoperators.hh:84
FEOperatorBase(const Basis &basis, const TreePath &treePath, bool isAffine=true)
Definition unaryoperators.hh:94
typename Dune::Functions::SubspaceBasis< B, TP > SubspaceBasis
Definition unaryoperators.hh:67
static auto leafTreePath(const TP &tp)
Definition unaryoperators.hh:75
typename Basis::GridView::Intersection Intersection
Definition unaryoperators.hh:92
typename LocalView::Tree Tree
Definition unaryoperators.hh:65
Definition unaryoperators.hh:100
bool isAffine_
Definition unaryoperators.hh:176
SubspaceBasis subspaceBasis_
Definition unaryoperators.hh:170
void unbind()
Definition unaryoperators.hh:126
LocalOperator(const SubspaceBasis &subspaceBasis, bool isAffine)
Definition unaryoperators.hh:112
void registerOutsideCaches(CacheManager &cacheManager)
Definition unaryoperators.hh:155
LocalOperator(const FEOperatorBase &op)
Definition unaryoperators.hh:122
const LocalView * localView_
Definition unaryoperators.hh:173
typename FEOperatorBase::Element Element
Definition unaryoperators.hh:108
void registerOutsideLocalViews(const LV &... lvs)
Definition unaryoperators.hh:144
void registerCaches(CacheManager &cacheManager)
Definition unaryoperators.hh:147
auto quadratureRuleKey() const
Definition unaryoperators.hh:129
ShapeFunctionCache< Tree > TreeCache
Definition unaryoperators.hh:103
QuadratureRuleKey quadratureRuleKey_
Definition unaryoperators.hh:174
auto & leafNodeCache(CacheManager &cacheManager)
Definition unaryoperators.hh:165
std::size_t cacheIndex_
Definition unaryoperators.hh:175
void registerLocalViews(const LV &... lvs)
Definition unaryoperators.hh:135
const LeafNode * leafNode_
Definition unaryoperators.hh:172
const LeafTreePath leafTreePath_
Definition unaryoperators.hh:171
const LeafNode & leafNode() const
Definition unaryoperators.hh:160
typename FEOperatorBase::Intersection Intersection
Definition unaryoperators.hh:109
Linear map representing the elements of an FE-space.
Definition unaryoperators.hh:212
auto childOperator(Dune::index_constant< i > childIndex) const
Definition unaryoperators.hh:302
typename Base::Element Element
Definition unaryoperators.hh:219
friend LocalOperator localOperator(const FEFunctionOperator &op)
Definition unaryoperators.hh:296
std::conditional_t< Dune::Fufem::Impl::Concept::LeafTreeNode< Node >, typename LeafLBTraits::RangeType, Dune::FieldVector< typename LeafLBTraits::RangeFieldType, Node::degree()> > Range
Definition unaryoperators.hh:223
Definition unaryoperators.hh:228
typename Base::LocalOperator::Intersection Intersection
Definition unaryoperators.hh:236
void bind(const Element &)
Definition unaryoperators.hh:240
void bind(const Intersection &intersection, const Element &element, const Element &otherElement)
Definition unaryoperators.hh:248
typename Base::LocalOperator::CacheManager CacheManager
Definition unaryoperators.hh:237
void bindToCaches(CacheManager &cacheManager, OutsideCacheManager &... outsideCacheManager)
Definition unaryoperators.hh:254
auto operator()(std::size_t index) const
Definition unaryoperators.hh:259
typename FEFunctionOperator::Range Range
Definition unaryoperators.hh:238
Linear map representing the jacobians of the elements of an FE-space.
Definition unaryoperators.hh:325
typename Impl::GlobalJacobianTraits< ReferenceJacobian, GeometryJacobianInverse >::type Range
Definition unaryoperators.hh:340
friend LocalOperator localOperator(const FEFunctionJacobianOperator &op)
Definition unaryoperators.hh:413
auto childOperator(Dune::index_constant< i > childIndex) const
Definition unaryoperators.hh:419
typename Base::Element Element
Definition unaryoperators.hh:339
Definition unaryoperators.hh:345
void bind(const Element &)
Definition unaryoperators.hh:357
void bind(const Intersection &intersection, const Element &element, const Element &otherElement)
Definition unaryoperators.hh:365
typename Base::LocalOperator::Intersection Intersection
Definition unaryoperators.hh:353
typename Base::LocalOperator::CacheManager CacheManager
Definition unaryoperators.hh:354
void bindToCaches(CacheManager &cacheManager, OutsideCacheManager &... outsideCacheManager)
Definition unaryoperators.hh:371
auto operator()(std::size_t index) const
Definition unaryoperators.hh:376
typename FEFunctionJacobianOperator::Range Range
Definition unaryoperators.hh:355
Linear map representing the divergenc of the elements of an FE-space.
Definition unaryoperators.hh:441
typename Base::Element Element
Definition unaryoperators.hh:448
friend LocalOperator localOperator(const FEFunctionDivergenceOperator &op)
Definition unaryoperators.hh:534
std::conditional_t< Dune::Fufem::Impl::Concept::LeafTreeNode< Node >, typename LeafLBTraits::RangeFieldType, typename LeafLBTraits::JacobianType::block_type > Range
Definition unaryoperators.hh:452
Definition unaryoperators.hh:457
void bindToCaches(CacheManager &cacheManager, OutsideCacheManager &... outsideCacheManager)
Definition unaryoperators.hh:483
void bind(const Element &)
Definition unaryoperators.hh:469
void bind(const Intersection &intersection, const Element &element, const Element &otherElement)
Definition unaryoperators.hh:477
typename Base::LocalOperator::Intersection Intersection
Definition unaryoperators.hh:465
typename Base::LocalOperator::CacheManager CacheManager
Definition unaryoperators.hh:466
typename FEFunctionDivergenceOperator::Range Range
Definition unaryoperators.hh:467
auto operator()(std::size_t index) const
Definition unaryoperators.hh:488
QuadratureRuleKey derivative() const
Definition quadraturerulecache.hh:154
T forward(T... args)
T tie(T... args)
