Skip to content

Commit

Permalink
make lambda specific functions public again (to resolve compilation i…
Browse files Browse the repository at this point in the history
…ssues)
  • Loading branch information
saurabh-s-sawant committed Dec 9, 2024
1 parent 49a16e9 commit 365dabe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/Solver/Transport/Nanostructure.H
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,6 @@ class c_Nanostructure
void Set_GatherAndDepositMultiFabs();
amrex::Real Compute_CellVolume();

protected:

void Evaluate_LocalFieldSites();
void Deposit_ZeroToMesh();
void Obtain_PotentialAtSites();
void Mark_CellsWithAtoms();

public:
c_Nanostructure(const amrex::Geometry &geom,
const amrex::DistributionMapping &dm,
Expand Down Expand Up @@ -161,5 +154,12 @@ class c_Nanostructure
h_n_curr_out_data, h_Norm_data);
}

/* These are public because functions with lambda need public access.
* Code needs refactoring
*/
void Evaluate_LocalFieldSites();
void Deposit_ZeroToMesh();
void Obtain_PotentialAtSites();
void Mark_CellsWithAtoms();
};
#endif

0 comments on commit 365dabe

Please sign in to comment.