Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

csfl::IFConstant Class Reference

#include <function.h>

Inheritance diagram for csfl::IFConstant::

csfl::IFunction csfl::ISFLObject List of all members.

Public Methods

 IFConstant (double _k)
 IFConstant (IFConstant *_f)
double Eval (double _pos)
void SetCoefficient (double _v)

Private Attributes

double k

Detailed Description

Classe que representa uma função constante.


Constructor & Destructor Documentation

csfl::IFConstant::IFConstant ( double _k ) [inline]
 

O argumento “_k“ representa o valor da constante da função.

csfl::IFConstant::IFConstant ( IFConstant * _f ) [inline]
 


Member Function Documentation

double csfl::IFConstant::Eval ( double _pos ) [inline, virtual]
 

Retorna o valor da função para um valor de x = _pos.

Reimplemented from csfl::IFunction.

void csfl::IFConstant::SetCoefficient ( double _v ) [inline]
 

Modifica o valor da constante da função para “_v“.


Member Data Documentation

double csfl::IFConstant::k [private]
 


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

 

CFD Project | Documents | Downloads | Contact us | Use Terms

 

© SINMEC/EMC/UFSC, 2001.

All rights reserved.

Last Update: Jan. 18, 2002

 Webmaster