1 #ifndef DUNE_PDELAB_LOCALOPERATOR_PERMEABILITY_ADAPTER_HH 2 #define DUNE_PDELAB_LOCALOPERATOR_PERMEABILITY_ADAPTER_HH 13 typename T::Traits::RangeFieldType,
14 1,Dune::FieldVector<typename T::Traits::RangeFieldType,1> >
15 ,PermeabilityAdapter<T> >
19 typename T::Traits::RangeFieldType,
20 1,Dune::FieldVector<typename T::Traits::RangeFieldType,1> >
Traits;
32 y = log(t.A(e,x)[0][0]);
57 typename T::Traits::RangeFieldType,
58 T::Traits::dimDomain,Dune::FieldVector<typename T::Traits::RangeFieldType,T::Traits::dimDomain> >
59 ,DiagonalPermeabilityAdapter<T> >
63 typename T::Traits::RangeFieldType,
64 T::Traits::dimDomain,Dune::FieldVector<typename T::Traits::RangeFieldType,T::Traits::dimDomain> >
Traits;
76 for (
int i=0; i<T::Traits::dimDomain; i++)
77 y[i] = log10(t.A(e,x)[i][i]);
95 #endif // DUNE_PDELAB_LOCALOPERATOR_PERMEABILITY_ADAPTER_HH void setTime(double time_)
Definition: permeability_adapter.hh:85
leaf of a function tree
Definition: function.hh:575
Definition: permeability_adapter.hh:55
void setTime(double time_)
Definition: permeability_adapter.hh:40
const Traits::GridViewType & getGridView() const
Definition: permeability_adapter.hh:35
GV::Traits::template Codim< 0 >::Entity ElementType
codim 0 entity
Definition: function.hh:117
PermeabilityAdapter(const typename Traits::GridViewType &g_, T &t_)
constructor
Definition: permeability_adapter.hh:23
GV GridViewType
The type of the grid view the function lives on.
Definition: function.hh:114
Dune::PDELab::GridFunctionTraits< typename T::Traits::GridViewType, typename T::Traits::RangeFieldType, 1, Dune::FieldVector< typename T::Traits::RangeFieldType, 1 > > Traits
Definition: permeability_adapter.hh:20
void evaluate(const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Definition: permeability_adapter.hh:28
DiagonalPermeabilityAdapter(const typename Traits::GridViewType &g_, T &t_)
constructor
Definition: permeability_adapter.hh:67
Dune::FieldVector< GV::Grid::ctype, GV::dimension > DomainType
domain type in dim-size coordinates
Definition: function.hh:48
void evaluate(const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
Definition: permeability_adapter.hh:72
Definition: permeability_adapter.hh:11
const Entity & e
Definition: localfunctionspace.hh:111
Dune::PDELab::GridFunctionTraits< typename T::Traits::GridViewType, typename T::Traits::RangeFieldType, T::Traits::dimDomain, Dune::FieldVector< typename T::Traits::RangeFieldType, T::Traits::dimDomain > > Traits
Definition: permeability_adapter.hh:64
R RangeType
range type
Definition: function.hh:60
traits class holding the function signature, same as in local function
Definition: function.hh:175
const Traits::GridViewType & getGridView() const
Definition: permeability_adapter.hh:80