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

#include <formulas2D.hh>

Inheritance diagram for concepts::Sin_n_y:
concepts::Formula< Real >

Public Types

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

Public Member Functions

virtual Sin_n_yclone () const
 
virtual Formulaclone () const=0
 
virtual Real operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Real operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Real operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 
 Sin_n_y (const int n=1, const Real L=1.0)
 Constructor. More...
 

Protected Member Functions

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

Private Attributes

const Real L_
 length of the interval More...
 
const int n_
 exponent of the function More...
 

Detailed Description

Class for evaluating $ \sin(2 \pi 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 250 of file formulas2D.hh.

Member Typedef Documentation

◆ G

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

Definition at line 37 of file formula.hh.

◆ value_type

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

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ Sin_n_y()

concepts::Sin_n_y::Sin_n_y ( const int  n = 1,
const Real  L = 1.0 
)

Constructor.

Member Function Documentation

◆ clone() [1/2]

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

Definition at line 260 of file formulas2D.hh.

◆ clone() [2/2]

virtual Formula* concepts::Formula< Real >::clone ( ) const
pure virtualinherited

◆ info()

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

◆ operator()() [1/6]

virtual Real concepts::Formula< Real >::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 Real concepts::Formula< Real >::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 Real concepts::Formula< Real >::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 Real concepts::Sin_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< Real >.

◆ operator()() [5/6]

virtual Real concepts::Sin_n_y::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< Real >.

◆ operator()() [6/6]

virtual Real concepts::Sin_n_y::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< Real >.

Member Data Documentation

◆ L_

const Real concepts::Sin_n_y::L_
private

length of the interval

Definition at line 269 of file formulas2D.hh.

◆ n_

const int concepts::Sin_n_y::n_
private

exponent of the function

Definition at line 267 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