SpectralConformTransformation Class Reference

#include <SpectralConformTransformation.hpp>

Collaboration diagram for SpectralConformTransformation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

real_t operator() (const real_t &x) const
real_t inverse (const real_t &x) const
real_t inverseDeterminant () const
real_t determinant () const
 SpectralConformTransformation (const Interval &interval)
 SpectralConformTransformation (const SpectralConformTransformation &s)
 ~SpectralConformTransformation ()

Private Attributes

const Interval __interval


Detailed Description

Definition at line 34 of file SpectralConformTransformation.hpp.


Constructor & Destructor Documentation

SpectralConformTransformation::SpectralConformTransformation ( const Interval interval  ) 

Constructor

Parameters:
interval $ (a,b) $

Definition at line 24 of file SpectralConformTransformation.cpp.

00025   : __interval(interval)
00026 {
00027   ;
00028 }

SpectralConformTransformation::SpectralConformTransformation ( const SpectralConformTransformation s  ) 

copy constructor

Parameters:
s a given spectral conform transformation

Definition at line 31 of file SpectralConformTransformation.cpp.

00032   : __interval(s.__interval)
00033 {
00034   ;
00035 }

SpectralConformTransformation::~SpectralConformTransformation (  ) 

Destructor

Definition at line 38 of file SpectralConformTransformation.cpp.

00039 {
00040   ;
00041 }


Member Function Documentation

real_t SpectralConformTransformation::operator() ( const real_t &  x  )  const

Computes $ T(x) $

Returns:
$ T(x) $

Definition at line 45 of file SpectralConformTransformation.cpp.

References __interval, Interval::a(), and Interval::b().

00046 {
00047   return  (__interval.b()-__interval.a())/2 *x + (__interval.b()+__interval.a())/2;
00048 }

Here is the call graph for this function:

real_t SpectralConformTransformation::inverse ( const real_t &  x  )  const

Computes $ T^{-1}(x) $

Returns:
$ T^{-1}(x) $

Definition at line 51 of file SpectralConformTransformation.cpp.

References __interval, Interval::a(), and Interval::b().

Referenced by SpectralFunction::dx(), SpectralFunction::dy(), SpectralFunction::dz(), and SpectralFunction::operator()().

00052 {
00053   return 2./(__interval.b()-__interval.a())*x - (__interval.b()+__interval.a())/(__interval.b()-__interval.a());
00054 }

Here is the call graph for this function:

real_t SpectralConformTransformation::inverseDeterminant (  )  const

Computes the determinent of the Jacobian of the inverse transformation

Returns:
$ \frac{2}{b-a} $

Definition at line 57 of file SpectralConformTransformation.cpp.

References __interval, Interval::a(), and Interval::b().

Referenced by SpectralFunction::dx(), SpectralFunction::dy(), SpectralFunction::dz(), and RealExpressionIntegrate::execute().

00058 {
00059   return 2./(__interval.b() -__interval.a());
00060 }

Here is the call graph for this function:

real_t SpectralConformTransformation::determinant (  )  const

Computes the determinent of the Jacobian transformation

Returns:
$ \frac{b-1}{2} $

Definition at line 63 of file SpectralConformTransformation.cpp.

References __interval, Interval::a(), and Interval::b().

00064 {
00065   return (__interval.b() -__interval.a())/2.;
00066 }

Here is the call graph for this function:


Member Data Documentation

interval $(a,b)$

Definition at line 37 of file SpectralConformTransformation.hpp.

Referenced by determinant(), inverse(), inverseDeterminant(), and operator()().


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

Generated on Wed Nov 19 00:14:27 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6