Skip to content
Snippets Groups Projects
Commit feafd483 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

function name not capitalized

parent c3b2d529
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ void ProcessedLayout::collectFormFactors(const ILayout& layout, const std::vecto ...@@ -81,7 +81,7 @@ void ProcessedLayout::collectFormFactors(const ILayout& layout, const std::vecto
{ {
double layout_abundance = layout.getTotalAbundance(); double layout_abundance = layout.getTotalAbundance();
for (auto p_particle : layout.particles()) { for (auto p_particle : layout.particles()) {
auto ff_coh = ProcessParticle(*p_particle, slices, z_ref); auto ff_coh = processParticle(*p_particle, slices, z_ref);
ff_coh.scaleRelativeAbundance(layout_abundance); ff_coh.scaleRelativeAbundance(layout_abundance);
m_formfactors.push_back(std::move(ff_coh)); m_formfactors.push_back(std::move(ff_coh));
} }
...@@ -91,7 +91,7 @@ void ProcessedLayout::collectFormFactors(const ILayout& layout, const std::vecto ...@@ -91,7 +91,7 @@ void ProcessedLayout::collectFormFactors(const ILayout& layout, const std::vecto
ScaleRegionMap(m_region_map, scale_factor); ScaleRegionMap(m_region_map, scale_factor);
} }
FormFactorCoherentSum ProcessedLayout::ProcessParticle(const IParticle& particle, FormFactorCoherentSum ProcessedLayout::processParticle(const IParticle& particle,
const std::vector<Slice>& slices, const std::vector<Slice>& slices,
double z_ref) double z_ref)
{ {
......
...@@ -50,7 +50,7 @@ public: ...@@ -50,7 +50,7 @@ public:
private: private:
void collectFormFactors(const ILayout& layout, const std::vector<Slice>& slices, double z_ref); void collectFormFactors(const ILayout& layout, const std::vector<Slice>& slices, double z_ref);
FormFactorCoherentSum ProcessParticle(const IParticle& particle, FormFactorCoherentSum processParticle(const IParticle& particle,
const std::vector<Slice>& slices, double z_ref); const std::vector<Slice>& slices, double z_ref);
void mergeRegionMap(const std::map<size_t, std::vector<HomogeneousRegion>>& region_map); void mergeRegionMap(const std::map<size_t, std::vector<HomogeneousRegion>>& region_map);
const IFresnelMap* m_fresnel_map; const IFresnelMap* m_fresnel_map;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment