MaMiCo 1.2
|
This class sets a certain temperature over several linked cells. More...
#include <SetTemperatureMapping.h>
Public Member Functions | |
SetTemperatureMapping (const double &oldTemperature, const double &newTemperature, const tarch::la::Vector< dim, double > &meanVelocity, coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface) | |
~SetTemperatureMapping () | |
void | beginCellIteration () |
void | endCellIteration () |
void | handleCell (LinkedCell &cell) |
Private Member Functions | |
double | getScalingFactor (const double &oldTemperature, const double &newTemperature) const |
Private Attributes | |
coupling::interface::MDSolverInterface< LinkedCell, dim > *const | _mdSolverInterface |
const double | _factor |
const tarch::la::Vector< dim, double > | _meanVelocity |
This class sets a certain temperature over several linked cells.
LinkedCell | cell type |
dim | Number of dimensions; it can be 1, 2 or 3 |
|
inline |
Constructor: obtains the old temperature over the region of interest. Besides, obtains the new temperature.
oldTemperature | |
newTemperature | |
meanVelocity | |
mdSolverInterface |
|
inline |
Destructor
|
inline |
empty function
|
inline |
empty function
|
inlineprivate |
calculates the scaling factor between the old and new temperatures.
oldTemperature | |
newTemperature |
|
inline |
applies a certain temperature over several linked cells, by changing the velocity (velocity fluctuation).
cell |