ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Thermostat::Thermostat Class Reference

#include <thermostat.hpp>

Inheritance diagram for Thermostat::Thermostat:
Collaboration diagram for Thermostat::Thermostat:

Public Member Functions

void philox_counter_increment ()
 Increment RNG counters.
void recalc_prefactors (double time_step)
 Initialize constants of all thermostats.
void lb_coupling_activate ()
void lb_coupling_deactivate ()
Public Member Functions inherited from System::Leaf< Thermostat >
void bind_system (std::shared_ptr< System > const &system)
void detach_system (std::shared_ptr< System > const &system)

Public Attributes

double kT = -1.
 Thermal energy of the simulated heat bath.
int thermo_switch = THERMO_OFF
 Bitmask of currently active thermostats.
std::shared_ptr< LangevinThermostat > langevin
std::shared_ptr< BrownianThermostat > brownian
std::shared_ptr< IsotropicNptThermostat > npt_iso
std::shared_ptr< LBThermostat > lb
std::shared_ptr< DPDThermostat > dpd
std::shared_ptr< StokesianThermostat > stokesian
std::shared_ptr< ThermalizedBondThermostat > thermalized_bond

Additional Inherited Members

Protected Member Functions inherited from System::Leaf< Thermostat >
auto & get_system ()
Protected Attributes inherited from System::Leaf< Thermostat >
std::weak_ptr< System > m_system

Detailed Description

Definition at line 380 of file core/thermostat.hpp.

Member Function Documentation

◆ lb_coupling_activate()

void Thermostat::Thermostat::lb_coupling_activate ( )
inline

Definition at line 406 of file core/thermostat.hpp.

References lb.

◆ lb_coupling_deactivate()

void Thermostat::Thermostat::lb_coupling_deactivate ( )

Definition at line 89 of file thermostat.cpp.

References System::Leaf< Thermostat >::get_system(), lb, and runtimeWarningMsg.

◆ philox_counter_increment()

void Thermostat::Thermostat::philox_counter_increment ( )

◆ recalc_prefactors()

void Thermostat::Thermostat::recalc_prefactors ( double time_step)

Initialize constants of all thermostats.

Definition at line 39 of file thermostat.cpp.

References brownian, dpd, System::Leaf< Thermostat >::get_system(), kT, langevin, npt_iso, and thermalized_bond.

Member Data Documentation

◆ brownian

std::shared_ptr<BrownianThermostat> Thermostat::Thermostat::brownian

◆ dpd

◆ kT

double Thermostat::Thermostat::kT = -1.

Thermal energy of the simulated heat bath.

Definition at line 383 of file core/thermostat.hpp.

Referenced by recalc_prefactors().

◆ langevin

std::shared_ptr<LangevinThermostat> Thermostat::Thermostat::langevin

◆ lb

std::shared_ptr<LBThermostat> Thermostat::Thermostat::lb

◆ npt_iso

std::shared_ptr<IsotropicNptThermostat> Thermostat::Thermostat::npt_iso

◆ stokesian

std::shared_ptr<StokesianThermostat> Thermostat::Thermostat::stokesian

◆ thermalized_bond

std::shared_ptr<ThermalizedBondThermostat> Thermostat::Thermostat::thermalized_bond

◆ thermo_switch

int Thermostat::Thermostat::thermo_switch = THERMO_OFF

Bitmask of currently active thermostats.

Definition at line 385 of file core/thermostat.hpp.

Referenced by philox_counter_increment().


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