dune-fem 2.8.0
|
Lagrange discrete function space. More...
#include <dune/fem/space/lagrange/space.hh>
Public Member Functions | |
LagrangeDiscreteFunctionSpace (GridPartType &gridPart, const InterfaceType commInterface, const CommunicationDirection commDirection) | |
LagrangeDiscreteFunctionSpace (GridPartType &gridPart, const int polOrder=minPolynomialOrder, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection) | |
DFSpaceIdentifier | type () const |
return type identifier of discrete function space | |
const BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity | |
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 | |
BlockMapperType & | blockMapper () const |
get a reference to the block mapper | |
InterpolationType | interpolation () const |
return interpolation object | |
LocalInterpolationType | interpolation (const EntityType &entity) const |
return local interpolation for given entity | |
LocalInterpolationType | localInterpolation (const EntityType &entity) const |
return local interpolation for given entity | |
ShapeFunctionSetType | shapeFunctionSet (const EntityType &entity) const |
return shape function set for given entity | |
ShapeFunctionSetType | shapeFunctionSet (const GeometryType &type) const |
return shape unique function set for geometry type | |
LagrangeDiscreteFunctionSpace (const ThisType &)=delete | |
ThisType & | operator= (const ThisType &)=delete |
int | sequence () const |
get index of the sequence in grid sequences | |
int | order (const EntityType &entity) const |
default implementation of the method order | |
const GridType & | grid () const |
get reference to grid this discrete function space belongs to | |
GridType & | grid () |
get reference to grid this discrete function space belongs to | |
GridPartType & | gridPart () const |
GridPartType & | gridPart () |
get a reference to the associated grid partition | |
const IndexSetType & | indexSet () const |
Get a reference to the associated index set. | |
int | size () const |
get number of DoFs for this space | |
int | maxNumDofs () const |
return the maximal number of dofs on entities | |
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 | |
void | forEach (FunctorType &f) const |
apply a functor to each entity in the associated grid partition | |
bool | multipleGeometryTypes () const |
returns true if the grid has more than one geometry type | |
bool | multipleBasisFunctionSets () const |
returns true if base function sets depend on the entity | |
InterfaceType | communicationInterface () const |
return the communication interface appropriate for this space | |
CommunicationDirection | communicationDirection () const |
return the communication interface appropriate for this space | |
const CommunicationManagerType & | communicator () const |
return reference to communicator (see CommunicationManager) | |
void | communicate (DiscreteFunction &discreteFunction) const |
communicate data for given discrete function using the space's default communication operation | |
void | communicate (DiscreteFunction &discreteFunction, const Operation &op) const |
communicate data for given discrete function | |
BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type | createDataHandle (DiscreteFunction &discreteFunction, const Operation &operation) const |
const AuxiliaryDofsType & | auxiliaryDofs () const |
get auxiliary dofs | |
void | addFunction (DiscreteFunction &df) const |
default implementation of addFunction does nothing at the moment | |
void | removeFunction (DiscreteFunction &df) const |
default implementation of removeFunction does nothing at the moment | |
void | adapt (const Vector &polynomialOrders, const int polOrderShift=0) const |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace | |
const BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity | |
const AuxiliaryDofsType & | slaveDofs () const |
deprecated method, use auxiliaryDofs | |
Static Public Attributes | |
static const int | maxPolynomialOrder = Traits :: maxPolynomialOrder |
static const int | minPolynomialOrder = Traits :: minPolynomialOrder |
static constexpr std::size_t | localBlockSize = Hybrid::size( LocalBlockIndices() ) |
size of local blocks | |
Protected Types | |
typedef SingletonList< std::pair< GridPartType *, BlockMapperType * >, std::pair< AuxiliaryDofsType, int >, AuxiliaryDofsFactory > | AuxiliaryDofsProviderType |
typedef ThreadSafeValue< UninitializedObjectStack > | LocalDofVectorStackType |
typedef StackAllocator< typename BaseType::RangeFieldType, LocalDofVectorStackType * > | LocalDofVectorAllocatorType |
typedef Dune::DynamicVector< typename BaseType::RangeFieldType, LocalDofVectorAllocatorType > | LocalDofVectorType |
typedef BasicTemporaryLocalFunction< ThisType, LocalDofVectorType > | LocalFunctionType |
typedef AllGeomTypes< IndexSetType, GridType > | AllGeometryTypes |
Protected Member Functions | |
const std::vector< GeometryType > & | geomTypes (int codim) const |
returns true if the grid has more than one geometry type | |
const DiscreteFunctionSpaceType & | asImp () const |
DiscreteFunctionSpaceType & | asImp () |
Protected Attributes | |
std::unique_ptr< BlockMapperType, typename BlockMapperProviderType::Deleter > | blockMapper_ |
ScalarShapeFunctionSetStorageType | scalarShapeFunctionSets_ |
LagrangePointSetContainerType | lagrangePointSetContainer_ |
const int | polynomialOrder_ |
GridPartType & | gridPart_ |
LocalDofVectorStackType | ldvStack_ |
LocalDofVectorAllocatorType | ldvAllocator_ |
const AllGeometryTypes | allGeomTypes_ |
DofManagerType & | dofManager_ |
const InterfaceType | commInterface_ |
const CommunicationDirection | commDirection_ |
std::unique_ptr< CommunicationManagerType > | communicator_ |
std::unique_ptr< std::pair< AuxiliaryDofsType, int >, typename AuxiliaryDofsProviderType::Deleter > | auxiliaryDofs_ |
Related Functions | |
(Note that these are not member functions.) | |
template<class Traits > | |
bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
check two spaces for equality | |
Lagrange discrete function space.
|
protectedinherited |
|
protectedinherited |
|
inherited |
typedef BaseType::BasisFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::BasisFunctionSetType |
typedef BaseType::BlockMapperType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::BlockMapperType |
|
inherited |
type of communication manager
|
inherited |
|
inherited |
type of DoF manager
typedef BaseType::EntityType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::EntityType |
typedef BaseType::FunctionSpaceType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::FunctionSpaceType |
typedef BaseType::GridPartType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::GridPartType |
typedef BaseType::GridType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::GridType |
typedef BaseType::IndexSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::IndexSetType |
typedef LocalInterpolationType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::InterpolationImplType |
typedef LocalInterpolationWrapper< ThisType > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::InterpolationType |
typedef BaseType::IntersectionType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::IntersectionType |
|
inherited |
typedef LagrangePointSet< GridPartType, maxPolynomialOrder > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LagrangePointSetType |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
typedef LagrangeLocalInterpolation< GridPartType, maxPolynomialOrder, BasisFunctionSetType > Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::LocalInterpolationType |
typedef BaseType::Traits::ShapeFunctionSetType Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::ShapeFunctionSetType |
|
inherited |
deprecated type
typedef BaseType::Traits Dune::Fem::LagrangeDiscreteFunctionSpace< FunctionSpace, GridPart, maxPolOrder, Storage >::Traits |
|
inlineexplicit |
|
inlineexplicit |
|
delete |
|
inlineinherited |
default implementation of adapt does nothing, its only used in PAdaptiveLagrangeSpace
|
inlineinherited |
default implementation of addFunction does nothing at the moment
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
get auxiliary dofs
|
inlineinherited |
get basis function set for given entity
[in] | entity | entity (of codim 0) for which base function is requested |
|
inline |
get basis function set for given entity
[in] | entity | entity (of codim 0) for which base function is requested |
|
inlineinherited |
get iterator pointing to the first entity of the associated grid partition
|
inline |
get a reference to the block mapper
|
inlineinherited |
communicate data for given discrete function using the space's default communication operation
discreteFunction | discrete function to be communicated |
|
inlineinherited |
communicate data for given discrete function
discreteFunction | discrete function to be communicated | |
[in] | op | communication operation to use (see DFCommunicationOperation) |
|
inlineinherited |
return the communication interface appropriate for this space
|
inlineinherited |
return the communication interface appropriate for this space
|
inlineinherited |
return reference to communicator (see CommunicationManager)
|
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.
|
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.
|
inlineinherited |
|
inlineinherited |
get iterator pointing behind the last entity of the associated grid partition
|
inlineinherited |
apply a functor to each entity in the associated grid partition
The functor must provide an the following operator
[in] | f | functor to apply |
|
inlineprotectedinherited |
returns true if the grid has more than one geometry type
|
inlineinherited |
get reference to grid this discrete function space belongs to
|
inlineinherited |
get reference to grid this discrete function space belongs to
|
inlineinherited |
get a reference to the associated grid partition
|
inlineinherited |
|
inlineinherited |
Get a reference to the associated index set.
|
inline |
return interpolation object
|
inline |
return local interpolation for given entity
[in] | entity | grid part entity |
|
inline |
return local interpolation for given entity
[in] | entity | grid part entity |
|
inlineinherited |
return the maximal number of dofs on entities
|
inlineinherited |
returns true if base function sets depend on the entity
|
inlineinherited |
returns true if the grid has more than one geometry type
|
delete |
|
inline |
get global order of space
|
inlineinherited |
default implementation of the method order
|
inlineinherited |
default implementation of removeFunction does nothing at the moment
|
inlineinherited |
get index of the sequence in grid sequences
|
inline |
return shape function set for given entity
[in] | entity | entity (of codim 0) for which shape function set is requested |
|
inline |
return shape unique function set for geometry type
[in] | type | geometry type (must be a cube) for which shape function set is requested |
|
inlineinherited |
get number of DoFs for this space
|
inlineinherited |
deprecated method, use auxiliaryDofs
|
inline |
return type identifier of discrete function space
|
protectedinherited |
|
mutableprotectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
staticconstexprinherited |
size of local blocks
|
static |
|
static |
|
protected |
|
protected |