Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading header file #512

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tardis/montecarlo/src/cmontecarlo.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,17 @@ tardis_error_t compute_distance2line (const rpacket_t * packet,
*/
void compute_distance2continuum (rpacket_t * packet, storage_model_t * storage);

/** Insert a value in to an array of line frequencies
*
* @param nu array of line frequencies
* @param nu_insert value of nu key
* @param number_of_lines number of lines in the line list
*
* @return index of the next line ot the red. If the key value is redder than the reddest line returns number_of_lines.
*/
tardis_error_t line_search (const double *nu, double nu_insert,
int64_t number_of_lines, int64_t * result);

int64_t macro_atom (const rpacket_t * packet, const storage_model_t * storage, rk_state *mt_state);

void move_packet (rpacket_t * packet, storage_model_t * storage,
Expand Down Expand Up @@ -102,5 +113,7 @@ montecarlo_thomson_scatter (rpacket_t * packet, storage_model_t * storage,
void
montecarlo_line_scatter (rpacket_t * packet, storage_model_t * storage,
double distance, rk_state *mt_state);



#endif // TARDIS_CMONTECARLO_H
15 changes: 0 additions & 15 deletions tardis/montecarlo/src/cmontecarlo1.h

This file was deleted.