BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ParticleCoreShell Class Reference

Description

A particle with a core/shell geometry.

Inheritance diagram for ParticleCoreShell:

Public Member Functions

 ParticleCoreShell (const Particle &shell, const Particle &core, R3 relative_core_position=R3(0.0, 0.0, 0.0))
 
 ~ParticleCoreShell () override
 
std::string className () const final
 
ParticleCoreShellclone () const override
 
const ParticlecoreParticle () const
 
std::vector< const INode * > nodeChildren () const override
 
const ParticleshellParticle () const
 

Protected Attributes

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

Constructor & Destructor Documentation

◆ ParticleCoreShell()

ParticleCoreShell::ParticleCoreShell ( const Particle shell,
const Particle core,
R3  relative_core_position = R3(0.0, 0.0, 0.0) 
)

◆ ~ParticleCoreShell()

ParticleCoreShell::~ParticleCoreShell ( )
override

Member Function Documentation

◆ className()

std::string ParticleCoreShell::className ( ) const
final

◆ clone()

ParticleCoreShell* ParticleCoreShell::clone ( ) const
override

◆ coreParticle()

const Particle* ParticleCoreShell::coreParticle ( ) const

◆ nodeChildren()

std::vector<const INode*> ParticleCoreShell::nodeChildren ( ) const
override

◆ shellParticle()

const Particle* ParticleCoreShell::shellParticle ( ) const

Member Data Documentation

◆ m_core

std::unique_ptr<Particle> ParticleCoreShell::m_core
protected

◆ m_shell

std::unique_ptr<Particle> ParticleCoreShell::m_shell
protected