- changed status to resolved
element property fieldAll not implemented for non-magnets (drifts)
Issue #172
resolved
According to the manual it is possible to use fieldAll with drifts:
http://www.pp.rhul.ac.uk/bdsim/manual/model_description.html?highlight=fieldall#fields
However, this is not implemented. Relevant code:
BDSComponentFactory:
else // non-magnet element
{
if (!(element->fieldAll.empty()))
{component->SetField(BDSFieldFactory::Instance()->GetDefinition(element->fieldAll));}
}
this sets BDSAcceleratorComponent::fieldInfo, but this private member is not used anywhere.
Comments (1)
-
- Log in to comment
Fix Issue
#172. Construct field all if specified. Do at the end of the build phase so daughter volumes exist when field is attached.→ <<cset 9ba60639ffff>>