dune-fem
2.4.1-rc
|
adaptive DG discrete function space More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/padaptivespace/declaration.hh>
Public Member Functions | |
PAdaptiveDGSpace (GridPartType &gridPart, const InterfaceType commInterface=defaultInterface, const CommunicationDirection commDirection=defaultDirection) | |
constructor More... | |
PAdaptiveDGSpace (const PAdaptiveDGSpace &other) | |
bool | continuous (const IntersectionType &intersection) const |
returns true if the space contains only globally continuous functions More... | |
template<class EntityType > | |
const CompiledLocalKeyType & | lagrangePointSet (const EntityType &entity) const |
Please doc me. More... | |
const CompiledLocalKeyType & | lagrangePointSet (const GeometryType &type, const int order=BaseType::polynomialOrder) const |
Please doc me. More... | |
template<class DiscreteFunction > | |
void | addFunction (DiscreteFunction &df) const |
add function to discrete function space for p-adaptation (currently only supported by AdaptiveDiscreteFunction ) More... | |
DFSpaceIdentifier | type () const |
return type identifier of discrete function space More... | |
BasisFunctionSetType | basisFunctionSet (const EntityType &entity) const |
get basis function set for given entity More... | |
bool | continuous () const |
returns true if the space contains only globally continuous functions More... | |
bool | continuous (const IntersectionType &intersection) const |
returns true if discrete functions over this space have zero jump over the given intersection. More... | |
int | order () const |
get global order of space More... | |
int | order (const typename BaseType::EntityType &entity) const |
get global order of space More... | |
int | order (const EntityType &entity) const |
default implementation of the method order More... | |
bool | multipleBaseFunctionSets () const |
this space has more than one base function set More... | |
BlockMapperType & | blockMapper () const |
get a reference to the block mapper More... | |
ShapeFunctionSetType | shapeFunctionSet (const EntityType &entity) const |
return shape function set for given entity More... | |
ShapeFunctionSetType | shapeFunctionSet (const GeometryType &type, const int order=polynomialOrder) const |
return shape unique function set for geometry type More... | |
const CompiledLocalKeyType & | compiledLocalKey (const EntityType &entity) const |
provide access to the compiled local keys for an entity More... | |
const CompiledLocalKeyType & | compiledLocalKey (const GeometryType type, const int order=polynomialOrder) const |
provide access to the compiled local keys for a geometry type and polynomial order More... | |
void | adapt (const Vector &polynomialOrders, const int polOrderShift=0) const |
p adaptation More... | |
void | removeFunction (const DiscreteFunction &df) const |
void | removeFunction (DiscreteFunction &df) const |
default implementation of removeFunction does nothing at the moment More... | |
int | sequence () const |
get index of the sequence in grid sequences More... | |
LocalFunctionType | localFunction (const EntityType &entity) const |
const GridType & | grid () const |
get reference to grid this discrete function space belongs to More... | |
GridType & | grid () |
get reference to grid this discrete function space belongs to More... | |
GridPartType & | gridPart () const |
GridPartType & | gridPart () |
get a reference to the associated grid partition More... | |
const IndexSetType & | indexSet () const |
Get a reference to the associated index set. More... | |
int | size () const |
get number of DoFs for this space More... | |
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... | |
void | forEach (FunctorType &f) const |
apply a functor to each entity in the associated grid partition More... | |
bool | multipleGeometryTypes () const |
returns true if the grid has more than one geometry type More... | |
bool | multipleBasisFunctionSets () const |
returns true if base function sets depend on the entity More... | |
InterfaceType | communicationInterface () const |
return the communication interface appropriate for this space More... | |
CommunicationDirection | communicationDirection () const |
return the communication interface appropriate for this space More... | |
const CommunicationManagerType & | communicator () const |
return reference to communicator (see CommunicationManager) More... | |
void | communicate (DiscreteFunction &discreteFunction) const |
communicate data for given discrete function using the space's default communication operation More... | |
void | communicate (DiscreteFunction &discreteFunction, const Operation *op) const |
communicate data for given discrete function More... | |
BaseType::template CommDataHandle< DiscreteFunction, Operation >::Type | createDataHandle (DiscreteFunction &discreteFunction, const Operation *operation) const |
Static Public Attributes | |
static const InterfaceType | defaultInterface = InteriorBorder_All_Interface |
static const CommunicationDirection | defaultDirection = ForwardCommunication |
static const int | polynomialOrder |
static const IdentifierType | id |
identifier of this discrete function space More... | |
Protected Member Functions | |
BlockMapperType * | initialize (const BlockMapperType *otherMapper=0) |
DFListIteratorType | searchFunction (const DiscreteFunction &df) const |
const std::vector< GeometryType > & | geomTypes (int codim) const |
returns true if the grid has more than one geometry type More... | |
const DiscreteFunctionSpaceType & | asImp () const |
DiscreteFunctionSpaceType & | asImp () |
Protected Attributes | |
std::vector< ScalarShapeFunctionSetStorageType > | scalarShapeFunctionSets_ |
std::vector< LocalKeyStorageType > | compiledLocalKeys_ |
BlockMapperType * | blockMapper_ |
PAdaptiveDiscreteFunctionListType | dfList_ |
GridPartType & | gridPart_ |
LocalDofVectorStackType | ldvStack_ |
LocalDofVectorAllocatorType | ldvAllocator_ |
const AllGeometryTypes | allGeomTypes_ |
DofManagerType & | dofManager_ |
const InterfaceType | commInterface_ |
const CommunicationDirection | commDirection_ |
std::unique_ptr< CommunicationManagerType > | communicator_ |
adaptive DG discrete function space
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
type of communication manager
typedef BaseType::CompiledLocalKeyType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::CompiledLocalKeyType |
|
protectedinherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
typedef BaseType::GridPartType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::GridPartType |
|
inherited |
|
inherited |
type of identifier for this discrete function space
|
inherited |
|
protectedinherited |
typedef BaseType::IntersectionType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::IntersectionType |
|
inherited |
typedef CompiledLocalKeyType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::LagrangePointSetType |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
typedef ThisType Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::PAdaptiveDGSpaceType |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inherited |
typedef BaseType::Traits Dune::Fem::PAdaptiveDGSpace< FunctionSpace, GridPart, polOrder, Storage >::Traits |
|
inherited |
size of local blocks
|
inherited |
size of local blocks
|
inlineexplicit |
constructor
[in] | gridPart | grid part for the Lagrange space |
[in] | commInterface | communication interface to use (optional) |
[in] | commDirection | communication direction to use (optional) |
|
inline |
|
inlineinherited |
p adaptation
[in] | polynomialOrders | vector containing polynomial orders for each cell |
[in] | polOrderShift | possible shift of polynomial order (i.e. in case of Taylor-Hood put -1 for the pressure) (default = 0) |
|
inline |
add function to discrete function space for p-adaptation (currently only supported by AdaptiveDiscreteFunction )
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
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
|
inlineinherited |
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)
|
inlineinherited |
provide access to the compiled local keys for an entity
[in] | entity | entity the Lagrange point set is requested for |
|
inlineinherited |
provide access to the compiled local keys for a geometry type and polynomial order
[in] | type | type of geometry the compiled local key is requested for |
[in] | order | polynomial order for given geometry type |
|
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 |
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 |
returns true if discrete functions over this space have zero jump over the given intersection.
For example, a Lagrange space returns true iff the intersection is conforming while a discontiuous Galerkin space always returns false.
intersection | Intersection for which we want to know the continuety |
|
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.
|
inlineprotectedinherited |
|
inline |
Please doc me.
|
inline |
Please doc me.
|
inlineinherited |
obtain a local function for an entity (to store intermediate values)
[in] | entity | entity (of codim 0) for which a local function is desired |
|
inlineinherited |
this space has more than one base function set
|
inlineinherited |
returns true if base function sets depend on the entity
|
inlineinherited |
returns true if the grid has more than one geometry type
|
inlineinherited |
get global order of space
|
inlineinherited |
get global order of space
|
inlineinherited |
default implementation of the method order
|
inlineinherited |
|
inlineinherited |
default implementation of removeFunction does nothing at the moment
|
inlineprotectedinherited |
|
inlineinherited |
get index of the sequence in grid sequences
|
inlineinherited |
return shape function set for given entity
[in] | entity | entity (of codim 0) for which shape function set is requested |
|
inlineinherited |
return shape unique function set for geometry type
[in] | type | geometry type (must be a cube) for which shape function set is requested |
[in] | order | polynomial order |
|
inlineinherited |
get number of DoFs for this space
|
inlineinherited |
return type identifier of discrete function space
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
static |
|
static |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
identifier of this discrete function space
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
staticinherited |
|
protectedinherited |