diff --git a/includes/tab.h b/includes/tab.h index c0446e14aa4f637b6941c035afde7bc245dd62f7..8693f1bac377e0a7819eeb43717e3e82bc10c0df 100644 --- a/includes/tab.h +++ b/includes/tab.h @@ -1,43 +1,44 @@ -#ifndef TAB_H -#define TAB_H - -#include <iostream> -#include <limits> -#include <iomanip> - -class Materiaux -{ - private: - double lambda_; - double kho_; - double c_; - - public: - Materiaux(double lambda, double kho, double c); - - double getlambda() - { - return lambda_; - } - - double getkho() - { - return kho_; - } - - double getc() - { - return c_; - } - - double coeff() - { - return (lambda_/(c_*kho_)); - } - -}; - -int** settab(Materiaux mat, int m, int n , int u0,double T, double f); - - -#endif +#ifndef TAB_H +#define TAB_H + +#include <iostream> +#include <limits> +#include <iomanip> + +class Materiaux +{ + private: + const char* materiaux_; + double lambda_; + double kho_; + double c_; + + public: + Materiaux(const char* materiaux, double lambda, double kho, double c); + + const char* get_mat(){ + return materiaux_; + } + + double getlambda() + { + return lambda_; + } + + double getkho() + { + return kho_; + } + + double getc() + { + return c_; + } + + +}; + +int** settab(Materiaux mat, int m, int n , int u0,double T, double L, double f); + + +#endif