afl::BasisArgument Class Reference

#include <functions.h>

Inheritance diagram for afl::BasisArgument:

afl::Function afl::BasisArgument_1 afl::BasisArgument_2 afl::BasisArgument_3 afl::BasisArgument_4 afl::KsiBasisArgument_1 afl::KsiBasisArgument_2 afl::KsiBasisArgument_3 afl::KsiBasisArgument_4 List of all members.

Public Member Functions

 BasisArgument (size_t index)
virtual data_t evaluate (const Point &p, Function::Context *ctxt) const =0
virtual void serialise (std::ostream &doc) const
virtual Functionclone () const =0

Protected Attributes

size_t _u

Detailed Description

a function that substitutes an argument with a value


Constructor & Destructor Documentation

afl::BasisArgument::BasisArgument size_t  index  ) 
 

Parameters:
index the i in ui


Member Function Documentation

virtual Function* afl::BasisArgument::clone  )  const [pure virtual]
 

Returns:
an exact copy of this function

Implements afl::Function.

Implemented in afl::BasisArgument_1, afl::BasisArgument_2, afl::BasisArgument_3, afl::BasisArgument_4, afl::KsiBasisArgument_1, afl::KsiBasisArgument_2, afl::KsiBasisArgument_3, and afl::KsiBasisArgument_4.

virtual data_t afl::BasisArgument::evaluate const Point p,
Function::Context ctxt
const [pure virtual]
 

evaluates the function

Parameters:
p the location to evaluate the function at
ctxt the context for the evaluation
Returns:
the value of the field at (x,y,z,t)

Implements afl::Function.

Implemented in afl::BasisArgument_1, afl::BasisArgument_2, afl::BasisArgument_3, afl::BasisArgument_4, afl::KsiBasisArgument_1, afl::KsiBasisArgument_2, afl::KsiBasisArgument_3, and afl::KsiBasisArgument_4.

virtual void afl::BasisArgument::serialise std::ostream &  doc  )  const [virtual]
 

adds the symbolic value of the function to an output stream

Parameters:
doc the output stream to put the function on

Implements afl::Function.

Reimplemented in afl::KsiBasisArgument_1, afl::KsiBasisArgument_2, afl::KsiBasisArgument_3, and afl::KsiBasisArgument_4.


Member Data Documentation

size_t afl::BasisArgument::_u [protected]
 

the index following the U in the expression U1 for example


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:51 2006 for afl by  doxygen 1.4.6