BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleCoreShell Class Reference

A particle with a core/shell geometry. More...

+ Inheritance diagram for ParticleCoreShell:

Public Member Functions

 ParticleCoreShell (const Particle &shell, const Particle &core, kvector_t relative_core_position=kvector_t(0.0, 0.0, 0.0))
 
void accept (INodeVisitor *visitor) const final
 
ParticleCoreShellclone () const final
 
const ParticlecoreParticle () const
 
SlicedParticle createSlicedParticle (ZLimits limits) const final
 
std::vector< const INode * > getChildren () const final
 
const ParticleshellParticle () const
 

Protected Member Functions

void addAndRegisterCore (const Particle &core, kvector_t relative_core_position)
 
void addAndRegisterShell (const Particle &shell)
 

Protected Attributes

std::unique_ptr< Particlem_core
 
std::unique_ptr< Particlem_shell
 

Detailed Description

A particle with a core/shell geometry.