Skip to content

Commit

Permalink
Update initialize_solver.inl
Browse files Browse the repository at this point in the history
Split up InitializeVariables() functions
  • Loading branch information
AdityaDendukuri authored Aug 4, 2024
1 parent 0f82e21 commit ec26a2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/tuvx/radiative_transfer/solvers/initialize_solver.inl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ namespace tuvx
// Check for consistency between the grids and profiles.
assert(vertical_grid.NumberOfColumns() == number_of_columns);
assert(wavelength_grid.NumberOfColumns() == 1);

// Scale variables for the Delta-Eddington approximation
ScaleVariables(solver_variables);

// Generate functions that define the source variables (C functions from the paper)
BuildSourceFunctions(solver_variables, source_functions);
}

template<typename T>
Expand Down

0 comments on commit ec26a2c

Please sign in to comment.