17 #ifndef _FUELCELLSHOP__BINARYDIFFUSION__H
18 #define _FUELCELLSHOP__BINARYDIFFUSION__H
20 #define __Del(p) {if(p) delete p; p=__null;}
21 #define __printf __builtin_printf
22 #define __scanf __builtin_scanf
23 #define __exp __builtin_exp
24 #define __pow __builtin_pow
34 #include <boost/lexical_cast.hpp>
37 #include <base/exceptions.h>
46 namespace FuelCellShop
91 double& D,std::vector<double>& dD) =0;
92 virtual void compute_dD (std::vector<double>& dD) =0;
102 virtual void compute_dD_dT(std::vector<double>& dD_dT_vec) =0;
115 void set_p(
const double& p_atm);
165 virtual double getSikmaAB(
const double& sikma_A,
166 const double& sikma_B) =0;
167 virtual double getTstarAB(
const double& Tstar_A,
168 const double& Tstar_B) =0;
169 virtual double getOmegaAB(
const double& Tstar) =0;
234 virtual double getOmegaAB(
const double& Tstar);
264 double& D,std::vector<double>& dD);
265 virtual void compute_dD (std::vector<double>& dD);
266 virtual double compute_dD_dP (
const double& T,
const double& p);
267 virtual double compute_dD_dT (
const double& T,
const double& p);
336 double& D,std::vector<double>& dD) ;
337 virtual void compute_dD (std::vector<double>& dD) ;
338 virtual double compute_dD_dP (
const double& T,
const double& p) ;
339 virtual double compute_dD_dT (
const double& T,
const double& p) ;
375 double& D,std::vector<double>& dD) ;
376 virtual void compute_dD (std::vector<double>& dD) ;
377 virtual double compute_dD_dP (
const double& T,
const double& p) ;
378 virtual double compute_dD_dT (
const double& T,
const double& p) ;
414 double& D,std::vector<double>& dD) ;
415 virtual void compute_dD (std::vector<double>& dD) ;
416 virtual double compute_dD_dP (
const double& T,
const double& p) ;
417 virtual double compute_dD_dT (
const double& T,
const double& p) ;