ComputeEnergy.H File Reference

#include "REAL.H"
#include "Vector.H"
#include "LevelData.H"
#include "FArrayBox.H"
#include "UsingNamespace.H"

Include dependency graph for ComputeEnergy.H:

Go to the source code of this file.

Functions

Real computeEnergy (const Vector< LevelData< FArrayBox > * > &a_phi, const Vector< LevelData< FArrayBox > * > &a_pi, const Vector< int > &a_nRefFine, Real a_dxCrse, Real a_lambda)
 Returns the energy integrated over the whole domain.
Real computeEnergy (const LevelData< FArrayBox > &a_phi, const LevelData< FArrayBox > &a_pi, const DisjointBoxLayout *a_finerGrids, int a_nRefFine, Real a_dx, Real a_lambda)
 Returns the energy integrated over a single box.


Function Documentation

Real computeEnergy ( const Vector< LevelData< FArrayBox > * > &  a_phi,
const Vector< LevelData< FArrayBox > * > &  a_pi,
const Vector< int > &  a_nRefFine,
Real  a_dxCrse,
Real  a_lambda 
)

Returns the energy integrated over the whole domain.

Uses the finest box available at each cell. See computeEnergy.ChF.

Real computeEnergy ( const LevelData< FArrayBox > &  a_phi,
const LevelData< FArrayBox > &  a_pi,
const DisjointBoxLayout a_finerGrids,
int  a_nRefFine,
Real  a_dx,
Real  a_lambda 
)

Returns the energy integrated over a single box.


Generated on Tue Apr 14 14:20:29 2009 for Chombo + EB by  doxygen 1.5.5