Skip to content
Snippets Groups Projects

Mesocrystal, Paracrystal now w/o camel case

Merged Wuttke, Joachim requested to merge Layout1 into main
Files
9
@@ -15,11 +15,11 @@
#include "GUI/Model/Sample/ParticleCompositionItem.h"
#include "GUI/Model/CatSample/ItemWithParticlesCatalog.h"
#include "GUI/Model/CatSample/RotationItemCatalog.h"
#include "GUI/Model/Sample/MesoCrystalItem.h"
#include "GUI/Model/Sample/MesocrystalItem.h"
#include "GUI/Model/Sample/ParticleCoreShellItem.h"
#include "GUI/Model/Sample/ParticleItem.h"
#include "GUI/Support/XML/Serialize.h"
#include "Sample/Particle/MesoCrystal.h"
#include "Sample/Particle/Mesocrystal.h"
#include "Sample/Particle/Particle.h"
#include "Sample/Particle/ParticleCoreShell.h"
#include "Sample/Scattering/Rotations.h"
@@ -65,8 +65,8 @@ std::unique_ptr<ParticleComposition> ParticleCompositionItem::createParticleComp
} else if (auto* compositionItem = dynamic_cast<ParticleCompositionItem*>(p)) {
if (auto P_child_composition = compositionItem->createParticleComposition())
P_composition->addParticle(*P_child_composition);
} else if (auto* mesoCrystalItem = dynamic_cast<MesoCrystalItem*>(p)) {
if (auto P_meso = mesoCrystalItem->createMesoCrystal())
} else if (auto* mesocrystalItem = dynamic_cast<MesocrystalItem*>(p)) {
if (auto P_meso = mesocrystalItem->createMesocrystal())
P_composition->addParticle(*P_meso);
}
}
Loading