OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
BrickExpression.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /***************************************************************************
3  *
4  * The IPPL Framework
5  *
6  ***************************************************************************/
7 
8 #ifndef BRICK_EXPRESSION_H
9 #define BRICK_EXPRESSION_H
10 
11 // include files
12 #include "Field/AssignTags.h"
13 
14 // template<unsigned Dim, class LHS, class RHS, class OP>
15 // class BrickExpression : public BrickExpressionBase
16 template<unsigned Dim, class LHS, class RHS, class OP>
18 {
19 public:
20  BrickExpression(const LHS& l, const RHS& r)
21  : Lhs(l), Rhs(r)
22  {
23  }
24  BrickExpression(const LHS& l, const RHS& r, const OP& o)
25  : Lhs(l), Rhs(r), Op(o)
26  {
27  }
28 
29  virtual void apply();
30 
31 private:
32  LHS Lhs;
33  RHS Rhs;
34  OP Op;
35 };
36 
38 
40 
41 #endif // BRICK_EXPRESSION_H
42 
43 /***************************************************************************
44  * $RCSfile: BrickExpression.h,v $ $Author: adelmann $
45  * $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:26 $
46  * IPPL_VERSION_ID: $Id: BrickExpression.h,v 1.1.1.1 2003/01/23 07:40:26 adelmann Exp $
47  ***************************************************************************/
48 
virtual void apply()
BrickExpression(const LHS &l, const RHS &r, const OP &o)
BrickExpression(const LHS &l, const RHS &r)