dune-pdelab  2.0.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time > Class Template Reference

Homogenous parameter class for the vector wave local operators. More...

#include <dune/pdelab/localoperator/vectorwave.hh>

Inheritance diagram for Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >:
Inheritance graph

Public Types

typedef Time Time
 export type of temporal values More...
 
typedef GV::ctype DomainField
 field type of domain More...
 
typedef FieldVector
< DomainField, dimension
Domain
 vector type of domain More...
 
typedef RF RangeField
 field type of range More...
 
typedef FieldVector
< RangeField, dimension
Range
 vector type of range More...
 
typedef GV::template Codim
< 0 >::Entity 
Element
 element type of GridView More...
 

Public Member Functions

 ConstantParameters (RF epsilon, RF mu)
 
template<typename Domain >
RF epsilonGlobal (const Domain &) const
 
bool epsilonChanged (Time t1, Time t2) const
 
template<typename Domain >
RF muGlobal (const Domain &) const
 
bool muChanged (Time t1, Time t2) const
 
RangeField epsilon (const Element &e, const Domain &xl) const
 evaluate dielectric permittivity $\varepsilon=\varepsilon_0\varepsilon_r$ More...
 
RangeField mu (const Element &e, const Domain &xl) const
 evaluate magnetic permeability $\mu=\mu_0\mu_r$ More...
 
void setTime (const Time &time)
 set the time for subsequent evaluation More...
 

Static Public Attributes

static const std::size_t dimension
 export dimension (both domain and range) More...
 

Detailed Description

template<class GV, class RF = double, class Time = double>
class Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >

Homogenous parameter class for the vector wave local operators.

Parameter class with spatially constant $\varepsilon$ and $\mu$.

Template Parameters
GVType of GridView to operate on. Used to extract ctype and dimension.
RFField type of the values.
Time_Type of temporal values.

Member Typedef Documentation

typedef FieldVector<DomainField, dimension> Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::Domain
inherited

vector type of domain

typedef GV::ctype Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::DomainField
inherited

field type of domain

typedef GV::template Codim<0>::Entity Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::Element
inherited

element type of GridView

typedef FieldVector<RangeField, dimension> Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::Range
inherited

vector type of range

typedef RF Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::RangeField
inherited

field type of range

typedef Time Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::Time
inherited

export type of temporal values

Constructor & Destructor Documentation

template<class GV , class RF = double, class Time = double>
Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >::ConstantParameters ( RF  epsilon,
RF  mu 
)
inline

Member Function Documentation

RangeField Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::epsilon ( const Element e,
const Domain xl 
) const
inlineinherited

evaluate dielectric permittivity $\varepsilon=\varepsilon_0\varepsilon_r$

This implementation forwards calls to the derived class, which should have an accessible member function

RangeField epsilon(const Domain& xg) const;
template<class GV , class RF = double, class Time = double>
bool Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >::epsilonChanged ( Time  t1,
Time  t2 
) const
inline
template<class GV , class RF = double, class Time = double>
template<typename Domain >
RF Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >::epsilonGlobal ( const Domain ) const
inline
RangeField Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::mu ( const Element e,
const Domain xl 
) const
inlineinherited

evaluate magnetic permeability $\mu=\mu_0\mu_r$

This implementation forwards calls to the derived class, which should have an accessible member function

RangeField mu(const Domain& xg) const;
template<class GV , class RF = double, class Time = double>
bool Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >::muChanged ( Time  t1,
Time  t2 
) const
inline
template<class GV , class RF = double, class Time = double>
template<typename Domain >
RF Dune::PDELab::VectorWave::ConstantParameters< GV, RF, Time >::muGlobal ( const Domain ) const
inline
void Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::setTime ( const Time time)
inlineinherited

set the time for subsequent evaluation

This is a no-op in the default implementation.

Member Data Documentation

const std::size_t Dune::PDELab::VectorWave::Parameters< ConstantParameters< GV, RF, Time > , GV, RF, Time >::dimension
staticinherited

export dimension (both domain and range)


The documentation for this class was generated from the following file: