Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.mrao.cam.ac.uk/~bn204/devman/dust/dustiface_8h-source.html
Дата изменения: Fri Jul 11 10:32:07 2008 Дата индексирования: Tue Oct 2 12:34:26 2012 Кодировка: |
00001 00008 #ifndef _DUST_DUSTIFACE_H__ 00009 #define _DUST_DUSTIFACE_H__ 00010 00011 #include "dustmodel.h" 00012 00013 #include <cbnlib.h> 00014 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 00021 /* ---------------- Absorption cross section ------------------*/ 00022 00023 00043 void dust_cAbsXSection( const double * wavev , double * absx , 00044 unsigned n , 00045 double a, 00046 dust_type type , 00047 double ionf, 00048 dust_model * dm); 00049 00050 00056 typedef void dust_AbsXSec; 00057 00065 dust_AbsXSec * dust_mkAbsXSection( double a, 00066 dust_type type, 00067 double ionf, 00068 dust_model *dm ); 00069 00070 /* --------------- End absorption cross section -------------*/ 00071 00077 typedef void dust_RF ; 00078 00086 dust_RF * dust_simplebbrf(double T , double W); 00087 00088 /* ------------- Equilibrium Dust emission section -------------*/ 00089 00101 double dust_EquiT ( dust_AbsXSec * xsection , 00102 dust_RF * rf); 00103 00111 double dust_equiemm ( double lambda, double T, dust_AbsXSec * xsection ); 00112 00113 /* ------------- End equilibrium dust emission ---------------*/ 00114 00117 typedef struct { 00118 00121 unsigned n; 00122 00124 double *Emin; 00125 00127 double *Emax; 00128 00130 double *Teqi; 00131 } dust_EBins ; 00132 00133 00138 dust_EBins * dust_cEBins( double a, 00139 dust_type type , 00140 dust_model * dm); 00141 00142 00143 00146 typedef struct 00147 { 00150 unsigned M; 00151 00153 double *data; 00154 00155 } dust_tmatrix ; 00156 00167 dust_tmatrix * dust_ctmatrix( dust_EBins * ebins, 00168 dust_AbsXSec * xsec, 00169 dust_RF * rf); 00170 00176 typedef double dust_pvector; 00177 00186 dust_pvector * dust_TMSolve(dust_tmatrix * tm); 00187 00188 00205 double dust_ctemission (double lambda , 00206 dust_EBins * ebins, 00207 dust_pvector * pvector, 00208 dust_AbsXSec * xsec); 00209 00210 00211 #ifdef __cplusplus 00212 } 00213 #endif 00214 00215 00216 #endif 00217 00218 00219 00220 00221 00222 00223 00224 00225 00226 00227 00228 00229