8 void planckfunction(
const double* wavenumber,
const double* temperature,
double* bbfunc,
int* smallv,
bool* fail,
const int* message_len,
char*
message);
9 void planckfunction_plus(
const double* wavenumber,
const double* temperature,
double* bbfunc,
double* deriv_bbfunc,
int* smallv,
bool* fail,
const int* message_len,
char*
message);
21 const int message_len = 50;
24 planckfunction(&wn, &temperature, &bbfunc, &smallv, &fail, &message_len, message);
28 err <<
"plankfunction_plus failed with error message: " <<
message;
46 const int message_len = 50;
49 planckfunction_plus(&
wn, &temperature, &bbfunc, &deriv_bbfunc, &smallv, &fail, &message_len, message);
53 err <<
"plankfunction_plus failed with error message: " <<
message;
57 Array<double, 1> out_gradient(gradient.rows());
58 out_gradient = gradient * deriv_bbfunc;
void planckfunction(const double *wavenumber, const double *temperature, double *bbfunc, int *smallv, bool *fail, const int *message_len, char *message)
This is the base of the exception hierarchy for Full Physics code.
Apply value function to a blitz array.
double planck(double wn, double temperature)
Computes the black body function value using the planck function for a given wavenumber (cm^-1) and t...
void planckfunction_plus(const double *wavenumber, const double *temperature, double *bbfunc, double *deriv_bbfunc, int *smallv, bool *fail, const int *message_len, char *message)
Contains classes to abstract away details in various Spurr Radiative Transfer software.