dune-fem 2.8.0
|
Enumerations | |
enum | Dune::Fem::DFSpaceIdentifier { 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::LagrangeSpace_id , Dune::Fem::RannacherTurekSpace_id , Dune::Fem::LegendreDGSpace_id , Dune::Fem::HierarchicLegendreDGSpace_id , Dune::Fem::LagrangeDGSpace_id , Dune::Fem::LocalFiniteElementSpace_id } |
enumerator for identification of spaces More... | |
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 | |
template<class Traits > | |
bool | operator== (const DiscreteFunctionSpaceInterface< Traits > &X, const DiscreteFunctionSpaceInterface< Traits > &Y) |
check two spaces for equality | |
Provides a DiscreteFunctionSpace combined from arbitrary number of DiscreteFunctionSpaces of same type into a single Dune::Fem::DiscreteFunctionSpaceInterface ( U_h times V_h times .... ).
Provides a DiscreteFunctionSpace combined from arbitrary number of DiscreteFunctionSpaces of different types into a single Dune::Fem::DiscreteFunctionSpaceInterface ( U_h times V_h times .... ).
CombineOp describes the way in which the spaces have been combined, options are: TupleSpaceProduct: V = V_1 x V_2 x ... TupleSpaceSummation: V = V_1 + V_2 + ...
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 |
LocalFiniteElementSpace_id | id for local finite element space |
|
inlinestatic |
perform native interpolation of a discrete function space
\function 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
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 |
|
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.
|
inline |