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

#include <HopFunc.h>

+ Inheritance diagram for HopFunc3< A1, A2, A3 >:
+ Collaboration diagram for HopFunc3< A1, A2, A3 >:

Public Member Functions

 HopFunc3 (HopIndex hopIndex)
 
void op (const Eref &e, A1 arg1, A2 arg2, A3 arg3) const
 
- Public Member Functions inherited from OpFunc3Base< A1, A2, A3 >
bool checkFinfo (const Finfo *s) const
 
const OpFunc * makeHopFunc (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 OpFunc * lookop (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 HopFunc3< A1, A2, A3 >

Definition at line 276 of file HopFunc.h.

Constructor & Destructor Documentation

template<class A1, class A2, class A3>
HopFunc3< A1, A2, A3 >::HopFunc3 ( HopIndex  hopIndex)
inline

Definition at line 280 of file HopFunc.h.

281  : hopIndex_( hopIndex )
282  {;}
HopIndex hopIndex_
Definition: HopFunc.h:295

Member Function Documentation

template<class A1, class A2, class A3>
void HopFunc3< A1, A2, A3 >::op ( const Eref &  e,
A1  arg1,
A2  arg2,
A3  arg3 
) const
inlinevirtual

Implements OpFunc3Base< A1, A2, A3 >.

Definition at line 284 of file HopFunc.h.

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

Referenced by testHopFunc().

285  {
286  double* buf = addToBuf( e, hopIndex_,
287  Conv< A1 >::size( arg1 ) + Conv< A2 >::size( arg2 ) +
288  Conv< A3 >::size( arg3 ) );
289  Conv< A1 >::val2buf( arg1, &buf );
290  Conv< A2 >::val2buf( arg2, &buf );
291  Conv< A3 >::val2buf( arg3, &buf );
293  }
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:295

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

template<class A1, class A2, class A3>
HopIndex HopFunc3< A1, A2, A3 >::hopIndex_
private

Definition at line 295 of file HopFunc.h.

Referenced by HopFunc3< A1, A2, A3 >::op().


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