BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
A composition of particles at fixed positions. More...
Public Member Functions | |
ParticleComposition () | |
ParticleComposition (const IParticle &particle, std::vector< kvector_t > positions) | |
~ParticleComposition () | |
double | abundance () const |
void | accept (INodeVisitor *visitor) const final |
Calls the INodeVisitor's visit method. More... | |
void | addParticle (const IParticle &particle) |
void | addParticle (const IParticle &particle, kvector_t position) |
void | addParticles (const IParticle &particle, std::vector< kvector_t > positions) |
ParticleLimits | bottomTopZ () const final |
Top and bottom z-coordinate. More... | |
ParticleComposition * | clone () const final |
Returns a clone of this ISampleNode object. More... | |
std::vector< const Material * > | containedMaterials () const |
Returns set of unique materials contained in this ISampleNode. More... | |
int | copyNumber (const INode *node) const |
Returns copyNumber of child, which takes into account existence of children with same name. More... | |
IFormFactor * | createFormFactor () const final |
Creates a form factor for this particle. More... | |
ParameterPool * | createParameterTree () const |
Creates new parameter pool, with all local parameters and those of its children. More... | |
virtual SlicedParticle | createSlicedParticle (ZLimits limits) const |
Creates a sliced form factor for this particle. More... | |
SafePointerVector< IParticle > | decompose () const final |
Decompose in constituent IParticle objects. More... | |
std::string | displayName () const |
Returns display name, composed from the name of node and it's copy number. More... | |
std::vector< const INode * > | getChildren () const final |
Returns a vector of children. More... | |
const std::string & | getName () const |
bool | isMagnetic () const |
Returns true if there is any magnetic material in this ISampleNode. More... | |
virtual const Material * | material () const |
Returns nullptr, unless overwritten to return a specific material. More... | |
size_t | nbrParticles () const |
Returns number of different particles. More... | |
virtual void | onChange () |
Action to be taken in inherited class when a parameter has changed. More... | |
RealParameter * | parameter (const std::string &name) const |
Returns parameter with given 'name'. More... | |
ParameterPool * | parameterPool () const |
Returns pointer to the parameter pool. More... | |
std::string | parametersToString () const |
Returns multiline string representing available parameters. More... | |
INode * | parent () |
const INode * | parent () const |
kvector_t | position () const |
Returns particle position. More... | |
std::vector< const INode * > | progeny () const |
Returns a vector of all descendants. More... | |
void | registerAbundance (bool make_registered=true) |
void | registerChild (INode *node) |
RealParameter & | registerParameter (const std::string &name, double *parpointer) |
void | registerPosition (bool make_registered=true) |
Registers the three components of its position. More... | |
void | registerVector (const std::string &base_name, kvector_t *p_vec, const std::string &units="nm") |
void | removeParameter (const std::string &name) |
void | removeVector (const std::string &base_name) |
void | rotate (const IRotation &rotation) final |
Rotates the particle. More... | |
const IRotation * | rotation () const |
Returns rotation object. More... | |
void | setAbundance (double abundance) |
Sets particle abundance. More... | |
void | setName (const std::string &name) |
void | setParameterValue (const std::string &name, double value) |
virtual void | setParent (const INode *newParent) |
void | setPosition (double x, double y, double z) |
Sets relative position of the particle's reference point in the coordinate system of parent. More... | |
void | setPosition (kvector_t position) |
Sets relative position of the particle's reference point in the coordinate system of parent. More... | |
void | setRotation (const IRotation &rotation) |
Sets transformation. More... | |
void | setVectorValue (const std::string &base_name, kvector_t value) |
virtual void | transferToCPP () |
Used for Python overriding of clone (see swig/tweaks.py) More... | |
void | translate (kvector_t translation) final |
Translates the particle. More... | |
virtual std::string | treeToString () const |
Returns multiline string representing tree structure below the node. More... | |
Static Public Member Functions | |
static std::string | XComponentName (const std::string &base_name) |
static std::string | YComponentName (const std::string &base_name) |
static std::string | ZComponentName (const std::string &base_name) |
Protected Member Functions | |
kvector_t | composedTranslation (const IRotation *p_rotation, kvector_t translation) const |
Gets a composed translation vector. More... | |
IRotation * | createComposedRotation (const IRotation *p_rotation) const |
Creates a composed IRotation object. More... | |
void | registerParticleProperties () |
Registers abundance and position. More... | |
Protected Attributes | |
double | m_abundance {1.0} |
const size_t | m_NP |
std::vector< double > | m_P |
kvector_t | m_position |
std::unique_ptr< IRotation > | m_rotation |
Private Member Functions | |
void | addParticlePointer (IParticle *p_particle) |
For internal use. More... | |
size_t | check_index (size_t index) const |
void | initialize () |
Private Attributes | |
std::string | m_name |
const INode * | m_parent {nullptr} |
std::vector< std::unique_ptr< IParticle > > | m_particles |
std::unique_ptr< ParameterPool > | m_pool |
parameter pool (kind of pointer-to-implementation) More... | |
A composition of particles at fixed positions.
Definition at line 24 of file ParticleComposition.h.
ParticleComposition::ParticleComposition | ( | ) |
Definition at line 20 of file ParticleComposition.cpp.
References initialize().
Referenced by clone().
ParticleComposition::ParticleComposition | ( | const IParticle & | particle, |
std::vector< kvector_t > | positions | ||
) |
Definition at line 25 of file ParticleComposition.cpp.
References addParticles(), and initialize().
|
default |
|
inlineinherited |
Definition at line 39 of file IAbstractParticle.h.
References IAbstractParticle::m_abundance.
Referenced by SampleToPython::defineParticleLayouts(), ParticleDistribution::generateParticles(), GUIDomainSampleVisitor::InsertIParticle(), ProcessedLayout::processParticle(), IAbstractParticle::setAbundance(), and TransformFromDomain::setParticleDistributionItem().
|
inlinefinalvirtual |
Calls the INodeVisitor's visit method.
Reimplemented from IAbstractParticle.
Definition at line 32 of file ParticleComposition.h.
void ParticleComposition::addParticle | ( | const IParticle & | particle | ) |
Definition at line 59 of file ParticleComposition.cpp.
References addParticlePointer(), and IParticle::clone().
Referenced by addParticles(), BoxCompositionRotateXBuilder::buildSample(), BoxCompositionRotateYBuilder::buildSample(), BoxCompositionRotateZBuilder::buildSample(), BoxCompositionRotateZandYBuilder::buildSample(), BoxStackCompositionBuilder::buildSample(), SlicedCompositionBuilder::buildSample(), and clone().
Definition at line 65 of file ParticleComposition.cpp.
References addParticlePointer(), IParticle::clone(), IParticle::position(), and IParticle::translate().
|
private |
For internal use.
Definition at line 125 of file ParticleComposition.cpp.
References m_particles, IParticle::registerAbundance(), and INode::registerChild().
Referenced by addParticle().
void ParticleComposition::addParticles | ( | const IParticle & | particle, |
std::vector< kvector_t > | positions | ||
) |
Definition at line 74 of file ParticleComposition.cpp.
References addParticle().
Referenced by ParticleComposition(), ParticleCompositionBuilder::buildSample(), and CenteredSquareLattice2DBuilder::buildSample().
|
finalvirtual |
Top and bottom z-coordinate.
Reimplemented from IParticle.
Definition at line 105 of file ParticleComposition.cpp.
References check_index(), decompose(), ParticleLimits::m_bottom, and ParticleLimits::m_top.
|
private |
Definition at line 117 of file ParticleComposition.cpp.
References m_particles.
Referenced by bottomTopZ().
|
finalvirtual |
Returns a clone of this ISampleNode object.
Implements IParticle.
Definition at line 34 of file ParticleComposition.cpp.
References ParticleComposition(), addParticle(), IAbstractParticle::m_abundance, m_particles, IParticle::m_position, IParticle::m_rotation, IAbstractParticle::setAbundance(), IParticle::setPosition(), and IParticle::setRotation().
Referenced by RealSpaceBuilderUtils::particleComposition3DContainer().
|
protectedinherited |
Gets a composed translation vector.
Definition at line 116 of file IParticle.cpp.
References IParticle::m_position, and IRotation::transformed().
|
inherited |
Returns set of unique materials contained in this ISampleNode.
Definition at line 26 of file ISampleNode.cpp.
References INode::getChildren(), and ISampleNode::material().
Referenced by MultiLayerUtils::ContainsCompatibleMaterials(), SampleToPython::initLabels(), and ISampleNode::isMagnetic().
|
inherited |
Returns copyNumber of child, which takes into account existence of children with same name.
Definition at line 94 of file INode.cpp.
References INode::getChildren(), IParametricComponent::getName(), and INode::parent().
Referenced by INode::displayName().
|
protectedinherited |
Creates a composed IRotation object.
Definition at line 101 of file IParticle.cpp.
References IRotation::clone(), createProduct(), and IParticle::m_rotation.
|
finalvirtual |
Creates a form factor for this particle.
Reimplemented from IParticle.
Definition at line 46 of file ParticleComposition.cpp.
References decompose(), and m_particles.
|
virtualinherited |
Creates new parameter pool, with all local parameters and those of its children.
Reimplemented from IParametricComponent.
Definition at line 126 of file INode.cpp.
References NodeUtils::nodePath(), INode::parent(), and INode::progeny().
Referenced by ISimulation::runSimulation(), DepthProbeSimulation::validateParametrization(), OffSpecularSimulation::validateParametrization(), and SpecularSimulation::validateParametrization().
|
virtualinherited |
Creates a sliced form factor for this particle.
Reimplemented in ParticleCoreShell, Particle, and MesoCrystal.
Definition at line 28 of file IParticle.cpp.
Referenced by SlicedFormFactorList::addParticle(), and IParticle::createFormFactor().
|
finalvirtual |
Decompose in constituent IParticle objects.
Reimplemented from IParticle.
Definition at line 88 of file ParticleComposition.cpp.
References m_particles, IParticle::position(), SafePointerVector< T >::push_back(), and IParticle::rotation().
Referenced by bottomTopZ(), and createFormFactor().
|
inherited |
Returns display name, composed from the name of node and it's copy number.
Definition at line 115 of file INode.cpp.
References INode::copyNumber(), IParametricComponent::getName(), and INode::m_parent.
Referenced by NodeUtils::nodePath().
|
finalvirtual |
Returns a vector of children.
Reimplemented from IParticle.
Definition at line 80 of file ParticleComposition.cpp.
References IParticle::getChildren(), and m_particles.
|
inlineinherited |
Definition at line 70 of file IParametricComponent.h.
References IParametricComponent::m_name.
Referenced by Beam::Beam(), ConvolutionDetectorResolution::ConvolutionDetectorResolution(), IDetector::IDetector(), Instrument::Instrument(), IParametricComponent::IParametricComponent(), SampleBuilderNode::SampleBuilderNode(), Layer::clone(), INode::copyNumber(), IParametricComponent::createParameterTree(), IFormFactor::createSlicedFormFactor(), SampleToPython::defineInterferenceFunctions(), INode::displayName(), Beam::operator=(), SampleBuilderNode::operator=(), GUIObjectBuilder::populateInstrumentModel(), PyImportAssistant::populateModels(), GUIDomainSampleVisitor::populateSampleModel(), IParametricComponent::registerParameter(), IFormFactor::sliceFormFactor(), and GUIDomainSampleVisitor::visit().
|
private |
Definition at line 132 of file ParticleComposition.cpp.
References IParticle::registerParticleProperties(), and IParametricComponent::setName().
Referenced by ParticleComposition().
|
inherited |
Returns true if there is any magnetic material in this ISampleNode.
Definition at line 40 of file ISampleNode.cpp.
References ISampleNode::containedMaterials().
Referenced by ProcessedSample::initLayouts().
|
inlinevirtualinherited |
Returns nullptr, unless overwritten to return a specific material.
Reimplemented in Particle, and Layer.
Definition at line 37 of file ISampleNode.h.
Referenced by ISampleNode::containedMaterials(), FormFactorCoreShell::setAmbientMaterial(), FormFactorCrystal::setAmbientMaterial(), FormFactorWeighted::setAmbientMaterial(), FormFactorDecoratorMaterial::setAmbientMaterial(), IFormFactorDecorator::setAmbientMaterial(), and FormFactorDecoratorMaterial::setMaterial().
|
inline |
Returns number of different particles.
Definition at line 41 of file ParticleComposition.h.
References m_particles.
|
inlinevirtualinherited |
Action to be taken in inherited class when a parameter has changed.
Reimplemented in IProfileRipple, Lattice3D, InterferenceFunction3DLattice, InterferenceFunction2DLattice, FormFactorSphereLogNormalRadius, FormFactorSphereGaussianRadius, FormFactorGaussSphere, ISawtoothRipple, ICosineRipple, IProfileRectangularRipple, FormFactorTruncatedSpheroid, FormFactorTruncatedSphere, FormFactorTruncatedCube, FormFactorTetrahedron, FormFactorPyramid, FormFactorPrism6, FormFactorPrism3, FormFactorLongBoxLorentz, FormFactorLongBoxGauss, FormFactorIcosahedron, FormFactorHollowSphere, FormFactorHemiEllipsoid, FormFactorFullSpheroid, FormFactorFullSphere, FormFactorEllipsoidalCylinder, FormFactorDodecahedron, FormFactorCylinder, FormFactorCuboctahedron, FormFactorCone6, FormFactorCone, FormFactorCantellatedCube, FormFactorBox, FormFactorAnisoPyramid, and Lattice2D.
Definition at line 59 of file IParametricComponent.h.
Referenced by Lattice2D::onChange(), and IParametricComponent::registerParameter().
|
inherited |
Returns parameter with given 'name'.
Definition at line 86 of file IParametricComponent.cpp.
References IParametricComponent::m_pool, and RealSpace::Particles::name().
Referenced by DepthProbeSimulation::initialize(), SpecularSimulation::initialize(), Lattice3D::initialize(), IParticle::registerAbundance(), ParticleLayout::registerParticleDensity(), IParticle::registerPosition(), Layer::registerThickness(), Lattice2D::setRotationEnabled(), and DistributionLogNormal::setUnits().
|
inlineinherited |
Returns pointer to the parameter pool.
Definition at line 39 of file IParametricComponent.h.
References IParametricComponent::m_pool.
Referenced by INode::INode(), IParametricComponent::IParametricComponent(), pyfmt2::argumentList(), SampleBuilderNode::borrow_builder_parameters(), SampleBuilderNode::reset(), and IDistribution1D::setUnits().
|
inherited |
Returns multiline string representing available parameters.
Definition at line 43 of file IParametricComponent.cpp.
References IParametricComponent::createParameterTree().
|
inherited |
Definition at line 89 of file INode.cpp.
References INode::m_parent.
|
inherited |
Definition at line 84 of file INode.cpp.
References INode::m_parent.
Referenced by INode::copyNumber(), INode::createParameterTree(), ParticleDistribution::generateParticles(), NodeUtils::nodePath(), Lattice2D::onChange(), SampleProvider::setBuilder(), SampleProvider::setParent(), and SampleProvider::setSample().
|
inlineinherited |
Returns particle position.
Definition at line 45 of file IParticle.h.
References IParticle::m_position.
Referenced by addParticle(), RealSpaceBuilderUtils::applyParticleCoreShellTransformations(), RealSpaceBuilderUtils::applyParticleTransformations(), GUIDomainSampleVisitor::buildPositionInfo(), decompose(), and IParticle::setPosition().
|
inherited |
Returns a vector of all descendants.
Definition at line 68 of file INode.cpp.
References INode::getChildren().
Referenced by INode::createParameterTree(), and ParticleDistribution::generateParticles().
|
inherited |
Definition at line 66 of file IParticle.cpp.
References IAbstractParticle::m_abundance, IParametricComponent::parameter(), IParametricComponent::registerParameter(), and IParametricComponent::removeParameter().
Referenced by addParticlePointer(), and IParticle::registerParticleProperties().
|
inherited |
Definition at line 57 of file INode.cpp.
References ASSERT, and INode::setParent().
Referenced by Beam::Beam(), Crystal::Crystal(), IDetector::IDetector(), Instrument::Instrument(), InterferenceFunction2DLattice::InterferenceFunction2DLattice(), InterferenceFunction2DParaCrystal::InterferenceFunction2DParaCrystal(), InterferenceFunction2DSuperLattice::InterferenceFunction2DSuperLattice(), InterferenceFunctionFinite2DLattice::InterferenceFunctionFinite2DLattice(), Particle::Particle(), ParticleDistribution::ParticleDistribution(), ParticleLayout::addAndRegisterAbstractParticle(), ParticleCoreShell::addAndRegisterCore(), MultiLayer::addAndRegisterInterface(), MultiLayer::addAndRegisterLayer(), ParticleCoreShell::addAndRegisterShell(), Layer::addLayout(), addParticlePointer(), ISimulation::initialize(), MesoCrystal::initialize(), Beam::operator=(), Instrument::operator=(), IParticle::rotate(), ParticleLayout::setAndRegisterInterferenceFunction(), ISimulation::setBackground(), InterferenceFunction1DLattice::setDecayFunction(), InterferenceFunction2DLattice::setDecayFunction(), Instrument::setDetector(), IDetector::setDetectorResolution(), Beam::setFootprintFactor(), Particle::setFormFactor(), InterferenceFunctionFinite3DLattice::setLattice(), InterferenceFunctionRadialParaCrystal::setProbabilityDistribution(), InterferenceFunction2DParaCrystal::setProbabilityDistributions(), ConvolutionDetectorResolution::setResolutionFunction(), IParticle::setRotation(), LayerInterface::setRoughness(), and InterferenceFunction2DSuperLattice::setSubstructureIFF().
|
inherited |
Definition at line 51 of file IParametricComponent.cpp.
References IParametricComponent::getName(), IParametricComponent::m_pool, RealSpace::Particles::name(), and IParametricComponent::onChange().
Referenced by BasicLattice2D::BasicLattice2D(), Beam::Beam(), CylindersInBABuilder::CylindersInBABuilder(), DetectionProperties::DetectionProperties(), HexagonalLattice2D::HexagonalLattice2D(), IInterferenceFunction::IInterferenceFunction(), INode::INode(), InterferenceFunction1DLattice::InterferenceFunction1DLattice(), InterferenceFunction2DParaCrystal::InterferenceFunction2DParaCrystal(), InterferenceFunctionHardDisk::InterferenceFunctionHardDisk(), InterferenceFunctionRadialParaCrystal::InterferenceFunctionRadialParaCrystal(), InterferenceFunctionTwin::InterferenceFunctionTwin(), Lattice2D::Lattice2D(), LayerRoughness::LayerRoughness(), MultiLayer::MultiLayer(), ParticleDistribution::ParticleDistribution(), PlainMultiLayerBySLDBuilder::PlainMultiLayerBySLDBuilder(), ResolutionFunction2DGaussian::ResolutionFunction2DGaussian(), ResonatorBuilder::ResonatorBuilder(), SquareLattice2D::SquareLattice2D(), TriangularRippleBuilder::TriangularRippleBuilder(), IParticle::registerAbundance(), ParticleLayout::registerParticleDensity(), Layer::registerThickness(), IParametricComponent::registerVector(), ParticleLayout::registerWeight(), and Lattice2D::setRotationEnabled().
|
protectedinherited |
Registers abundance and position.
Definition at line 125 of file IParticle.cpp.
References IParticle::registerAbundance(), and IParticle::registerPosition().
Referenced by ParticleCoreShell::ParticleCoreShell(), MesoCrystal::initialize(), Particle::initialize(), and initialize().
|
inherited |
Registers the three components of its position.
Definition at line 76 of file IParticle.cpp.
References IParticle::m_position, IParametricComponent::parameter(), IParametricComponent::registerVector(), IParametricComponent::removeVector(), and IParametricComponent::XComponentName().
Referenced by IParticle::registerParticleProperties().
|
inherited |
Definition at line 57 of file IParametricComponent.cpp.
References ModelView::Utils::base_name(), IParametricComponent::registerParameter(), RealParameter::setUnit(), IParametricComponent::XComponentName(), IParametricComponent::YComponentName(), and IParametricComponent::ZComponentName().
Referenced by Beam::Beam(), DetectionProperties::DetectionProperties(), InterferenceFunctionTwin::InterferenceFunctionTwin(), MultiLayer::MultiLayer(), Lattice3D::initialize(), and IParticle::registerPosition().
|
inherited |
Definition at line 91 of file IParametricComponent.cpp.
References IParametricComponent::m_pool, and RealSpace::Particles::name().
Referenced by IParticle::registerAbundance(), ParticleLayout::registerParticleDensity(), Layer::registerThickness(), IParametricComponent::removeVector(), and Lattice2D::setRotationEnabled().
|
inherited |
Definition at line 96 of file IParametricComponent.cpp.
References ModelView::Utils::base_name(), IParametricComponent::removeParameter(), IParametricComponent::XComponentName(), IParametricComponent::YComponentName(), and IParametricComponent::ZComponentName().
Referenced by IParticle::registerPosition().
|
finalvirtualinherited |
Rotates the particle.
Implements IAbstractParticle.
Definition at line 50 of file IParticle.cpp.
References IRotation::clone(), createProduct(), IParticle::m_position, IParticle::m_rotation, INode::registerChild(), IParticle::rotation(), and IRotation::transformed().
Referenced by BoxCompositionRotateZandYBuilder::buildSample(), CoreShellBoxRotateZandYBuilder::buildSample(), LayersWithAbsorptionBuilder::buildSample(), LayersWithAbsorptionBySLDBuilder::buildSample(), and TransformBoxBuilder::buildSample().
|
inherited |
Returns rotation object.
Definition at line 39 of file IParticle.cpp.
References IParticle::m_rotation.
Referenced by Particle::Particle(), RealSpaceBuilderUtils::applyParticleCoreShellTransformations(), RealSpaceBuilderUtils::applyParticleTransformations(), MesoCrystal::createSlicedParticle(), decompose(), IParticle::rotate(), and IParticle::setRotation().
|
inlineinherited |
Sets particle abundance.
abundance | proportion of this type of particles normalized to the total number of particles in the layout. |
Definition at line 44 of file IAbstractParticle.h.
References IAbstractParticle::abundance(), and IAbstractParticle::m_abundance.
Referenced by ParticleLayout::addParticle(), MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), ParticleDistribution::clone(), and ParticleDistribution::generateParticles().
|
inlineinherited |
Definition at line 69 of file IParametricComponent.h.
References IParametricComponent::m_name, and RealSpace::Particles::name().
Referenced by BasicLattice2D::BasicLattice2D(), Beam::Beam(), ConvolutionDetectorResolution::ConvolutionDetectorResolution(), Crystal::Crystal(), DetectionProperties::DetectionProperties(), DistributionHandler::DistributionHandler(), FormFactorCoreShell::FormFactorCoreShell(), FormFactorCrystal::FormFactorCrystal(), FormFactorDecoratorMaterial::FormFactorDecoratorMaterial(), FormFactorDecoratorPositionFactor::FormFactorDecoratorPositionFactor(), FormFactorDecoratorRotation::FormFactorDecoratorRotation(), FormFactorWeighted::FormFactorWeighted(), HexagonalLattice2D::HexagonalLattice2D(), IDetector::IDetector(), INode::INode(), Instrument::Instrument(), InterferenceFunction1DLattice::InterferenceFunction1DLattice(), InterferenceFunction2DLattice::InterferenceFunction2DLattice(), InterferenceFunction2DParaCrystal::InterferenceFunction2DParaCrystal(), InterferenceFunction2DSuperLattice::InterferenceFunction2DSuperLattice(), InterferenceFunction3DLattice::InterferenceFunction3DLattice(), InterferenceFunctionFinite2DLattice::InterferenceFunctionFinite2DLattice(), InterferenceFunctionFinite3DLattice::InterferenceFunctionFinite3DLattice(), InterferenceFunctionHardDisk::InterferenceFunctionHardDisk(), InterferenceFunctionNone::InterferenceFunctionNone(), InterferenceFunctionRadialParaCrystal::InterferenceFunctionRadialParaCrystal(), InterferenceFunctionTwin::InterferenceFunctionTwin(), ISampleBuilder::ISampleBuilder(), IsGISAXSDetector::IsGISAXSDetector(), Lattice3D::Lattice3D(), Layer::Layer(), LayerInterface::LayerInterface(), LayerRoughness::LayerRoughness(), MultiLayer::MultiLayer(), ParticleCoreShell::ParticleCoreShell(), ParticleDistribution::ParticleDistribution(), ParticleLayout::ParticleLayout(), RectangularDetector::RectangularDetector(), ResolutionFunction2DGaussian::ResolutionFunction2DGaussian(), SampleBuilderNode::SampleBuilderNode(), SphericalDetector::SphericalDetector(), SquareLattice2D::SquareLattice2D(), Layer::clone(), LayersWithAbsorptionBuilder::createSampleByIndex(), Basic2DParaCrystalBuilder::createSampleByIndex(), ParticleInVacuumBuilder::createSampleByIndex(), SimpleMagneticRotationBuilder::createSampleByIndex(), DepthProbeSimulation::initialize(), GISASSimulation::initialize(), OffSpecularSimulation::initialize(), SpecularSimulation::initialize(), SpecularDetector1D::initialize(), MesoCrystal::initialize(), Particle::initialize(), initialize(), Beam::operator=(), SampleBuilderNode::operator=(), SampleBuilderNode::reset(), and SampleBuilderNode::setSBN().
|
inherited |
Definition at line 65 of file IParametricComponent.cpp.
References IParametricComponent::createParameterTree(), IParametricComponent::m_pool, RealSpace::Particles::name(), and ParameterPool::setMatchedParametersValue().
Referenced by AsymRippleBuilder::buildSample(), and IParametricComponent::setVectorValue().
|
virtualinherited |
Reimplemented in SampleProvider.
Definition at line 79 of file INode.cpp.
References INode::m_parent.
Referenced by INode::registerChild(), SampleProvider::setBuilder(), and SampleProvider::setParent().
|
inlineinherited |
Sets relative position of the particle's reference point in the coordinate system of parent.
x | x-coordinate in nanometers |
y | y-coordinate in nanometers |
z | z-coordinate in nanometers |
Definition at line 57 of file IParticle.h.
References IParticle::m_position.
|
inlineinherited |
Sets relative position of the particle's reference point in the coordinate system of parent.
position | relative position vector (components are in nanometers) |
Definition at line 50 of file IParticle.h.
References IParticle::m_position, and IParticle::position().
Referenced by BoxCompositionRotateXBuilder::buildSample(), BoxCompositionRotateYBuilder::buildSample(), BoxCompositionRotateZBuilder::buildSample(), BoxCompositionRotateZandYBuilder::buildSample(), BoxStackCompositionBuilder::buildSample(), CoreShellBoxRotateZandYBuilder::buildSample(), CustomMorphologyBuilder::buildSample(), LayersWithAbsorptionBuilder::buildSample(), LayersWithAbsorptionBySLDBuilder::buildSample(), SlicedCompositionBuilder::buildSample(), TransformBoxBuilder::buildSample(), RotatedSquareLattice2DBuilder::buildSample(), MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), and TransformToDomain::setPositionInfo().
|
inherited |
Sets transformation.
Definition at line 44 of file IParticle.cpp.
References IRotation::clone(), IParticle::m_rotation, INode::registerChild(), and IParticle::rotation().
Referenced by Particle::Particle(), BoxCompositionRotateXBuilder::buildSample(), BoxCompositionRotateYBuilder::buildSample(), BoxCompositionRotateZBuilder::buildSample(), BoxCompositionRotateZandYBuilder::buildSample(), BoxStackCompositionBuilder::buildSample(), CoreShellBoxRotateZandYBuilder::buildSample(), LayersWithAbsorptionBuilder::buildSample(), LayersWithAbsorptionBySLDBuilder::buildSample(), RotatedPyramidsDistributionBuilder::buildSample(), SlicedCompositionBuilder::buildSample(), TransformBoxBuilder::buildSample(), MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), and TransformToDomain::setRotationInfo().
|
inherited |
Definition at line 78 of file IParametricComponent.cpp.
References ModelView::Utils::base_name(), IParametricComponent::setParameterValue(), BasicVector3D< T >::x(), IParametricComponent::XComponentName(), BasicVector3D< T >::y(), IParametricComponent::YComponentName(), BasicVector3D< T >::z(), and IParametricComponent::ZComponentName().
|
inlinevirtualinherited |
Used for Python overriding of clone (see swig/tweaks.py)
Definition at line 34 of file ICloneable.h.
|
finalvirtualinherited |
Translates the particle.
Implements IAbstractParticle.
Definition at line 34 of file IParticle.cpp.
References IParticle::m_position.
Referenced by addParticle(), and SlicedFormFactorList::addParticle().
|
virtualinherited |
Returns multiline string representing tree structure below the node.
Definition at line 52 of file INode.cpp.
References NodeUtils::nodeToString().
|
staticinherited |
Definition at line 103 of file IParametricComponent.cpp.
References ModelView::Utils::base_name().
Referenced by Lattice3D::initialize(), IParticle::registerPosition(), IParametricComponent::registerVector(), IParametricComponent::removeVector(), IParametricComponent::setVectorValue(), and VectorParameterTranslator::translate().
|
staticinherited |
Definition at line 108 of file IParametricComponent.cpp.
References ModelView::Utils::base_name().
Referenced by IParametricComponent::registerVector(), IParametricComponent::removeVector(), IParametricComponent::setVectorValue(), and VectorParameterTranslator::translate().
|
staticinherited |
Definition at line 113 of file IParametricComponent.cpp.
References ModelView::Utils::base_name().
Referenced by IParametricComponent::registerVector(), IParametricComponent::removeVector(), IParametricComponent::setVectorValue(), and VectorParameterTranslator::translate().
|
protectedinherited |
Definition at line 53 of file IAbstractParticle.h.
Referenced by ParticleDistribution::ParticleDistribution(), IAbstractParticle::abundance(), MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), ParticleDistribution::clone(), IParticle::registerAbundance(), and IAbstractParticle::setAbundance().
|
privateinherited |
Definition at line 73 of file IParametricComponent.h.
Referenced by IParametricComponent::getName(), and IParametricComponent::setName().
|
protectedinherited |
Definition at line 88 of file INode.h.
Referenced by INode::INode().
|
protectedinherited |
Definition at line 89 of file INode.h.
Referenced by INode::INode(), and IFootprintFactor::setWidthRatio().
|
privateinherited |
Definition at line 83 of file INode.h.
Referenced by INode::displayName(), INode::parent(), and INode::setParent().
|
private |
Definition at line 55 of file ParticleComposition.h.
Referenced by addParticlePointer(), check_index(), clone(), createFormFactor(), decompose(), getChildren(), and nbrParticles().
|
privateinherited |
parameter pool (kind of pointer-to-implementation)
Definition at line 74 of file IParametricComponent.h.
Referenced by IParametricComponent::createParameterTree(), IParametricComponent::parameter(), IParametricComponent::parameterPool(), IParametricComponent::registerParameter(), IParametricComponent::removeParameter(), and IParametricComponent::setParameterValue().
|
protectedinherited |
Definition at line 94 of file IParticle.h.
Referenced by MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), IParticle::composedTranslation(), MesoCrystal::createSlicedParticle(), Particle::createSlicedParticle(), ParticleCoreShell::createSlicedParticle(), IParticle::position(), IParticle::registerPosition(), IParticle::rotate(), IParticle::setPosition(), and IParticle::translate().
|
protectedinherited |
Definition at line 95 of file IParticle.h.
Referenced by MesoCrystal::clone(), Particle::clone(), clone(), ParticleCoreShell::clone(), IParticle::createComposedRotation(), MesoCrystal::createSlicedParticle(), Particle::createSlicedParticle(), ParticleCoreShell::createSlicedParticle(), IParticle::getChildren(), IParticle::rotate(), IParticle::rotation(), and IParticle::setRotation().