waves
Basic FE playground
heat::Medium Class Reference

a thermal medium (with k, rhoc) More...

#include <wMedium.h>

Inheritance diagram for heat::Medium:
Collaboration diagram for heat::Medium:

Public Member Functions

 Medium (std::shared_ptr< MshData > _msh, int no, std::shared_ptr< Fct2 > _k, double _rhoc=1.0)
 
 Medium (std::shared_ptr< MshData > _msh, std::string const &name, std::shared_ptr< Fct2 > _k, double _rhoc=1.0)
 
virtual ~Medium ()
 
virtual void write (std::ostream &out) const override
 

Public Attributes

std::shared_ptr< Fct2 > k
 
double rhoc
 

Detailed Description

a thermal medium (with k, rhoc)

Constructor & Destructor Documentation

◆ Medium() [1/2]

Medium::Medium ( std::shared_ptr< MshData >  _msh,
int  no,
std::shared_ptr< Fct2 >  _k,
double  _rhoc = 1.0 
)

◆ Medium() [2/2]

Medium::Medium ( std::shared_ptr< MshData >  _msh,
std::string const &  name,
std::shared_ptr< Fct2 >  _k,
double  _rhoc = 1.0 
)

◆ ~Medium()

virtual heat::Medium::~Medium ( )
inlinevirtual

Member Function Documentation

◆ write()

void Medium::write ( std::ostream &  out) const
overridevirtual

Member Data Documentation

◆ k

std::shared_ptr<Fct2> heat::Medium::k

◆ rhoc

double heat::Medium::rhoc

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