Chombo + EB + MF  3.2
Public Member Functions | Public Attributes | List of all members
FaceSpreadingOp Class Reference

Class to do spreading operation in the context of CopyTo. More...

#include <ReductionOps.H>

Inheritance diagram for FaceSpreadingOp:
Inheritance graph
[legend]

Public Member Functions

 FaceSpreadingOp ()
 
 FaceSpreadingOp (int a_spreadingDir)
 
 FaceSpreadingOp (const Vector< int > &a_spreadingDir)
 
virtual void linearIn (FluxBox &arg, void *buf, const Box &R, const Interval &comps) const
 
void op (FluxBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FluxBox &src, const Interval &Csrc) const
 
void applyOp (FluxBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FluxBox &src, const Interval &Csrc, Real a_scale) const
 
- Public Member Functions inherited from LDOperator< FluxBox >
virtual ~LDOperator ()
 
virtual int size (const FluxBox &arg, const Box &b, const Interval &comps) const
 
virtual void linearOut (const FluxBox &arg, void *buf, const Box &R, const Interval &comps) const
 
virtual bool threadSafe () const
 this boolean only has to do with whether the op(...) function is thread safe More...
 

Public Attributes

Real scale
 
Vector< int > m_spreadingDir
 

Detailed Description

Class to do spreading operation in the context of CopyTo.

This class will perform a spreading operation of the data in src along the summingDir direction(s), multiplying by the scale, and placing the src values in the corresponding locations in dest.

Constructor & Destructor Documentation

◆ FaceSpreadingOp() [1/3]

FaceSpreadingOp::FaceSpreadingOp ( )

◆ FaceSpreadingOp() [2/3]

FaceSpreadingOp::FaceSpreadingOp ( int  a_spreadingDir)

◆ FaceSpreadingOp() [3/3]

FaceSpreadingOp::FaceSpreadingOp ( const Vector< int > &  a_spreadingDir)

Member Function Documentation

◆ linearIn()

virtual void FaceSpreadingOp::linearIn ( FluxBox arg,
void *  buf,
const Box R,
const Interval comps 
) const
virtual

Reimplemented from LDOperator< FluxBox >.

◆ op()

void FaceSpreadingOp::op ( FluxBox dest,
const Box RegionFrom,
const Interval Cdest,
const Box RegionTo,
const FluxBox src,
const Interval Csrc 
) const
virtual

Reimplemented from LDOperator< FluxBox >.

◆ applyOp()

void FaceSpreadingOp::applyOp ( FluxBox dest,
const Box RegionFrom,
const Interval Cdest,
const Box RegionTo,
const FluxBox src,
const Interval Csrc,
Real  a_scale 
) const

Member Data Documentation

◆ scale

Real FaceSpreadingOp::scale

◆ m_spreadingDir

Vector<int> FaceSpreadingOp::m_spreadingDir

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