Skip to content

Commit

Permalink
simulation methods renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
giozu committed Aug 26, 2024
1 parent 9685ccc commit d463906
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions include/classes/Simulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ class Simulation

void execute();

void UpdateVariables(double Sciantix_variables[], double Sciantix_diffusion_modes[]);
void update(double Sciantix_variables[], double Sciantix_diffusion_modes[]);

void Output();
void output();

/**
* @brief Burnup() calculates the local burnup from fission rate and fuel density.
Expand Down
4 changes: 2 additions & 2 deletions src/Sciantix.C
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void Sciantix(int Sciantix_options[], double Sciantix_history[], double Sciantix

simulation->execute();

simulation->UpdateVariables(Sciantix_variables, Sciantix_diffusion_modes);
simulation->update(Sciantix_variables, Sciantix_diffusion_modes);

simulation->Output();
simulation->output();
}
2 changes: 1 addition & 1 deletion src/file_manager/Output.C
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inline bool if_exist(const std::string &name)
return (stat(name.c_str(), &buffer) == 0);
}

void Simulation::Output()
void Simulation::output()
{
std::string output_name = TestPath + "output.txt";
std::fstream output_file;
Expand Down
2 changes: 1 addition & 1 deletion src/operations/UpdateVariables.C
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ std::map<int, std::string> update_sciantix_variable = {
};


void Simulation::UpdateVariables(double Sciantix_variables[], double Sciantix_diffusion_modes[])
void Simulation::update(double Sciantix_variables[], double Sciantix_diffusion_modes[])
{
for (std::map<int, std::string>::iterator it = update_sciantix_variable.begin(); it != update_sciantix_variable.end(); it++)
{
Expand Down

0 comments on commit d463906

Please sign in to comment.