dune-pdelab
2.0.0
|
make a GridFunction from a Function More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef GridFunctionTraits< G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType > | Traits |
Public Member Functions | |
dune_static_assert ((is_same< typename T::Traits::DomainFieldType, typename Traits::DomainFieldType >::value),"GridView's and wrapped Functions DomainFieldType don't match") | |
dune_static_assert (T::Traits::dimDomain==Traits::dimDomain,"GridView's and wrapped Functions dimDomain don't match") | |
dune_static_assert ((is_same< typename T::Traits::DomainType, typename Traits::DomainType >::value),"GridView's and wrapped Functions DomainType don't match") | |
FunctionToGridFunctionAdapter (const G &g_, const T &t_) | |
Create a FunctionToGridFunctionAdapter. More... | |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
const Traits::GridViewType & | getGridView () const |
Output::DataSetType | dataSetType () const |
Return the data set type of this function. More... | |
void | setDataSetType (Output::DataSetType dataSetType) |
Set the data set type of this function. More... | |
make a GridFunction from a Function
G | The GridView type |
T | The function type |
typedef GridFunctionTraits<G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType> Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::Traits |
|
inline |
Create a FunctionToGridFunctionAdapter.
g_ | The GridView |
t_ | The function |
|
inlineinherited |
Return the data set type of this function.
Referenced by Dune::PDELab::GridFunctionOutputParameters::setDataSetType().
Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::dune_static_assert | ( | (is_same< typename T::Traits::DomainFieldType, typename Traits::DomainFieldType >::value) | , |
"GridView's and wrapped Functions DomainFieldType don't match" | |||
) |
Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::dune_static_assert | ( | T::Traits::dimDomain | = =Traits::dimDomain , |
"GridView's and wrapped Functions dimDomain don't match" | |||
) |
Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::dune_static_assert | ( | (is_same< typename T::Traits::DomainType, typename Traits::DomainType >::value) | , |
"GridView's and wrapped Functions DomainType don't match" | |||
) |
|
inline |
|
inline |
|
inlineinherited |
Set the data set type of this function.
References Dune::PDELab::GridFunctionOutputParameters::dataSetType().