dune-fem
2.4.1-rc
|
![]() |
Functions | |
std::string | Dune::Fem::spaceName (const DFSpaceIdentifier id) |
template<class GridFunction , class DiscreteFunction > | |
static void | Dune::Fem::interpolate (const GridFunction &u, DiscreteFunction &v) |
perform native interpolation of a discrete function space More... | |
template<class Traits > | |
bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
check two spaces for equality More... | |
Provides a DiscreteFunctionSpace combined from arbitrary number of DiscreteFunctionSpaces of different types into a single Dune::Fem::DiscreteFunctionSpaceInterface ( U_h times V_h times .... ).
This provides the interfaces for discrete function spaces. Discrete function spaces contain functions from a function space but the domain is defined by a grid or more precisly by a grid part.
enumerator for identification of spaces
Enumerator | |
---|---|
CombinedSpace_id |
id for Combined Space |
DFAdapter_id |
id for DiscreteFunctionSpace Adapter |
DGSpace_id |
id for Discontinuous Galerkin Space |
FiniteVolumeSpace_id |
id for Finite Volume Space |
FourierSpace_id |
id for Fourier space |
GenericSpace_id |
id for Generic Space |
LagrangeSpace_id |
id for Lagrange Space |
RannacherTurekSpace_id |
id for Rannacher-Turek space |
LegendreDGSpace_id |
id for Legendre Discontinuous Galerkin Space |
HierarchicLegendreDGSpace_id |
id for Hierarchic Legendre Discontinuous Galerkin Space |
LagrangeDGSpace_id |
id for Lagrange Discontinuous Galerkin Space |
|
inlinestatic |
perform native interpolation of a discrete function space
interpolate
By definition of its degrees of freedom, each discrete function space has a native interpolation, which can be computed very quickly.
For example, the native interpolation of a Lagrange discrete function space is the evaluation in its Lagrange points. An orthonormal DG space would instead perform an -Projection.
The actual implementation must locally be provided by the discrete function space through the method
[in] | u | grid function to interpolate |
[out] | v | discrete function to represent the interpolation |
Referenced by Dune::Fem::interpolate().
|
related |
check two spaces for equality
This is a default implemented equality operator for discrete function spaces. It assumes the mapper to be a singleton and then compares the addresses of the two mappers.
Note that this method can be specialized by implementing another version that uses the exact traits of the discrete function space.
References Dune::Fem::DiscreteFunctionSpaceInterface< FunctionSpaceTraits >::blockMapper().
|
inline |
References Dune::Fem::CombinedSpace_id, Dune::Fem::DFAdapter_id, Dune::Fem::DGSpace_id, Dune::Fem::FiniteVolumeSpace_id, Dune::Fem::FourierSpace_id, Dune::Fem::GenericSpace_id, Dune::Fem::HierarchicLegendreDGSpace_id, Dune::Fem::LagrangeDGSpace_id, Dune::Fem::LagrangeSpace_id, Dune::Fem::LegendreDGSpace_id, and Dune::Fem::RannacherTurekSpace_id.
Referenced by Dune::Fem::DiscreteFunctionDefault< Impl >::read().