#include "REAL.H"
#include "Vector.H"
#include "LevelData.H"
#include "FArrayBox.H"
#include "UsingNamespace.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. |
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.