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

declode.h File Reference

#include "taylexp.h"

Defines

#define DECLARE_ODE_PROBLEM(CLASS_NAME,PROBLEM_SIZE,FUNCTION_NAME,PROBLEM_NAME)
 Macro for creating a problem class and Taylor series generator classes. More...


Define Documentation

#define DECLARE_ODE_PROBLEM( CLASS_NAME, PROBLEM_SIZE, FUNCTION_NAME, PROBLEM_NAME )
 

Initializer:

\
class CLASS_NAME : public ODE_NUMERIC\
{\
public:\
 CLASS_NAME() : ODE_NUMERIC(PROBLEM_SIZE, FUNCTION_NAME, PROBLEM_NAME) {;}\
  \
  ~CLASS_NAME() {}\
  void LoadProblemParam( int ); \
};\
\
\
class CLASS_NAME##TaylGenODE : public TAYLOR_ODE_TAD\
{\
public:\
 CLASS_NAME##TaylGenODE() : TAYLOR_ODE_TAD(PROBLEM_SIZE, FUNCTION_NAME ) {;}\
};\
\
\
class CLASS_NAME##TaylGenVAR : public TAYLOR_VAR_TAD\
{\
public:\
 CLASS_NAME##TaylGenVAR() : TAYLOR_VAR_TAD(PROBLEM_SIZE, FUNCTION_NAME) {;}\
};
Macro for creating a problem class and Taylor series generator classes.

This macro generates declarations for three classes: a class derived from ODE_NUMERIC, a class derived from TAYLOR_ODE_TAD and a class derived from TAYLOR_ODE_TAD.

Parameters:
CLASS_NAME   name for the derived ODE_NUMERIC class and a prefix for the class names of the classes derived from TAYLOR_ODE_TAD and TAYLOR_ODE_TAD.
PROBLEM_SIZE   size of the problem
FUNCTION_NAME   a name of a template function for computing
PROBLEM_NAME   a name for the problem class.


Generated at Sun Oct 14 12:45:40 2001 for VNODE by doxygen1.2.0 written by Dimitri van Heesch, © 1997-2000