# TylerChannelIF Class Reference

`#include <TylerChannelIF.H>`

Inheritance diagram for TylerChannelIF:

[legend]
Collaboration diagram for TylerChannelIF:

[legend]

## Detailed Description

This implicit function specifies a sphere.

## Public Member Functions

TylerChannelIF (const Real &a_x1, const Real &a_x2, const Real &a_y1, const Real &a_y2, const Real &a_yDomainLength)
TylerChannelIF (const TylerChannelIF &a_inputIF)
Copy constructor.
virtual ~TylerChannelIF ()
Destructor.
virtual Real value (const RealVect &a_point) const
virtual BaseIFnewImplicitFunction () const

## Protected Attributes

Real m_x1
Real m_x2
Real m_y1
Real m_y2
Real m_yDomainLength

## Private Member Functions

TylerChannelIF ()
void operator= (const TylerChannelIF &a_inputIF)

## Constructor & Destructor Documentation

 TylerChannelIF::TylerChannelIF ( const Real & a_x1, const Real & a_x2, const Real & a_y1, const Real & a_y2, const Real & a_yDomainLength )

A C-infinity contraction/expansion channel.

The geometry is centered at [x_M,y_M] = [(a_x1+a_x2)/2,yDomainLength/2] and is symmetric about y = y_M. The size of the channel goes from 2*a_y1 to 2*a_y2 as x goes from -infinity to infinity.

The boundary is given by:

y(x) = y_M +/- yDist(x) yDist(x) = a_y1*(1-frac(x)) + a_y2*frac(x) frac(x) = (tanh(theta(x)) + 1) / 2 theta(x) = 4 * (x - x_M)/(a_x2 - a_x1)

 TylerChannelIF::TylerChannelIF ( const TylerChannelIF & a_inputIF )

Copy constructor.

 virtual TylerChannelIF::~TylerChannelIF ( ) ` [virtual]`

Destructor.

 TylerChannelIF::TylerChannelIF ( ) ` [inline, private]`

References MayDay::Error().

## Member Function Documentation

 virtual Real TylerChannelIF::value ( const RealVect & a_point ) const` [virtual]`

Return the value of the function at a_point.

Implements BaseIF.

 virtual BaseIF* TylerChannelIF::newImplicitFunction ( ) const` [virtual]`

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseIF.

 void TylerChannelIF::operator= ( const TylerChannelIF & a_inputIF ) ` [inline, private]`

References MayDay::Error().

## Member Data Documentation

 Real TylerChannelIF::m_x1` [protected]`

 Real TylerChannelIF::m_x2` [protected]`

 Real TylerChannelIF::m_y1` [protected]`

 Real TylerChannelIF::m_y2` [protected]`

 Real TylerChannelIF::m_yDomainLength` [protected]`

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

Generated on Tue Apr 14 14:24:02 2009 for Chombo + EB by  1.5.5