MaMiCo 1.2
|
This class computes the temperature in a certain (coupling) cell. More...
#include <ComputeTemperatureMapping.h>
Public Member Functions | |
ComputeTemperatureMapping (const tarch::la::Vector< dim, double > &meanVelocity, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) | |
~ComputeTemperatureMapping () | |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
double | getTemperature () const |
Private Attributes | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
const tarch::la::Vector< dim, double > | _meanVelocity |
double | _temperature |
unsigned int | _particleCounter |
This class computes the temperature in a certain (coupling) cell.
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor
meanVelocity | |
mdSolverInterface |
|
inline |
Destructor
|
inline |
sets the temperature and the particle counter to zero, before the iteration process begins.
|
inline |
computes the temperature in a linked cell, based on equilibrium statistical mechanics.
|
inline |
returns the temperature inside a linked cell
|
inline |
sums up the velocity fluctuation (from the mean flow velocity) of all particles
cell |