dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Dune::PDELab::PowerCompositeGridFunctionSpaceBase< GridFunctionSpace, GV, B, O, k > Class Template Reference

Mixin class providing common functionality of PowerGridFunctionSpace and CompositeGridFunctionSpace. More...

#include <dune/pdelab/gridfunctionspace/powercompositegridfunctionspacebase.hh>

Inheritance diagram for Dune::PDELab::PowerCompositeGridFunctionSpaceBase< GridFunctionSpace, GV, B, O, k >:
Inheritance graph

Public Types

typedef PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > Traits
 export traits class
 
typedef O OrderingTag
 

Public Member Functions

const Traits::EntitySetentitySet () const
 get grid view partition
 
Traits::EntitySetentitySet ()
 get grid view partition
 
 PowerCompositeGridFunctionSpaceBase (const B &backend, const OrderingTag &ordering_tag)
 
Traits::SizeType size () const
 
Traits::SizeType blockCount () const
 
Traits::SizeType globalSize () const
 
Traits::SizeType maxLocalSize () const
 get max dimension of shape function space
 
void update (bool force=false)
 Update the indexing information of the GridFunctionSpace.
 
const std::string & name () const
 
void name (const std::string &name)
 
Traits::Backendbackend ()
 
const Traits::Backendbackend () const
 
const Traits::GridViewgridView () const
 get grid view
 
void setEntitySet (typename Traits::EntitySet entity_set)
 Set the Entity Set object to this grid function space.
 
Traits::OrderingTagorderingTag ()
 
const Traits::OrderingTagorderingTag () const
 
bool isRootSpace () const
 

Protected Member Functions

void update (Ordering &ordering) const
 

Protected Attributes

std::optional< typename Traits::EntitySet_entity_set
 

Detailed Description

template<typename GridFunctionSpace, typename GV, typename B, typename O, std::size_t k>
class Dune::PDELab::PowerCompositeGridFunctionSpaceBase< GridFunctionSpace, GV, B, O, k >

Mixin class providing common functionality of PowerGridFunctionSpace and CompositeGridFunctionSpace.

Member Function Documentation

◆ backend() [1/2]

◆ backend() [2/2]

◆ blockCount()

◆ globalSize()

◆ gridView()

get grid view

◆ isRootSpace()

bool Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::isRootSpace ( ) const
inlineinherited

◆ maxLocalSize()

get max dimension of shape function space

◆ name() [1/2]

const std::string & Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::name ( ) const
inlineinherited

◆ name() [2/2]

void Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::name ( const std::string &  name)
inlineinherited

◆ orderingTag() [1/2]

◆ orderingTag() [2/2]

const Traits::OrderingTag & Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::orderingTag ( ) const
inlineinherited

◆ setEntitySet()

void Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::setEntitySet ( typename Traits::EntitySet  entity_set)
inlineinherited

Set the Entity Set object to this grid function space.

The passed entity set will be stored and modified by the grid function space. In case of a tree, all entity sets below an entity blocking tag are expected to be the same, otherwise, the ordering will issue an exception. (e.g. compartments with different function spaces). Additionally, the root node in a grid function space tree may also contain a different partition which will be used in the assembly process (e.g. a union of all entity sets from leaf nodes). If no other entity set was given, the root node will usually take the first leaf node entity set.

Parameters
entity_setAn object of the type PartitionViewEntitySet

◆ size()

◆ update() [1/2]

void Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::update ( bool  force = false)
inlineinherited

Update the indexing information of the GridFunctionSpace.

\ param force Set to true if the underlying grid has changed (e.g. due to adaptivity) to force an update of the embedded EntitySet.

◆ update() [2/2]

void Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::update ( Ordering &  ordering) const
inlineprotectedinherited

Member Data Documentation

◆ _entity_set

std::optional<typename Traits::EntitySet> Dune::PDELab::GridFunctionSpaceBase< GridFunctionSpace , PowerCompositeGridFunctionSpaceTraits< GV, B, O, k > >::_entity_set
mutableprotectedinherited

The documentation for this class was generated from the following file: