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

#include <HopFunc.h>

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

Public Member Functions

 HopFunc5 (HopIndex hopIndex)
 
void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5) const
 
- Public Member Functions inherited from OpFunc5Base< A1, A2, A3, A4, A5 >
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 HopFunc5< A1, A2, A3, A4, A5 >

Definition at line 338 of file HopFunc.h.

Constructor & Destructor Documentation

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

Definition at line 341 of file HopFunc.h.

342  : hopIndex_( hopIndex )
343  {;}
HopIndex hopIndex_
Definition: HopFunc.h:360

Member Function Documentation

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

Implements OpFunc5Base< A1, A2, A3, A4, A5 >.

Definition at line 345 of file HopFunc.h.

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

347  {
348  double* buf = addToBuf( e, hopIndex_,
349  Conv< A1 >::size( arg1 ) + Conv< A2 >::size( arg2 ) +
350  Conv< A3 >::size( arg3 ) + Conv< A4 >::size( arg4 ) +
351  Conv< A5 >::size( arg5 ) );
352  Conv< A1 >::val2buf( arg1, &buf );
353  Conv< A2 >::val2buf( arg2, &buf );
354  Conv< A3 >::val2buf( arg3, &buf );
355  Conv< A4 >::val2buf( arg4, &buf );
356  Conv< A5 >::val2buf( arg5, &buf );
358  }
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
HopIndex hopIndex_
Definition: HopFunc.h:360
void dispatchBuffers(const Eref &e, HopIndex hopIndex)
Definition: HopFunc.cpp:47

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 360 of file HopFunc.h.

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


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