11 #ifndef _REDUCTIONOPS_H_ 12 #define _REDUCTIONOPS_H_ 18 #include "NamespaceHeader.H" 36 SumOp(
int a_summingDir);
47 const Box& RegionFrom,
77 void setReductionDir (
const IntVect& a_sumDir);
78 void setScale(
const Real& a_scale );
81 const Box & RegionFrom ,
83 const Box & RegionTo ,
104 virtual Box project (
const Box & a_box)
const;
107 virtual Box inject (
const Box & a_box)
const ;
109 virtual void setDestBox (
const Box & a_destDom )
const ;
110 virtual void setSourceBox (
const Box & a_sourceDom )
const ;
112 virtual Box getDestinationBox()
const ;
113 virtual Box getSourceBox ()
const ;
115 virtual void setProjectionDirections(
const IntVect & a_directions)
const;
116 virtual IntVect getProjectionDirections(
const IntVect & a_directions)
const;
153 const Box& RegionFrom,
160 const Box& RegionFrom,
192 const Box& RegionFrom,
199 const Box& RegionFrom,
208 #include "NamespaceFooter.H" Definition: ReductionOps.H:63
virtual void linearIn(FArrayBox &arg, void *buf, const Box &R, const Interval &comps) const
Vector< int > m_spreadingDir
Definition: ReductionOps.H:142
Vector< int > m_spreadingDir
Definition: ReductionOps.H:180
Vector< int > m_summingDir
Definition: ReductionOps.H:32
void op(FArrayBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FArrayBox &src, const Interval &Csrc) const
Real scale
Definition: ReductionOps.H:141
Class to do spreading operation in the context of CopyTo.
Definition: ReductionOps.H:138
void computeFaceReductionWeights(LevelData< FluxBox > &a_weights)
A FArrayBox-like container for face-centered fluxes.
Definition: FluxBox.H:22
virtual int size(const FArrayBox &arg, const Box &b, const Interval &comps) const
Definition: BoxLayoutData.H:180
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
Real scale
Definition: ReductionOps.H:31
Real m_scale
Definition: ReductionOps.H:120
IntVect m_projectionDirections
Definition: ReductionOps.H:123
virtual ~FaceSumOp()
Definition: ReductionOps.H:73
Box m_sourceBox
Definition: ReductionOps.H:127
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:45
Class to do summing operation in the context of CopyTo.
Definition: ReductionOps.H:28
Box m_destBox
Definition: ReductionOps.H:126
Definition: BoxLayoutData.H:173
Real scale
Definition: ReductionOps.H:179
virtual void linearOut(const FArrayBox &arg, void *buf, const Box &R, const Interval &comps) const
Class to do spreading operation in the context of CopyTo.
Definition: ReductionOps.H:176