Skip to content

Commit

Permalink
refactor: function rename
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Apr 18, 2024
1 parent 4904ff1 commit d4df50a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions libs/initialise/initsupers_frombinary.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* Copyright (c) 2023 MPI-M, Clara Bayley
/*
* Copyright (c) 2024 MPI-M, Clara Bayley
*
*
* ----- CLEO -----
* File: initsupers_frombinary.cpp
Expand All @@ -7,7 +9,7 @@
* Author: Clara Bayley (CB)
* Additional Contributors:
* -----
* Last Modified: Monday 6th November 2023
* Last Modified: Thursday 18th April 2024
* Modified By: CB
* -----
* License: BSD 3-Clause "New" or "Revised" License
Expand All @@ -25,7 +27,7 @@

/* sets initial data for solutes as
a single SoluteProprties instance */
void InitSupersFromBinary::init_solutes_data(InitSupersData &initdata) const {
void InitSupersFromBinary::initdata_for_solutes(InitSupersData &initdata) const {
initdata.solutes.at(0) = SoluteProperties{};
}

Expand Down
4 changes: 2 additions & 2 deletions libs/initialise/initsupers_frombinary.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct InitSupersFromBinary {

/* sets initial data for solutes as
a single SoluteProprties instance */
void init_solutes_data(InitSupersData &initdata) const;
void initdata_for_solutes(InitSupersData &initdata) const;

/* sets initial data in initdata using data read
from a binary file called initsupers_filename */
Expand Down Expand Up @@ -112,7 +112,7 @@ struct InitSupersFromBinary {
file and creating a SoluteProperties struct.
Then check that the input data has the correct sizes. */
void fetch_data(InitSupersData &initdata) const {
init_solutes_data(initdata);
initdata_for_solutes(initdata);
initdata_from_binary(initdata);
check_initdata_sizes(initdata);
}
Expand Down

0 comments on commit d4df50a

Please sign in to comment.