MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HopFunc6< A1, A2, A3, A4, A5, A6 > Class Template Reference

#include <HopFunc.h>

+ Inheritance diagram for HopFunc6< A1, A2, A3, A4, A5, A6 >:
+ Collaboration diagram for HopFunc6< A1, A2, A3, A4, A5, A6 >:

Public Member Functions

 HopFunc6 (HopIndex hopIndex)
 
void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6) const
 
- Public Member Functions inherited from OpFunc6Base< A1, A2, A3, A4, A5, A6 >
bool checkFinfo (const Finfo *s) const
 
const OpFuncmakeHopFunc (HopIndex hopIndex) const
 
void opBuffer (const Eref &e, double *buf) const
 Executes the OpFunc by converting args. More...
 
string rttiType () const
 
- Public Member Functions inherited from OpFunc
 OpFunc ()
 
unsigned int opIndex () const
 
virtual void opVecBuffer (const Eref &e, double *buf) const
 Executes the OpFunc for all data by converting a vector of args. More...
 
bool setIndex (unsigned int i)
 Used when rebuilding the Fid->OpFunc mapping. More...
 
virtual ~OpFunc ()
 

Private Attributes

HopIndex hopIndex_
 

Additional Inherited Members

- Static Public Member Functions inherited from OpFunc
static const OpFunclookop (unsigned int opIndex)
 
static unsigned int rebuildOpIndex ()
 cleans out the entire Ops vector. Returns size of orig vector. More...
 

Detailed Description

template<class A1, class A2, class A3, class A4, class A5, class A6>
class HopFunc6< A1, A2, A3, A4, A5, A6 >

Definition at line 372 of file HopFunc.h.

Constructor & Destructor Documentation

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
HopFunc6< A1, A2, A3, A4, A5, A6 >::HopFunc6 ( HopIndex  hopIndex)
inline

Definition at line 375 of file HopFunc.h.

376  : hopIndex_( hopIndex )
377  {;}
HopIndex hopIndex_
Definition: HopFunc.h:395

Member Function Documentation

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
void HopFunc6< A1, A2, A3, A4, A5, A6 >::op ( const Eref e,
A1  arg1,
A2  arg2,
A3  arg3,
A4  arg4,
A5  arg5,
A6  arg6 
) const
inlinevirtual

Implements OpFunc6Base< A1, A2, A3, A4, A5, A6 >.

Definition at line 379 of file HopFunc.h.

References addToBuf(), dispatchBuffers(), HopFunc6< A1, A2, A3, A4, A5, A6 >::hopIndex_, and Conv< T >::val2buf().

381  {
382  double* buf = addToBuf( e, hopIndex_,
383  Conv< A1 >::size( arg1 ) + Conv< A2 >::size( arg2 ) +
384  Conv< A3 >::size( arg3 ) + Conv< A4 >::size( arg4 ) +
385  Conv< A5 >::size( arg5 ) + Conv< A6 >::size( arg6 ) );
386  Conv< A1 >::val2buf( arg1, &buf );
387  Conv< A2 >::val2buf( arg2, &buf );
388  Conv< A3 >::val2buf( arg3, &buf );
389  Conv< A4 >::val2buf( arg4, &buf );
390  Conv< A5 >::val2buf( arg5, &buf );
391  Conv< A6 >::val2buf( arg6, &buf );
393  }
static void val2buf(const T &val, double **buf)
Definition: Conv.h:56
double * addToBuf(const Eref &e, HopIndex hopIndex, unsigned int size)
Definition: HopFunc.cpp:29
Definition: Conv.h:30
void dispatchBuffers(const Eref &e, HopIndex hopIndex)
Definition: HopFunc.cpp:47
HopIndex hopIndex_
Definition: HopFunc.h:395

+ Here is the call graph for this function:

Member Data Documentation

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
HopIndex HopFunc6< A1, A2, A3, A4, A5, A6 >::hopIndex_
private

Definition at line 395 of file HopFunc.h.

Referenced by HopFunc6< A1, A2, A3, A4, A5, A6 >::op().


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