MaMiCo 1.2
Loading...
Searching...
No Matches
coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim > Class Template Reference

This class is used to superimpose a random perturbation to the mean velocity in all directions. More...

#include <PerturbateVelocityMapping.h>

Collaboration diagram for coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >:

Public Member Functions

 PerturbateVelocityMapping (coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface, const tarch::la::Vector< dim, double > &velocity, const double &temperature)
 
 ~PerturbateVelocityMapping ()
 
void beginCellIteration ()
 
void endCellIteration ()
 
void handleCell (LinkedCell &cell)
 

Private Attributes

coupling::interface::MDSolverInterface< LinkedCell, dim > *const _mdSolverInterface
 
const double _molecularMass
 
const double _kB
 
const double _temperature
 
const tarch::la::Vector< dim, double > _velocity
 
const double _sigma
 

Detailed Description

template<class LinkedCell, unsigned int dim>
class coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >

This class is used to superimpose a random perturbation to the mean velocity in all directions.

This class is used to superimpose a random perturbation to the mean velocity in all directions. It is use for Dynamic MD cases to launch new MD instances with independent molecular values (velocities)

Template Parameters
LinkedCellcell type
dimNumber of dimensions; it can be 1, 2 or 3
Author
Niklas Wittmer

Constructor & Destructor Documentation

◆ PerturbateVelocityMapping()

template<class LinkedCell, unsigned int dim>
coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >::PerturbateVelocityMapping ( coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface,
const tarch::la::Vector< dim, double > & velocity,
const double & temperature )
inline

Constructor

Parameters
mdSolverInterface
velocity
temperature

◆ ~PerturbateVelocityMapping()

template<class LinkedCell, unsigned int dim>
coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >::~PerturbateVelocityMapping ( )
inline

Destructor

Member Function Documentation

◆ beginCellIteration()

template<class LinkedCell, unsigned int dim>
void coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >::beginCellIteration ( )
inline

empty function

◆ endCellIteration()

template<class LinkedCell, unsigned int dim>
void coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >::endCellIteration ( )
inline

empty function

◆ handleCell()

template<class LinkedCell, unsigned int dim>
void coupling::cellmappings::PerturbateVelocityMapping< LinkedCell, dim >::handleCell ( LinkedCell & cell)
inline

superimposes a random perturbation to the mean velocity in all directions

Parameters
cell

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