DUNE-ACFEM (unstable)
Dune::ACFem::Tensor::Restriction< Tensor, Dims, Indices > Class Template Reference
A meta-tensor restricting a given tensor w.r.t. More...
Detailed Description
template<class Tensor, class Dims, class Indices = Seq<>>
class Dune::ACFem::Tensor::Restriction< Tensor, Dims, Indices >
class Dune::ACFem::Tensor::Restriction< Tensor, Dims, Indices >
A meta-tensor restricting a given tensor w.r.t.
to the specified dimensions and given indices to a subset of its index-space. Indices may be empty in which case the index tuple to look at is runtime configurable.
Exmamples:
- Tensor is a vector, i.e. a rank 1 tensor. Restriction<Tensor, Seq<0> > is then just one of the components of the tensor as a rank-0 tensor, where the component to restriction to is runtime configurable.
- Tensor is a vector, i.e. a rank 1 tensor. Restriction<Tensor, Seq<0>, Seq<1> > is then the restriction to the second component of the tensor. modelled as rank-0 tensor.
- Tensor is a matrix, i.e, a rank 2 tensor. Restriction<Tensor, Seq<1>, Seq<2> > is then the restriction to the 3rd column of the Matrix.
The documentation for this class was generated from the following file:
- dune/acfem/tensors/operations/restriction.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Dec 27, 23:30, 2024)