Chombo + EB + MF  3.2
NodeLevelDataOps.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 // BVS, June 26, 2003
12 
13 // We can assume that template class T has null construction.
14 
15 #ifndef _NODELEVELDATAOPS_H_
16 #define _NODELEVELDATAOPS_H_
17 
18 #ifdef CH_MPI
19 #include <string>
20 #include <sstream>
21 #endif
22 #include "LevelData.H"
23 #include "RefCountedPtr.H"
24 #include "SPMD.H"
25 #include "NodeFArrayBox.H"
26 #include "LevelDataOps.H"
27 #include "NamespaceHeader.H"
28 
29 // default copy constructor and assign are fine.
30 
31 class NodeLevelDataOps: public LevelDataOps<NodeFArrayBox>
32 {
33 public:
35 
37  {
38  }
39 
40  virtual void incr( LevelData<NodeFArrayBox>& a_lhs,
41  const LevelData<NodeFArrayBox>& a_x,
42  Real a_scale) ;
43 
44  virtual void axby( LevelData<NodeFArrayBox>& a_lhs, const LevelData<NodeFArrayBox>& a_x,
45  const LevelData<NodeFArrayBox>& a_y, Real a_a, Real a_b) ;
46 
47  virtual void scale(LevelData<NodeFArrayBox>& a_lhs, const Real& a_scale) ;
48 
49 protected:
51 };
52 
53 #include "NamespaceFooter.H"
54 
55 #endif
virtual void scale(LevelData< NodeFArrayBox > &a_lhs, const Real &a_scale)
A reference-counting handle class.
Definition: RefCountedPtr.H:173
Definition: LevelDataOps.H:31
Definition: NodeLevelDataOps.H:31
virtual void axby(LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_x, const LevelData< NodeFArrayBox > &a_y, Real a_a, Real a_b)
RefCountedPtr< DataFactory< NodeFArrayBox > > m_levelFactory
Definition: NodeLevelDataOps.H:50
virtual ~NodeLevelDataOps()
Definition: NodeLevelDataOps.H:36
double Real
Definition: REAL.H:33
virtual void incr(LevelData< NodeFArrayBox > &a_lhs, const LevelData< NodeFArrayBox > &a_x, Real a_scale)