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

#include <formulas2D.hh>

Inheritance diagram for concepts::Exp_i_n_phi:
concepts::Formula< Cmplx >

Public Types

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

Public Member Functions

virtual Exp_i_n_phiclone () const
 
virtual Formulaclone () const=0
 
 Exp_i_n_phi (const int n=0)
 Constructor. More...
 
virtual Cmplx operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Cmplx operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

const int n_
 exponent of the function More...
 

Detailed Description

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

Author
Dirk Klindworth, 2011

Definition at line 22 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.

Constructor & Destructor Documentation

◆ Exp_i_n_phi()

concepts::Exp_i_n_phi::Exp_i_n_phi ( const int  n = 0)
inline

Constructor.

Definition at line 25 of file formulas2D.hh.

Member Function Documentation

◆ clone() [1/2]

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

Definition at line 32 of file formulas2D.hh.

◆ clone() [2/2]

virtual Formula* concepts::Formula< Cmplx >::clone
pure virtualinherited

◆ info()

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

◆ operator()() [1/6]

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.

Definition at line 53 of file formula.hh.

◆ operator()() [2/6]

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

Convenience implementation, that by default ignores its elm param.

Definition at line 56 of file formula.hh.

◆ operator()() [3/6]

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

Convenience implementation, that by default ignores its elm param.

Definition at line 59 of file formula.hh.

◆ operator()() [4/6]

virtual Cmplx concepts::Exp_i_n_phi::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()() [5/6]

virtual Cmplx concepts::Exp_i_n_phi::operator() ( const Real2d 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()() [6/6]

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

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Implements concepts::Formula< Cmplx >.

Member Data Documentation

◆ n_

const int concepts::Exp_i_n_phi::n_
private

exponent of the function

Definition at line 39 of file formulas2D.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich