|
dune-fem 2.12-git
|
Create Obejct that behaves like a discrete function space without to provide functions with the iterator facilities. More...
#include <dune/fem/space/common/discretefunctionspace.hh>

Public Types | |
| enum | { polynomialOrder = 6 } |
| typedef FunctionSpaceImp | FunctionSpaceType |
| typedef GridPartImp | GridPartType |
| type of the grid partition | |
| typedef GridPartType::GridType | GridType |
| type of the grid | |
| typedef GridPartType::IndexSetType | IndexSetType |
| type of the index set | |
| typedef GridPartType::template Codim< 0 >::IteratorType | IteratorType |
| type of the grid iterator | |
| typedef GridType::template Codim< 0 >::Entity | EntityType |
| typedef GridPartType::IntersectionType | IntersectionType |
| typedef DefaultCommunicationManager< ThisType > | CommunicationManagerType |
| type of communication manager (only the default communication is valid here) | |
Public Member Functions | |
| DiscreteFunctionSpaceAdapter (const GridPartType &gridPart, unsigned int order=polynomialOrder) | |
| constructor taking grid Part | |
| DiscreteFunctionSpaceAdapter (const ThisType &other) | |
| copy constructor | |
| IteratorType | begin () const |
| get iterator pointing to the first entity of the associated grid partition | |
| IteratorType | end () const |
| get iterator pointing behind the last entity of the associated grid partition | |
| template<class FunctorType > | |
| void | forEach (FunctorType &f) const |
| apply a functor to each entity in the associated grid partition | |
| const GridPartType & | gridPart () const |
| get a reference to the associated grid partition | |
| const IndexSetType & | indexSet () const |
| Get a reference to the associated index set. | |
| const GridType & | grid () const |
| get reference to grid this discrete function space belongs to | |
| bool | continuous () const |
| returns true if the space contains only globally continuous functions | |
| bool | continuous (const IntersectionType &intersection) const |
| returns true if the space contains only globally continuous functions | |
| int | order () const |
| get global order of space | |
| int | order (const EntityType &) const |
| get global order of space | |
| DFSpaceIdentifier | type () const |
| return type identifier of discrete function space | |
| T | shared_from_this (T... args) |
| T | weak_from_this (T... args) |
Protected Attributes | |
| const GridPartType & | gridPart_ |
| const unsigned int | order_ |
Detailed Description
class Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >
Create Obejct that behaves like a discrete function space without to provide functions with the iterator facilities.
- Note
- DiscreteFunctionSpaceAdapter is itself derived from the template argument FunctionSpaceImp. Hence, the constructor will call the default constructor of FunctionSpaceImp when this class is instanciated. So do not use discrete function spaces for the first template argument.
Member Typedef Documentation
◆ CommunicationManagerType
| typedef DefaultCommunicationManager< ThisType > Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::CommunicationManagerType |
type of communication manager (only the default communication is valid here)
◆ EntityType
| typedef GridType::template Codim<0>::Entity Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::EntityType |
◆ FunctionSpaceType
| typedef FunctionSpaceImp Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::FunctionSpaceType |
◆ GridPartType
| typedef GridPartImp Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::GridPartType |
type of the grid partition
◆ GridType
| typedef GridPartType::GridType Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::GridType |
type of the grid
◆ IndexSetType
| typedef GridPartType::IndexSetType Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::IndexSetType |
type of the index set
◆ IntersectionType
| typedef GridPartType::IntersectionType Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::IntersectionType |
◆ IteratorType
| typedef GridPartType::template Codim<0>::IteratorType Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::IteratorType |
type of the grid iterator
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ DiscreteFunctionSpaceAdapter() [1/2]
|
inlineexplicit |
constructor taking grid Part
◆ DiscreteFunctionSpaceAdapter() [2/2]
|
inline |
copy constructor
Member Function Documentation
◆ begin()
|
inline |
get iterator pointing to the first entity of the associated grid partition
- Returns
- iterator pointing to first entity
◆ continuous() [1/2]
|
inline |
returns true if the space contains only globally continuous functions
For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.
- Returns
- true if the space contians only globally continous functions, false otherwise
◆ continuous() [2/2]
|
inline |
returns true if the space contains only globally continuous functions
For example, a Lagrange space returns true while a discontiuous Galerkin space returns false.
- Returns
- true if the space contians only globally continous functions, false otherwise
◆ end()
|
inline |
get iterator pointing behind the last entity of the associated grid partition
- Returns
- iterator pointing behind last entity
◆ forEach()
|
inline |
apply a functor to each entity in the associated grid partition
The functor must provide an the following operator
- Parameters
-
[in] f functor to apply
◆ grid()
|
inline |
get reference to grid this discrete function space belongs to
- Returns
- constant reference to grid
◆ gridPart()
|
inline |
get a reference to the associated grid partition
- Returns
- reference to the grid partition
◆ indexSet()
|
inline |
Get a reference to the associated index set.
- Returns
- const reference to index set
◆ order() [1/2]
|
inline |
get global order of space
- Returns
- order of space, i.e., the maximal polynomial order of base functions
◆ order() [2/2]
|
inline |
get global order of space
- Returns
- order of space, i.e., the maximal polynomial order of base functions
◆ type()
|
inline |
return type identifier of discrete function space
- Returns
- return type identifier of discrete function space
Member Data Documentation
◆ gridPart_
|
protected |
◆ order_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8