Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::Exp_i_n_y Class Referenceabstract

#include <formulas2D.hh>

Inheritance diagram for concepts::Exp_i_n_y:
concepts::Formula< Cmplx > concepts::PiecewiseFormulaBase< F > concepts::ElementFormula< F, concepts::Realtype< F >::type > concepts::Cloneable concepts::OutputOperator

Public Types

typedef Cmplx value_type
 
typedef Realtype< Cmplx >::type G
 

Public Member Functions

 Exp_i_n_y (const int n=0, const Real L=1.0)
 Constructor.
 
virtual Cmplx operator() (const Real p, const Real t=0.0) const
 
virtual Cmplx operator() (const Real2d &p, const Real t=0.0) const
 
virtual Cmplx operator() (const Real3d &p, const Real t=0.0) const
 
virtual Exp_i_n_yclone () const
 Virtual copy constructor.
 
virtualoperator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 
virtual const F & dflt_value () const
 Gives default value.
 
virtual F & dflt_value ()
 Gives default value.
 
virtual Cmplx operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 
virtual Cmplx operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 
virtual Cmplx operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

Class for evaluating $ \exp(2 \pi i n y/ L), n\in\mathbb{Z} $ for points $ (x,y) \in \mathbb{R}^2 $ in cartesian coordinates.

Author
Kersten Schmidt, 2012

Definition at line 191 of file formulas2D.hh.

Member Typedef Documentation

◆ G

typedef Realtype<Cmplx >::type concepts::Formula< Cmplx >::G
inherited

Definition at line 37 of file formula.hh.

◆ value_type

typedef Cmplx concepts::Formula< Cmplx >::value_type
inherited

Definition at line 36 of file formula.hh.

Member Function Documentation

◆ clone()

virtual Exp_i_n_y * concepts::Exp_i_n_y::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Formula< Cmplx >.

Definition at line 201 of file formulas2D.hh.

◆ dflt_value() [1/2]

template<typename F >
virtual F & concepts::PiecewiseFormulaBase< F >::dflt_value ( )
inlinevirtualinherited

Gives default value.

Definition at line 83 of file piecewiseFormula.hh.

◆ dflt_value() [2/2]

template<typename F >
virtual const F & concepts::PiecewiseFormulaBase< F >::dflt_value ( ) const
inlinevirtualinherited

Gives default value.

Definition at line 81 of file piecewiseFormula.hh.

◆ info()

virtual std::ostream & concepts::Exp_i_n_y::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::PiecewiseFormulaBase< F >.

◆ operator()() [1/12]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Convenience implementation, that by default ignores its elm param.

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 53 of file formula.hh.

◆ operator()() [2/12]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 56 of file formula.hh.

◆ operator()() [3/12]

virtual Cmplx concepts::Formula< Cmplx >::operator() ( const Connector cntr,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 59 of file formula.hh.

◆ operator()() [4/12]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/12]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/12]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/12]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 52 of file piecewiseFormula.hh.

◆ operator()() [8/12]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 57 of file piecewiseFormula.hh.

◆ operator()() [9/12]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 63 of file piecewiseFormula.hh.

◆ operator()() [10/12]

virtual Cmplx concepts::Exp_i_n_y::operator() ( const Real  p,
const Real  t = 0.0 
) const
virtual

Application operator. Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

◆ operator()() [11/12]

virtual Cmplx concepts::Exp_i_n_y::operator() ( const Real2d p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [12/12]

virtual Cmplx concepts::Exp_i_n_y::operator() ( const Real3d p,
const Real  t = 0.0 
) const
virtual

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