Class representing SphericalFormulas in two in 2 components. More...

#include <sphericalFormula.hh>

Inheritance diagram for concepts::SphericalFormula< Real2d >:
concepts::ParsedFormula< Real2d > concepts::Formula< Real2d > concepts::ParsedFormulaBase< 2 >

Public Types

typedef Realtype< Real2d >::type G
 
typedef concepts::Sequence< std::pair< std::string, std::string > > RepSeq
 
typedef Real2d value_type
 

Public Member Functions

virtual SphericalFormula< Real2d > * clone () const
 
virtual Formulaclone () const=0
 
virtual Real2d operator() (const Real p, const Real t=0.0) const
 Application operator. More...
 
virtual Real2d operator() (const Real2d &p, const Real t=0.0) const
 Application operator. More...
 
virtual Real2d operator() (const Real3d &p, const Real t=0.0) const
 Application operator. More...
 
void set (const std::string formula, uint i=0, RepSeq rep=RepSeq())
 Sets the i th formula. More...
 
 SphericalFormula (const std::string formula1, const std::string formula2)
 Constructor. More...
 
virtual ~SphericalFormula ()
 
virtual Real2d operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 
virtual Real2d operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 Convenience implementation, that by default ignores its elm param. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 
Real process_ (const Real3d &p, const Real t=0.0, uint i=0) const
 Processing the i th formula (with time-dependency variable) More...
 

Protected Attributes

std::string formula_ [dim]
 The original formula. More...
 

Private Attributes

uint len_ [dim]
 Length of the parsed formula
More...
 
Array< ucharpgm_ [dim]
 The parsed formula. More...
 

Detailed Description

Class representing SphericalFormulas in two in 2 components.

Author
Robert Gruhlke, 2013

Definition at line 61 of file sphericalFormula.hh.

Member Typedef Documentation

◆ G

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

Definition at line 37 of file formula.hh.

◆ RepSeq

typedef concepts::Sequence<std::pair<std::string,std::string> > concepts::ParsedFormulaBase< dim >::RepSeq
inherited

Definition at line 62 of file parsedFormula.hh.

◆ value_type

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

Definition at line 36 of file formula.hh.

Constructor & Destructor Documentation

◆ SphericalFormula()

concepts::SphericalFormula< Real2d >::SphericalFormula ( const std::string  formula1,
const std::string  formula2 
)
inline

Constructor.

Definition at line 64 of file sphericalFormula.hh.

◆ ~SphericalFormula()

Member Function Documentation

◆ clone() [1/2]

virtual SphericalFormula<Real2d>* concepts::SphericalFormula< Real2d >::clone ( ) const
virtual

Reimplemented from concepts::ParsedFormula< Real2d >.

◆ clone() [2/2]

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

◆ info()

virtual std::ostream& concepts::SphericalFormula< Real2d >::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::ParsedFormula< Real2d >.

◆ operator()() [1/6]

virtual Real2d concepts::Formula< Real2d >::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 Real2d concepts::Formula< Real2d >::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 Real2d concepts::Formula< Real2d >::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 Real2d concepts::SphericalFormula< Real2d >::operator() ( const Real  p,
const Real  t = 0.0 
) const
virtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Reimplemented from concepts::ParsedFormula< Real2d >.

◆ operator()() [5/6]

virtual Real2d concepts::SphericalFormula< Real2d >::operator() ( const Real2d p,
const Real  t = 0.0 
) const
virtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Reimplemented from concepts::ParsedFormula< Real2d >.

◆ operator()() [6/6]

virtual Real2d concepts::SphericalFormula< Real2d >::operator() ( const Real3d p,
const Real  t = 0.0 
) const
virtual

Application operator.

Evaluates the formula.

Parameters
pPoint in space
tPoint in time

Reimplemented from concepts::ParsedFormula< Real2d >.

◆ process_()

Real concepts::ParsedFormulaBase< dim >::process_ ( const Real3d p,
const Real  t = 0.0,
uint  i = 0 
) const
protectedinherited

Processing the i th formula (with time-dependency variable)

◆ set()

void concepts::ParsedFormulaBase< dim >::set ( const std::string  formula,
uint  i = 0,
RepSeq  rep = RepSeq() 
)
inherited

Sets the i th formula.

Member Data Documentation

◆ formula_

std::string concepts::ParsedFormulaBase< dim >::formula_[dim]
protectedinherited

The original formula.

Definition at line 85 of file parsedFormula.hh.

◆ len_

uint concepts::ParsedFormulaBase< dim >::len_[dim]
privateinherited

Length of the parsed formula

Definition at line 90 of file parsedFormula.hh.

◆ pgm_

Array<uchar> concepts::ParsedFormulaBase< dim >::pgm_[dim]
privateinherited

The parsed formula.

Definition at line 88 of file parsedFormula.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