Detailed Description

Heat conduction interaction kernel.

This kernel implements a simple heat conduction: \( \frac{dQ}{dt} = - \alpha (T_2 - T_1) \)

const walberla::real_t& getTemperature(const size_t p_idx) const;
const walberla::real_t& getHeatFlux(const size_t p_idx) const;
void setHeatFlux(const size_t p_idx, const walberla::real_t& v);
walberla::real_t& getHeatFluxRef(const size_t p_idx);
const uint_t& getType(const size_t p_idx) const;

#include <HeatConduction.h>

Public Member Functions

 HeatConduction (const uint_t numParticleTypes)
 
 HeatConduction (const HeatConduction &other)=default
 
 HeatConduction (HeatConduction &&other)=default
 
HeatConductionoperator= (const HeatConduction &other)=default
 
HeatConductionoperator= (HeatConduction &&other)=default
 
template<typename Accessor >
void operator() (const size_t p_idx1, const size_t p_idx2, Accessor &ac) const
 
void setConductance (const size_t type1, const size_t type2, const real_t &val)
 assumes this parameter is symmetric More...
 
real_t getConductance (const size_t type1, const size_t type2) const
 

Private Attributes

uint_t numParticleTypes_
 
std::vector< real_tconductance_ {}
 

Constructor & Destructor Documentation

◆ HeatConduction() [1/3]

walberla::mesa_pd::kernel::HeatConduction::HeatConduction ( const uint_t  numParticleTypes)

◆ HeatConduction() [2/3]

walberla::mesa_pd::kernel::HeatConduction::HeatConduction ( const HeatConduction other)
default

◆ HeatConduction() [3/3]

walberla::mesa_pd::kernel::HeatConduction::HeatConduction ( HeatConduction &&  other)
default

Member Function Documentation

◆ getConductance()

real_t walberla::mesa_pd::kernel::HeatConduction::getConductance ( const size_t  type1,
const size_t  type2 
) const
inline

◆ operator()()

template<typename Accessor >
void walberla::mesa_pd::kernel::HeatConduction::operator() ( const size_t  p_idx1,
const size_t  p_idx2,
Accessor &  ac 
) const
inline

◆ operator=() [1/2]

HeatConduction& walberla::mesa_pd::kernel::HeatConduction::operator= ( const HeatConduction other)
default

◆ operator=() [2/2]

HeatConduction& walberla::mesa_pd::kernel::HeatConduction::operator= ( HeatConduction &&  other)
default

◆ setConductance()

void walberla::mesa_pd::kernel::HeatConduction::setConductance ( const size_t  type1,
const size_t  type2,
const real_t val 
)
inline

assumes this parameter is symmetric

Member Data Documentation

◆ conductance_

std::vector<real_t> walberla::mesa_pd::kernel::HeatConduction::conductance_ {}
private

◆ numParticleTypes_

uint_t walberla::mesa_pd::kernel::HeatConduction::numParticleTypes_
private

The documentation for this class was generated from the following file:
std::size_t uint_t
Definition: DataTypes.h:133
float real_t
Definition: DataTypes.h:167