COPASI API  4.16.103
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
PJACFunctor< CType > Class Template Reference

#include <common.h>

Inheritance diagram for PJACFunctor< CType >:
Inheritance graph
[legend]
Collaboration diagram for PJACFunctor< CType >:
Collaboration graph
[legend]

Public Member Functions

virtual C_INT operator() (C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
 
 PJACFunctor (CType *pType, C_INT(CType::*pMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac))
 
virtual ~PJACFunctor ()
 
- Public Member Functions inherited from PJAC
 PJAC (C_INT(*pMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac))
 
virtual ~PJAC ()
 

Protected Member Functions

 PJACFunctor ()
 
- Protected Member Functions inherited from PJAC
 PJAC ()
 

Private Attributes

C_INT(CType::* mpMethod )(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
 
CType * mpType
 

Detailed Description

template<typename CType>
class PJACFunctor< CType >

Definition at line 155 of file common.h.

Constructor & Destructor Documentation

template<typename CType>
PJACFunctor< CType >::PJACFunctor ( CType *  pType,
C_INT(CType::*)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)  pMethod 
)
inline

Definition at line 158 of file common.h.

162  :
163  PJAC(),
164  mpType(pType),
165  mpMethod(pMethod)
166  {}
PJAC()
Definition: common.cpp:20
C_INT(CType::* mpMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
Definition: common.h:184
CType * mpType
Definition: common.h:183
template<typename CType>
virtual PJACFunctor< CType >::~PJACFunctor ( )
inlinevirtual

Definition at line 168 of file common.h.

168 {}
template<typename CType>
PJACFunctor< CType >::PJACFunctor ( )
inlineprotected

Definition at line 180 of file common.h.

180 : PJAC(), mpType(NULL), mpMethod(NULL) {}
PJAC()
Definition: common.cpp:20
C_INT(CType::* mpMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
Definition: common.h:184
CType * mpType
Definition: common.h:183

Member Function Documentation

template<typename CType>
virtual C_INT PJACFunctor< CType >::operator() ( C_INT neq,
double *  y,
double *  yh,
C_INT nyh,
double *  ewt,
double *  ftem,
double *  savf,
double *  wm,
C_INT iwm,
evalF  f,
evalJ  jac 
)
inlinevirtual

Reimplemented from PJAC.

Definition at line 170 of file common.h.

References PJACFunctor< CType >::mpMethod, and PJACFunctor< CType >::mpType.

174  {
175  return (*mpType.*mpMethod)(neq, y, yh, nyh, ewt, ftem, savf, wm,
176  iwm, f, jac);
177  }
C_INT(CType::* mpMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
Definition: common.h:184
CType * mpType
Definition: common.h:183

Member Data Documentation

template<typename CType>
C_INT(CType::* PJACFunctor< CType >::mpMethod)(C_INT *neq, double *y, double *yh, C_INT *nyh, double *ewt, double *ftem, double *savf, double *wm, C_INT *iwm, evalF f, evalJ jac)
private

Definition at line 184 of file common.h.

Referenced by PJACFunctor< CType >::operator()().

template<typename CType>
CType* PJACFunctor< CType >::mpType
private

Definition at line 183 of file common.h.

Referenced by PJACFunctor< CType >::operator()().


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