DUNE-FEM (unstable)
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 | |
| 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 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  More... | |
| IteratorType | end () const | 
| get iterator pointing behind the last entity of the associated grid partition  More... | |
| template<class FunctorType > | |
| void | forEach (FunctorType &f) const | 
| apply a functor to each entity in the associated grid partition  More... | |
| const GridPartType & | gridPart () const | 
| get a reference to the associated grid partition  More... | |
| const IndexSetType & | indexSet () const | 
| Get a reference to the associated index set.  More... | |
| const GridType & | grid () const | 
| get reference to grid this discrete function space belongs to  More... | |
| bool | continuous () const | 
| returns true if the space contains only globally continuous functions  More... | |
| bool | continuous (const IntersectionType &intersection) const | 
| returns true if the space contains only globally continuous functions  More... | |
| int | order () const | 
| get global order of space  More... | |
| int | order (const EntityType &) const | 
| get global order of space  More... | |
| DFSpaceIdentifier | type () const | 
| return type identifier of discrete function space  More... | |
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 Function Documentation
◆ begin()
      
  | 
  inline | 
get iterator pointing to the first entity of the associated grid partition
- Returns
 - iterator pointing to first entity
 
Referenced by Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::forEach().
◆ 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
 
Referenced by Dune::Fem::BasicGridFunctionAdapter< FunctionImp, GridPartImp >::continuous(), and Dune::Fem::LocalFunctionAdapter< LocalFunctionImpl >::continuous().
◆ 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
 
Referenced by Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::forEach().
◆ 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  
References Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::begin(), and Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::end().
◆ 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
 
Referenced by Dune::Fem::BasicGridFunctionAdapter< FunctionImp, GridPartImp >::order(), and Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::order().
◆ order() [2/2]
      
  | 
  inline | 
get global order of space
- Returns
 - order of space, i.e., the maximal polynomial order of base functions
 
References Dune::Fem::DiscreteFunctionSpaceAdapter< FunctionSpaceImp, GridPartImp >::order().
◆ type()
      
  | 
  inline | 
return type identifier of discrete function space
- Returns
 - return type identifier of discrete function space
 
References Dune::Fem::DFAdapter_id.
The documentation for this class was generated from the following file:
- dune/fem/space/common/discretefunctionspace.hh
 
   | 
                                Legal Statements / Impressum  | 
                                Hosted by  TU Dresden & Uni Heidelberg  | 
				  generated with Hugo v0.111.3
								(Nov 3, 23:36, 2025)