|
dune-pdelab 2.8
|
Loading...
Searching...
No Matches
decorator.hh
Go to the documentation of this file.
114 const Ordering& _unwind_decorators(const Ordering& ordering, std::integral_constant<std::size_t,0>)
159 template<typename GFS,typename Transformation,typename Undecorated,typename GlueTag, typename Tag>
167 TypeTree::declptr<Undecorated>(), // the type of the undecorated Ordering to be wrapped in the decorator
205 static transformed_storage_type transform(std::shared_ptr<const GFS>& gfs_pointer, const Transformation& t)
248 static typename result<TC>::type transform(const GFS& gfs, const Transformation& t, const std::array<std::shared_ptr<TC>,TypeTree::StaticDegree<GFS>::value>& children)
250 return result<TC>::decorator_descriptor::transform(gfs,t,std::make_shared<typename result<TC>::undecorated_type>(result<TC>::undecorated_descriptor::transform(gfs,t,children)));
254 static typename result<TC>::storage_type transform_storage(std::shared_ptr<const GFS> gfs_pointer, const Transformation& t, const std::array<std::shared_ptr<TC>,TypeTree::StaticDegree<GFS>::value>& children)
256 return result<TC>::decorator_descriptor::transform(gfs_pointer,t,result<TC>::undecorated_descriptor::transform_storage(gfs_pointer,t,children));
292 static transformed_storage_type transform_storage(std::shared_ptr<const GFS>& gfs_pointer, const Transformation& t)
364 static typename result<TC...>::type transform(const GFS& gfs, const Transformation& t, std::shared_ptr<TC>... children)
366 return result<TC...>::decorator_descriptor::transform(gfs,t,std::make_shared<typename result<TC...>::undecorated_type>(result<TC...>::undecorated_descriptor::transform(gfs,t,children...)));
370 static typename result<TC...>::storage_type transform_storage(std::shared_ptr<const GFS> gfs_pointer, const Transformation& t, std::shared_ptr<TC>... children)
372 return result<TC...>::decorator_descriptor::transform_storage(gfs_pointer,t,result<TC...>::undecorated_descriptor::transform(gfs_pointer,t,children...));
408 static transformed_storage_type transform_storage(std::shared_ptr<const GFS>& gfs_pointer, const Transformation& t)
439 register_composite_gfs_to_ordering_descriptor(GFS*,Transformation*,decorated_ordering_tag<D,U>*);
decltype(Node::degree()) StaticDegree
STL namespace.
For backward compatibility – Do not use this!
composite_gfs_to_decorated< GFS, Transformation, decorated_ordering_tag< D, U > > register_composite_gfs_to_ordering_descriptor(GFS *, Transformation *, decorated_ordering_tag< D, U > *)
power_gfs_to_decorated< GFS, Transformation, decorated_ordering_tag< D, U > > register_power_gfs_to_ordering_descriptor(GFS *, Transformation *, decorated_ordering_tag< D, U > *)
leaf_gfs_to_decorated< GFS, Transformation, decorated_ordering_tag< D, U > > register_leaf_gfs_to_ordering_descriptor(GFS *, Transformation *, decorated_ordering_tag< D, U > *)
auto undecorated_ordering(const GFS &gfs) -> decltype(_unwind_decorators(gfs.ordering(), impl::decoration_level< typename GFS::OrderingTag >()))
Unwinds the stack of decorators on top of the base ordering of gfs and returns the base ordering.
Definition decorator.hh:144
Implementation & impl()
Definition decorator.hh:87
decorated_ordering_tag()
Definition decorator.hh:94
static const std::size_t level
Definition decorator.hh:92
decorated_ordering_tag(Undecorated &&u)
Definition decorator.hh:101
decorated_ordering_tag(const Undecorated &u)
Definition decorator.hh:97
Definition decorator.hh:162
decltype(register_gfs_to_decorator_descriptor(TypeTree::declptr< GFS >(),//the source GridFunctionSpace TypeTree::declptr< Transformation >(),//the full transformation descriptor TypeTree::declptr< Undecorated >(),//the type of the undecorated Ordering to be wrapped in the decorator TypeTree::declptr< GlueTag >(),//the decorated_ordering_tag for the current decoration nesting level TypeTree::declptr< Tag >()//the decorator tag)) type
Definition decorator.hh:171
Definition decorator.hh:177
decorator_descriptor::transformed_storage_type transformed_storage_type
Definition decorator.hh:198
static transformed_storage_type transform(std::shared_ptr< const GFS > &gfs_pointer, const Transformation &t)
Definition decorator.hh:205
undecorated_descriptor::transformed_type undecorated_type
Definition decorator.hh:187
decorator_descriptor::transformed_type transformed_type
Definition decorator.hh:197
static transformed_type transform(const GFS &gfs, const Transformation &t)
Definition decorator.hh:200
static const bool recursive
Definition decorator.hh:179
gfs_to_decorator_descriptor< GFS, Transformation, undecorated_type, OrderingTag, typenameOrderingTag::Decorator >::type decorator_descriptor
Definition decorator.hh:195
leaf_gfs_to_ordering_descriptor< GFS, Transformation, typenameOrderingTag::Undecorated >::type undecorated_descriptor
Definition decorator.hh:185
Definition decorator.hh:219
static const bool recursive
Definition decorator.hh:221
static result< TC >::type transform(const GFS &gfs, const Transformation &t, const std::array< std::shared_ptr< TC >, TypeTree::StaticDegree< GFS >::value > &children)
Definition decorator.hh:248
static result< TC >::storage_type transform_storage(std::shared_ptr< const GFS > gfs_pointer, const Transformation &t, const std::array< std::shared_ptr< TC >, TypeTree::StaticDegree< GFS >::value > &children)
Definition decorator.hh:254
Definition decorator.hh:225
decorator_descriptor::transformed_type type
Definition decorator.hh:242
undecorated_descriptor::template result< TC >::type undecorated_type
Definition decorator.hh:233
decorator_descriptor::transformed_storage_type storage_type
Definition decorator.hh:243
power_gfs_to_ordering_descriptor< GFS, Transformation, typenameOrderingTag::Undecorated >::type undecorated_descriptor
Definition decorator.hh:231
gfs_to_decorator_descriptor< GFS, Transformation, undecorated_type, OrderingTag, typenameOrderingTag::Decorator >::type decorator_descriptor
Definition decorator.hh:240
Definition decorator.hh:264
gfs_to_decorator_descriptor< GFS, Transformation, undecorated_type, OrderingTag, typenameOrderingTag::Decorator >::type decorator_descriptor
Definition decorator.hh:282
undecorated_descriptor::transformed_type undecorated_type
Definition decorator.hh:274
decorator_descriptor::transformed_type transformed_type
Definition decorator.hh:284
static const bool recursive
Definition decorator.hh:266
decorator_descriptor::transformed_storage_type transformed_storage_type
Definition decorator.hh:285
static transformed_storage_type transform_storage(std::shared_ptr< const GFS > &gfs_pointer, const Transformation &t)
Definition decorator.hh:292
power_gfs_to_ordering_descriptor< GFS, Transformation, typenameOrderingTag::Undecorated >::type undecorated_descriptor
Definition decorator.hh:272
static transformed_type transform(const GFS &gfs, const Transformation &t)
Definition decorator.hh:287
Definition decorator.hh:318
Definition decorator.hh:335
static const bool recursive
Definition decorator.hh:337
static result< TC... >::storage_type transform_storage(std::shared_ptr< const GFS > gfs_pointer, const Transformation &t, std::shared_ptr< TC >... children)
Definition decorator.hh:370
static result< TC... >::type transform(const GFS &gfs, const Transformation &t, std::shared_ptr< TC >... children)
Definition decorator.hh:364
Definition decorator.hh:341
gfs_to_decorator_descriptor< GFS, Transformation, undecorated_type, OrderingTag, typenameOrderingTag::Decorator >::type decorator_descriptor
Definition decorator.hh:356
composite_gfs_to_ordering_descriptor< GFS, Transformation, typenameOrderingTag::Undecorated >::type undecorated_descriptor
Definition decorator.hh:347
decorator_descriptor::transformed_storage_type storage_type
Definition decorator.hh:359
undecorated_descriptor::template result< TC... >::type undecorated_type
Definition decorator.hh:349
decorator_descriptor::transformed_type type
Definition decorator.hh:358
Definition decorator.hh:380
undecorated_descriptor::transformed_type undecorated_type
Definition decorator.hh:390
static transformed_type transform(const GFS &gfs, const Transformation &t)
Definition decorator.hh:403
gfs_to_decorator_descriptor< GFS, Transformation, undecorated_type, OrderingTag, typenameOrderingTag::Decorator >::type decorator_descriptor
Definition decorator.hh:398
composite_gfs_to_ordering_descriptor< GFS, Transformation, typenameOrderingTag::Undecorated >::type undecorated_descriptor
Definition decorator.hh:388
static const bool recursive
Definition decorator.hh:382
decorator_descriptor::transformed_type transformed_type
Definition decorator.hh:400
decorator_descriptor::transformed_storage_type transformed_storage_type
Definition decorator.hh:401
static transformed_storage_type transform_storage(std::shared_ptr< const GFS > &gfs_pointer, const Transformation &t)
Definition decorator.hh:408
Definition decorator.hh:434
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8