MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature Class Reference
Inheritance diagram for coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature:
Collaboration diagram for coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature:

Public Member Functions

 Wrapper4ComputeAndStoreTemperature (coupling::services::CouplingCellServiceImpl< LinkedCell, dim > *thisPtr, double temperature)
 
void beginCellIteration () override
 
void endCellIteration () override
 
void apply (coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, const I02 &index) override
 
- Public Member Functions inherited from coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper
 Wrapper (coupling::services::CouplingCellServiceImpl< LinkedCell, dim > *thisPtr)
 

Private Attributes

const double _temperature
 

Additional Inherited Members

- Protected Attributes inherited from coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper
coupling::services::CouplingCellServiceImpl< LinkedCell, dim > * _thisPtr
 

Detailed Description

template<class LinkedCell, unsigned int dim>
class coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature

computes and stores the temperature value in all non-ghost cells. If the temperature parameter is set to -1.0, the current temperature of the molecules in this cell is stored. Otherwise, the temperature variable is used and applied to the molecules using the thermostat of the KineticEnergyController.

Member Function Documentation

◆ apply()

template<class LinkedCell, unsigned int dim>
void coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature::apply ( coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > & cell,
const I02 & index )
inlineoverridevirtual

◆ beginCellIteration()

template<class LinkedCell, unsigned int dim>
void coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature::beginCellIteration ( )
inlineoverridevirtual

◆ endCellIteration()

template<class LinkedCell, unsigned int dim>
void coupling::services::CouplingCellServiceImpl< LinkedCell, dim >::Wrapper4ComputeAndStoreTemperature::endCellIteration ( )
inlineoverridevirtual

The documentation for this class was generated from the following file: