DUNE PDELab (unstable)
restrictedbasis.hh
107 RestrictedPreBasis(const GridView& gridView, SubDomainPreBasis&& subDomainPreBasis, const SubDomain& subDomain)
238 return Dune::Functions::Experimental::RestrictedPreBasis(gridView, subPreBasisFactory(subDomain.gridView()), subDomain);
Template mapping root tree path to type of created tree node.
Definition: restrictedbasis.hh:62
A pre-basis restricted to a sub-domain.
Definition: restrictedbasis.hh:44
std::size_t size_type
Type used for indices and size information.
Definition: restrictedbasis.hh:57
RestrictedPreBasis(const GridView &gridView, SubDomainPreBasis &&subDomainPreBasis, const SubDomain &subDomain)
Constructor for given sub-domain pre-basis.
Definition: restrictedbasis.hh:107
void initializeIndices()
Initialize the global indices.
Definition: restrictedbasis.hh:114
size_type dimension() const
Get the total dimension of the space spanned by this basis.
Definition: restrictedbasis.hh:174
GV GridView
The grid view that the FE basis is defined on.
Definition: restrictedbasis.hh:54
size_type maxNodeSize() const
Get the maximal number of DOFs associated to node for any element.
Definition: restrictedbasis.hh:180
size_type size() const
Same as size(prefix) with empty prefix.
Definition: restrictedbasis.hh:155
size_type size(const SizePrefix &prefix) const
Return number of possible values for next position in multi index.
Definition: restrictedbasis.hh:162
const GridView & gridView() const
Obtain the grid view that the basis is defined on.
Definition: restrictedbasis.hh:120
auto containerDescriptor() const
Return the container descriptor of the pre-basis.
Definition: restrictedbasis.hh:168
Node makeNode() const
Create tree node with given root tree path.
Definition: restrictedbasis.hh:149
void update(const GridView &gv)
Update the stored grid view, to be called.
Definition: restrictedbasis.hh:133
Class representing a sub-domain of a GridView.
Definition: subdomain.hh:534
GridView gridView() const
Create grid view representing the SubDomain.
Definition: subdomain.hh:565
auto restrict(SubDomainBasisFactory &&subPreBasisFactory, const SubDomain &subDomain)
Create a RestrictedPreBasisFactory.
Definition: restrictedbasis.hh:232
constexpr auto treePath(const T &... t)
Constructs a new HybridTreePath from the given indices.
Definition: treepath.hh:199
void forEachNode(Tree &&tree, PreNodeFunc &&preNodeFunc, LeafNodeFunc &&leafNodeFunc, PostNodeFunc &&postNodeFunc)
Traverse tree and visit each node.
Definition: traversal.hh:259
STL namespace.
