OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SFunction Class Reference

Functions of arc length. More...

#include <SFunction.h>

Collaboration diagram for SFunction:
Collaboration graph
[legend]

Public Member Functions

 SFunction ()
 Default constructor. More...
 
 ~SFunction ()
 Destructor. More...
 
void reset ()
 Reset the arc length to zero. More...
 
void update (double length)
 Advance position by element length. More...
 

Static Public Member Functions

static double arcIn ()
 Return arc length at entrance SI(). More...
 
static double arcCtr ()
 Return arc length at center SC(). More...
 
static double arcOut ()
 Return arc length at exit SO(). More...
 

Private Member Functions

 SFunction (const SFunction &)
 
void operator= (const SFunction &)
 
double position (double flag) const
 

Private Attributes

double elementLength
 
double exitArc
 

Static Private Attributes

static const SFunctionsfun = 0
 

Detailed Description

Functions of arc length.

Definition at line 31 of file SFunction.h.

Constructor & Destructor Documentation

SFunction::SFunction ( )

Default constructor.

Definition at line 32 of file SFunction.cpp.

References reset(), and sfun.

Here is the call graph for this function:

SFunction::~SFunction ( )

Destructor.

Definition at line 38 of file SFunction.cpp.

References sfun.

SFunction::SFunction ( const SFunction )
private

Member Function Documentation

double SFunction::arcCtr ( )
static

Return arc length at center SC().

Definition at line 54 of file SFunction.cpp.

References position(), and sfun.

Here is the call graph for this function:

double SFunction::arcIn ( )
static

Return arc length at entrance SI().

Definition at line 43 of file SFunction.cpp.

References position(), and sfun.

Here is the call graph for this function:

double SFunction::arcOut ( )
static

Return arc length at exit SO().

Definition at line 65 of file SFunction.cpp.

References position(), and sfun.

Here is the call graph for this function:

void SFunction::operator= ( const SFunction )
private
double SFunction::position ( double  flag) const
private

Definition at line 88 of file SFunction.cpp.

References elementLength, and exitArc.

Referenced by arcCtr(), arcIn(), and arcOut().

void SFunction::reset ( )

Reset the arc length to zero.

Definition at line 76 of file SFunction.cpp.

References elementLength, and exitArc.

Referenced by SFunction().

void SFunction::update ( double  length)

Advance position by element length.

Definition at line 82 of file SFunction.cpp.

References elementLength, and exitArc.

Member Data Documentation

double SFunction::elementLength
private

Definition at line 70 of file SFunction.h.

Referenced by position(), reset(), and update().

double SFunction::exitArc
private

Definition at line 73 of file SFunction.h.

Referenced by position(), reset(), and update().

const SFunction * SFunction::sfun = 0
staticprivate

Definition at line 77 of file SFunction.h.

Referenced by arcCtr(), arcIn(), arcOut(), SFunction(), and ~SFunction().


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