Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Ancillae.H File Reference

#include "REAL.H"
#include "Vector.H"
#include "List.H"
#include "LevelData.H"
#include "FArrayBox.H"
#include "Interval.H"
#include "LayoutIterator.H"
#include "LGintegrator.H"
#include "CONSTANTS_C.H"

Include dependency graph for Ancillae.H:

Go to the source code of this file.

Functions

Real globalAverage (const LevelData< FArrayBox > &a_levFab, const int a_indx=0, const bool a_perVol=true)
Real globalMax (Real a_localVal)
 need to pass a copy cause MPI_Allreduce does not guarantee it's constantness
Real globalMin (Real a_localVal)
 need to pass a copy cause MPI_Allreduce does not guarantee it's constantness
Real levelMax (const LevelData< FArrayBox > &a_levFab, const int a_comp)
 return max value of a_comp component of this levelData
Real levelMin (const LevelData< FArrayBox > &a_levFab, const int a_comp)
 return min value of a_comp component of this levelData
void resetToZero (LevelData< FArrayBox > &a_lev)
 set to zero
template<class T>
void setToVal (LevelData< BaseFab< T > > &a_lev, const T &a_val)
 set to val
void offset (LevelData< FArrayBox > &a_lev, const Real &a_offset)
 offset a levelData by a given value
void rescale (LevelData< FArrayBox > &a_lev, const Real &a_factor)
 rescale a levelData by a given factor
void computeDeltaU (const LevelData< FArrayBox > &a_UNew, const LevelData< FArrayBox > &a_UOld)
void computePlotVars (LevelData< FArrayBox > &a_UPlot, const LevelData< FArrayBox > &a_UNew)
void bufferBoxes (DisjointBoxLayout &a_bufferGrids, const DisjointBoxLayout &a_grids, const DisjointBoxLayout &a_crseGrids, const int a_bufferSize, const int a_refRatio)
void interpolateInTime (LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_phiNew, const LevelData< FArrayBox > &a_phiOld, const Real &a_time, const Real &a_tNew, const Real &a_tOld, const Real &a_dt, const Interval &a_srcInterval=Interval(0, 0), const Interval &a_dstInterval=Interval(0, 0), const IntVect &a_ghost=IntVect::Zero)
 Interpolate in time.


Function Documentation

void bufferBoxes DisjointBoxLayout a_bufferGrids,
const DisjointBoxLayout a_grids,
const DisjointBoxLayout a_crseGrids,
const int  a_bufferSize,
const int  a_refRatio
 

void computeDeltaU const LevelData< FArrayBox > &  a_UNew,
const LevelData< FArrayBox > &  a_UOld
 

void computePlotVars LevelData< FArrayBox > &  a_UPlot,
const LevelData< FArrayBox > &  a_UNew
 

Real globalAverage const LevelData< FArrayBox > &  a_levFab,
const int  a_indx = 0,
const bool  a_perVol = true
 

Real globalMax Real  a_localVal  ) 
 

need to pass a copy cause MPI_Allreduce does not guarantee it's constantness

Real globalMin Real  a_localVal  ) 
 

need to pass a copy cause MPI_Allreduce does not guarantee it's constantness

void interpolateInTime LevelData< FArrayBox > &  a_phi,
const LevelData< FArrayBox > &  a_phiNew,
const LevelData< FArrayBox > &  a_phiOld,
const Real a_time,
const Real a_tNew,
const Real a_tOld,
const Real a_dt,
const Interval a_srcInterval = Interval(0, 0),
const Interval a_dstInterval = Interval(0, 0),
const IntVect a_ghost = IntVect::Zero
 

Interpolate in time.

Real levelMax const LevelData< FArrayBox > &  a_levFab,
const int  a_comp
 

return max value of a_comp component of this levelData

Real levelMin const LevelData< FArrayBox > &  a_levFab,
const int  a_comp
 

return min value of a_comp component of this levelData

void offset LevelData< FArrayBox > &  a_lev,
const Real a_offset
[inline]
 

offset a levelData by a given value

void rescale LevelData< FArrayBox > &  a_lev,
const Real a_factor
[inline]
 

rescale a levelData by a given factor

void resetToZero LevelData< FArrayBox > &  a_lev  )  [inline]
 

set to zero

template<class T>
void setToVal LevelData< BaseFab< T > > &  a_lev,
const T &  a_val
[inline]
 

set to val


Generated on Wed Oct 5 13:52:40 2005 for Chombo&AMRSelfGravity by  doxygen 1.4.1