|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <FieldSolver.h>


Public Member Functions | |
| FieldSolver () | |
| Exemplar constructor. More... | |
| virtual | ~FieldSolver () |
| virtual FieldSolver * | clone (const std::string &name) |
| Make clone. More... | |
| std::string | getType () |
| double | getMX () const |
| Return meshsize. More... | |
| double | getMY () const |
| Return meshsize. More... | |
| double | getMT () const |
| Return meshsize. More... | |
| void | setMX (double) |
| Store emittance for mode 1. More... | |
| void | setMY (double) |
| Store emittance for mode 2. More... | |
| void | setMT (double) |
| Store emittance for mode 3. More... | |
| virtual void | update () |
| Update the field solver data. More... | |
| virtual void | execute () |
| Execute (init) the field solver data. More... | |
| void | initCartesianFields () |
| void | initSolver (PartBunchBase< double, 3 > *b) |
| bool | hasValidSolver () |
| void | setFieldSolverType () |
| FieldSolverType | getFieldSolverType () const |
| Layout_t & | getParticleLayout () |
| FieldLayout_t * | getFieldLayout () |
| Inform & | printInfo (Inform &os) const |
| unsigned int | getInteractionRadius () |
| bool | hasPeriodicZ () |
| bool | isAmrSolverType () const |
| AmrObject * | getAmrObject () |
| const AmrObject * | getAmrObject () const |
| virtual const std::string | getCategory () const |
| Return the object category as a string. More... | |
| virtual bool | shouldTrace () const |
| Trace flag. More... | |
| virtual bool | shouldUpdate () const |
| Update flag. More... | |
| virtual bool | canReplaceBy (Object *object) |
| Test if replacement is allowed. More... | |
| void | copyAttributes (const Object &) |
| Copy attributes from another object. More... | |
| virtual Attribute * | findAttribute (const std::string &name) |
| Find an attribute by name. More... | |
| virtual const Attribute * | findAttribute (const std::string &name) const |
| Find an attribute by name. More... | |
| virtual Object * | makeTemplate (const std::string &, TokenStream &, Statement &) |
| Macro handler function. More... | |
| virtual Object * | makeInstance (const std::string &name, Statement &, const Parser *) |
| Macro handler function. More... | |
| virtual void | parse (Statement &) |
| Parse the object. More... | |
| virtual void | parseShortcut (Statement &, bool eval=true) |
| Parser for single-attribute commands. More... | |
| virtual void | print (std::ostream &) const |
| Print the object. More... | |
| virtual void | printValue (std::ostream &) const |
| virtual void | printHelp (std::ostream &) const |
| Print help. More... | |
| virtual void | replace (Object *oldObject, Object *newObject) |
| Replace references. More... | |
| bool | isBuiltin () const |
| True, if [b]this[/b] is a built-in object. More... | |
| virtual bool | isShared () const |
| Shared flag. More... | |
| virtual void | setShared (bool) |
| Set/reset shared flag. More... | |
| void | setDirty (bool) |
| Set/reset the [b]modified[/b] flag. More... | |
| bool | isDirty () const |
| True, if the [b]modified[/b] flag is set. More... | |
| void | setFlag (bool) |
| Flag/unflag this object, e. g. to control output of objects for. More... | |
| bool | isFlagged () const |
| True, if [b]this[/b] is flagged by setFlag(true). More... | |
| const Object * | getBaseObject () const |
| Return the object's base type object. More... | |
| const std::string & | getOpalName () const |
| Return object name. More... | |
| Object * | getParent () const |
| Return parent pointer. More... | |
| bool | isTreeMember (const Object *subTree) const |
| Test for tree membership. More... | |
| void | setOpalName (const std::string &name) |
| Set object name. More... | |
| void | setParent (Object *) |
| Set parent object. More... | |
| void | clear () |
| Clear the occurrence counter. More... | |
| int | increment () |
| Increment and return the occurrence counter. More... | |
| int | occurrenceCount () |
| Return the occurrence counter. More... | |
| void | registerReference (Invalidator *a) |
| Register a reference to this object. More... | |
| void | unregisterReference (Invalidator *a) |
| Unegister a reference to this object. More... | |
| void | registerOwnership (const AttributeHandler::OwnerType &itsClass) const |
| int | addReference () const |
| Increment reference count. More... | |
| int | removeReference () const |
| Decrement the reference count. More... | |
Static Public Member Functions | |
| static FieldSolver * | find (const std::string &name) |
| Find named FieldSolver. More... | |
Public Attributes | |
| PoissonSolver * | solver_m |
| the actual solver, should be a base object More... | |
| std::vector< Attribute > | itsAttr |
| The object attributes. More... | |
Protected Attributes | |
| bool | builtin |
| Built-in flag. More... | |
| bool | modified |
| Dirty flag. More... | |
| bool | flagged |
| Object flag. More... | |
Private Member Functions | |
| std::string | getTagging_m () const |
| void | initAmrObject_m () |
| void | initAmrSolver_m () |
| FieldSolver (const FieldSolver &) | |
| void | operator= (const FieldSolver &) |
| FieldSolver (const std::string &name, FieldSolver *parent) | |
Private Attributes | |
| std::unique_ptr< AmrObject > | itsAmrObject_mp |
| Mesh_t * | mesh_m |
| The cartesian mesh. More... | |
| FieldLayout_t * | FL_m |
| The field layout f. More... | |
| std::unique_ptr< Layout_t > | PL_m |
| The particle layout. More... | |
| PartBunchBase< double, 3 > * | itsBunch_m |
| all the particles are here ... More... | |
| std::string | fsName_m |
| FieldSolverType | fsType_m |
| double | rpp_m |
| Object * | itsParent |
| std::string | itsName |
| std::string | itsHelp |
| int | occurrence |
| double | timeStamp |
| std::set< Invalidator * > | references |
| bool | sharedFlag |
| int | refCount |
Definition at line 52 of file FieldSolver.h.
| FieldSolver::FieldSolver | ( | ) |
Exemplar constructor.
Definition at line 126 of file FieldSolver.cpp.
References ALPHA, Physics::e, FL_m, Object::itsAttr, Attributes::makeBool(), Attributes::makePredefinedString(), Attributes::makeReal(), Attributes::makeRealArray(), Attributes::makeUpperCaseString(), mesh_m, Attrib::Distribution::MT, Attrib::Distribution::MX, Attrib::Distribution::MY, PL_m, Object::registerOwnership(), Attributes::setRealArray(), solver_m, and AttributeHandler::STATEMENT.
Referenced by clone().

|
virtual |
Definition at line 362 of file FieldSolver.cpp.
|
private |
|
private |
|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References RCObject::refCount.
Referenced by Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
virtualinherited |
Test if replacement is allowed.
Reimplemented in Table, Action, Element, OpalTrimCoil, Distribution, Beam, BoundaryGeometry, OpalWake, ParticleMatterInteraction, OpalFilter, BoolConstant, RealConstant, StringConstant, RealVariable, and RealVector.
Definition at line 48 of file Object.cpp.
Referenced by OpalData::define().
|
inherited |
Clear the occurrence counter.
Definition at line 341 of file Object.cpp.
References Object::occurrence.
Referenced by initSolver().
|
virtual |
Make clone.
Implements Object.
Definition at line 377 of file FieldSolver.cpp.
References FieldSolver(), and name.

|
inherited |
Copy attributes from another object.
Definition at line 54 of file Object.cpp.
References Object::itsAttr.
Referenced by SequenceTemplate::makeInstance(), and LineTemplate::makeInstance().
|
virtual |
Execute (init) the field solver data.
Reimplemented from Object.
Definition at line 381 of file FieldSolver.cpp.
References setFieldSolverType(), and update().

|
static |
Find named FieldSolver.
Definition at line 386 of file FieldSolver.cpp.
References OpalData::find(), Hypervolume::fs, OpalData::getInstance(), and name.
Referenced by TrackRun::setupFieldsolver().

|
virtualinherited |
Find an attribute by name.
Definition at line 64 of file Object.cpp.
References Object::itsAttr, and name.
Referenced by SequenceParser::findNeighbourPositions(), OpalElement::getParticleMatterInteraction(), OpalElement::getTypeName(), OpalElement::getWakeF(), Object::parse(), OpalElement::parse(), Line::parse(), OpalParser::parseAssign(), SequenceParser::parsePosition(), and Object::parseShortcut().
|
virtualinherited |
Find an attribute by name.
Definition at line 74 of file Object.cpp.
References Object::itsAttr, and name.
|
inline |
Definition at line 114 of file FieldSolver.h.
References itsAmrObject_mp.
Referenced by AmrPartBunch::setSolver().
|
inline |
Definition at line 118 of file FieldSolver.h.
References itsAmrObject_mp.
|
inherited |
Return the object's base type object.
Definition at line 303 of file Object.cpp.
References Object::itsParent.
|
virtualinherited |
Return the object category as a string.
Implements Object.
Definition at line 29 of file Definition.cpp.
|
inline |
Definition at line 103 of file FieldSolver.h.
References FL_m.
|
inline |
Definition at line 164 of file FieldSolver.h.
References fsType_m.
Referenced by PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), PartBunch::resizeMesh(), and TrackRun::setupFieldsolver().
|
inline |
Definition at line 107 of file FieldSolver.h.
References rpp_m.
| double FieldSolver::getMT | ( | ) | const |
Return meshsize.
Definition at line 407 of file FieldSolver.cpp.
References Attributes::getReal(), Object::itsAttr, and Attrib::Distribution::MT.
Referenced by initAmrObject_m(), initCartesianFields(), and TrackRun::setupFieldsolver().

| double FieldSolver::getMX | ( | ) | const |
Return meshsize.
Definition at line 399 of file FieldSolver.cpp.
References Attributes::getReal(), Object::itsAttr, and Attrib::Distribution::MX.
Referenced by initAmrObject_m(), initCartesianFields(), and TrackRun::setupFieldsolver().

| double FieldSolver::getMY | ( | ) | const |
Return meshsize.
Definition at line 403 of file FieldSolver.cpp.
References Attributes::getReal(), Object::itsAttr, and Attrib::Distribution::MY.
Referenced by initAmrObject_m(), initCartesianFields(), and TrackRun::setupFieldsolver().

|
inherited |
Return object name.
Definition at line 310 of file Object.cpp.
References Object::itsName.
Referenced by OpalOffset::OpalLocalCartesianOffset::clone(), OpalVariableRFCavity::clone(), OpalVariableRFCavityFringeField::clone(), Macro::clone(), OpalData::create(), OpalData::define(), ParallelCyclotronTracker::execute(), Sequence::findDriftLength(), SequenceParser::findNeighbourPositions(), ValueDefinition::getBool(), ValueDefinition::getBoolComponent(), ValueDefinition::getReal(), ValueDefinition::getRealComponent(), ValueDefinition::getString(), ValueDefinition::getStringComponent(), ParticleMatterInteraction::initParticleMatterInteractionHandler(), OpalWake::initWakefunction(), List::list(), Object::makeInstance(), SequenceTemplate::makeInstance(), LineTemplate::makeInstance(), Object::parse(), SequenceParser::parseMember(), SequenceParser::parsePosition(), OpalTrimCoil::print(), Object::print(), OpalElement::print(), Sequence::print(), BoolConstant::print(), RealConstant::print(), RealVariable::print(), RealVector::print(), StringConstant::print(), Beam::print(), OpalWake::print(), ParticleMatterInteraction::print(), OpalFilter::print(), Line::print(), BoundaryGeometry::printInfo(), printInfo(), OpalElement::registerOwnership(), Object::registerOwnership(), Line::replace(), Sequence::replace(), OpalScalingFFAMagnet::setupDefaultEndField(), OpalTrimCoil::update(), OpalAsymmetricEnge::update(), OpalCavity::update(), OpalDrift::update(), OpalECollimator::update(), OpalEnge::update(), OpalFlexibleCollimator::update(), OpalOffset::OpalGlobalCartesianOffset::update(), OpalOffset::OpalGlobalCylindricalOffset::update(), OpalOffset::OpalLocalCartesianOffset::update(), OpalOffset::OpalLocalCylindricalOffset::update(), OpalPepperPot::update(), OpalPolynomialTimeDependence::update(), OpalProbe::update(), OpalRBend::update(), OpalRBend3D::update(), OpalRCollimator::update(), OpalSBend::update(), OpalSeptum::update(), OpalSlit::update(), OpalTravelingWave::update(), Beam::update(), BoundaryGeometry::update(), OpalWake::update(), ParticleMatterInteraction::update(), OpalFilter::update(), OpalSinusoidalTimeDependence::update(), OpalSplineTimeDependence::update(), and Distribution::writeOutFileHeader().
|
inherited |
Return parent pointer.
Definition at line 315 of file Object.cpp.
References Object::itsParent.
Referenced by OpalData::erase(), Object::print(), OpalElement::print(), OpalElement::registerOwnership(), and Object::registerOwnership().
|
inline |
Definition at line 101 of file FieldSolver.h.
References PL_m.
|
private |
Definition at line 709 of file FieldSolver.cpp.
References Attributes::getString(), AmrObject::getTaggingString(), Util::isAllDigits(), and Object::itsAttr.
Referenced by initAmrObject_m(), and printInfo().

| std::string FieldSolver::getType | ( | ) |
Definition at line 395 of file FieldSolver.cpp.
References Attributes::getString(), and Object::itsAttr.
Referenced by initAmrSolver_m(), and setFieldSolverType().

| bool FieldSolver::hasPeriodicZ | ( | ) |
Definition at line 459 of file FieldSolver.cpp.
References Attributes::getString(), and Object::itsAttr.
Referenced by TrackRun::setupFieldsolver().

| bool FieldSolver::hasValidSolver | ( | ) |
Definition at line 590 of file FieldSolver.cpp.
References solver_m.
Referenced by AmrPartBunch::computeSelfFields(), PartBunch::computeSelfFields(), and PartBunch::computeSelfFields_cycl().
|
inherited |
Increment and return the occurrence counter.
Definition at line 346 of file Object.cpp.
References Object::occurrence.
Referenced by Line::parse(), and Sequence::storeLine().
|
private |
Definition at line 720 of file FieldSolver.cpp.
References AmrBoxLib::create(), getMT(), getMX(), getMY(), Attributes::getReal(), Attributes::getRealArray(), getTagging_m(), AmrObject::AmrInfo::grid, Options::info, itsAmrObject_mp, Object::itsAttr, itsBunch_m, AmrObject::AmrInfo::maxgrid, and PartBunchBase< T, Dim >::set_meshEnlargement().
Referenced by initSolver().

|
private |
Definition at line 762 of file FieldSolver.cpp.
References AMRMG, FMG, fsType_m, Attributes::getBool(), Attributes::getReal(), Attributes::getString(), getType(), HPGMG, HYPRE, itsAmrObject_mp, Object::itsAttr, ML, and solver_m.
Referenced by initSolver().

| void FieldSolver::initCartesianFields | ( | ) |
Definition at line 427 of file FieldSolver.cpp.
References FL_m, Attributes::getBool(), getMT(), getMX(), getMY(), Attributes::getString(), isAmrSolverType(), Object::itsAttr, mesh_m, PARALLEL, PL_m, and SERIAL.
Referenced by TrackRun::setupFieldsolver().

| void FieldSolver::initSolver | ( | PartBunchBase< double, 3 > * | b | ) |
Definition at line 499 of file FieldSolver.cpp.
References ALPHA, Object::clear(), endl(), FFT, FFTBOX, BoundaryGeometry::find(), FL_m, fsName_m, fsType_m, BoundaryGeometry::getA(), OpalData::getGlobalGeometry(), OpalData::getInstance(), Attributes::getReal(), Attributes::getString(), INFOMSG, initAmrObject_m(), initAmrSolver_m(), isAmrSolverType(), Object::itsAttr, itsBunch_m, mesh_m, P3M, SAAMG, PartBunchBase< T, Dim >::set_meshEnlargement(), and solver_m.

| bool FieldSolver::isAmrSolverType | ( | ) | const |
Definition at line 466 of file FieldSolver.cpp.
References Options::amr, AMRMG, FMG, fsType_m, and ML.
Referenced by initCartesianFields(), initSolver(), and printInfo().
|
inherited |
True, if [b]this[/b] is a built-in object.
Definition at line 268 of file Object.cpp.
References Object::builtin.
Referenced by OpalData::define(), and OpalData::getVariableNames().
|
inherited |
True, if the [b]modified[/b] flag is set.
Definition at line 289 of file Object.cpp.
References Object::modified.
|
inherited |
True, if [b]this[/b] is flagged by setFlag(true).
Definition at line 299 of file Object.cpp.
References Object::flagged.
|
virtualinherited |
Shared flag.
Definition at line 273 of file Object.cpp.
References Object::sharedFlag.
Referenced by Sequence::print().
|
inherited |
Test for tree membership.
Definition at line 320 of file Object.cpp.
References Object::itsParent.
Referenced by Selector::handleElement(), and OpalParser::parseAssign().
|
virtualinherited |
Macro handler function.
Reimplemented in SequenceTemplate, MacroCmd, and LineTemplate.
Definition at line 91 of file Object.cpp.
References Object::getOpalName().
Referenced by OpalParser::parseDefine(), Line::parseList(), OpalParser::parseMacro(), and SequenceParser::parseMember().

|
virtualinherited |
Macro handler function.
Reimplemented in LineTemplate, Sequence, MacroCmd, SequenceTemplate, and Line.
Definition at line 84 of file Object.cpp.
References name.
Referenced by OpalParser::parseMacro().
|
inherited |
Return the occurrence counter.
Definition at line 351 of file Object.cpp.
References Object::occurrence.
|
private |
|
virtualinherited |
Parse the object.
Reimplemented in Call, Echo, Help, PSystem, System, Title, Value, OpalElement, Sequence, and Line.
Definition at line 97 of file Object.cpp.
References Statement::delimiter(), Object::findAttribute(), Object::getOpalName(), name, Expressions::parseDelimiter(), Expressions::parseRealConst(), and Expressions::parseString().
Referenced by Sequence::parse(), OpalParser::parseAction(), OpalParser::parseDefine(), and SequenceTemplate::parseTemplate().

|
virtualinherited |
Parser for single-attribute commands.
Definition at line 129 of file Object.cpp.
References Statement::delimiter(), Object::findAttribute(), Statement::mark(), name, and Statement::word().
Referenced by Call::parse(), Echo::parse(), Help::parse(), PSystem::parse(), System::parse(), Title::parse(), and Value::parse().

|
virtualinherited |
Print the object.
Reimplemented in OpalBend, OpalElement, OpalMarker, OpalMultipole, OpalOctupole, OpalOffset::OpalGlobalCartesianOffset, OpalOffset::OpalGlobalCylindricalOffset, OpalOffset::OpalLocalCartesianOffset, OpalOffset::OpalLocalCylindricalOffset, OpalPolynomialTimeDependence, OpalQuadrupole, OpalRBend3D, OpalRingDefinition, OpalSextupole, Sequence, BoolConstant, RealConstant, RealVariable, RealVector, StringConstant, OpalSinusoidalTimeDependence, OpalSplineTimeDependence, DumpEMFields, DumpFields, Beam, OpalWake, ParticleMatterInteraction, OpalFilter, OpalMultipoleT, and Line.
Definition at line 161 of file Object.cpp.
References endl(), Object::getOpalName(), Object::getParent(), and Object::itsAttr.
Referenced by Object::printValue().

|
virtualinherited |
Print help.
Definition at line 201 of file Object.cpp.
References endl(), gmsg, Object::itsAttr, Object::itsHelp, max(), and name.
Referenced by Help::execute().

Definition at line 594 of file FieldSolver.cpp.
References ALPHA, Options::amr, AMRMG, endl(), FFT, fsName_m, fsType_m, Attributes::getBool(), IpplInfo::getNodes(), Object::getOpalName(), Attributes::getReal(), Attributes::getRealArray(), Attributes::getString(), getTagging_m(), INFOMSG, isAmrSolverType(), Object::itsAttr, level3(), mesh_m, Attrib::Distribution::MT, Attrib::Distribution::MX, Attrib::Distribution::MY, P3M, PL_m, SAAMG, and solver_m.

|
inlinevirtualinherited |
Reimplemented in BoolConstant, RealConstant, RealVariable, RealVector, and StringConstant.
Definition at line 280 of file Object.h.
References Object::print().

|
inherited |
Definition at line 191 of file Object.cpp.
References AttributeHandler::addAttributeOwner(), end(), Object::getOpalName(), Object::getParent(), Object::itsAttr, and name.
Referenced by Beam::Beam(), BoolConstant::BoolConstant(), BoundaryGeometry::BoundaryGeometry(), Call::Call(), Constraint::Constraint(), DumpEMFields::DumpEMFields(), DumpFields::DumpFields(), DVar::DVar(), Echo::Echo(), FieldSolver(), Help::Help(), Line::Line(), List::List(), Objective::Objective(), OpalFilter::OpalFilter(), OpalSample::OpalSample(), OpalTrimCoil::OpalTrimCoil(), OpalWake::OpalWake(), OptimizeCmd::OptimizeCmd(), Option::Option(), ParticleMatterInteraction::ParticleMatterInteraction(), PSystem::PSystem(), RealConstant::RealConstant(), RealVariable::RealVariable(), RealVector::RealVector(), SampleCmd::SampleCmd(), Select::Select(), Sequence::Sequence(), Distribution::setAttributes(), StringConstant::StringConstant(), System::System(), Title::Title(), TrackCmd::TrackCmd(), TrackRun::TrackRun(), and Value::Value().

|
inherited |
Register a reference to this object.
Definition at line 182 of file Object.cpp.
References Hypervolume::ref, and Object::references.
|
inlineinherited |
Decrement the reference count.
Definition at line 88 of file RCObject.h.
References RCObject::refCount.
|
inherited |
Set/reset the [b]modified[/b] flag.
Definition at line 283 of file Object.cpp.
References Object::modified.
Referenced by OpalData::define(), OpalData::makeDirty(), and RealVariable::RealVariable().
| void FieldSolver::setFieldSolverType | ( | ) |
|
inherited |
Flag/unflag this object, e. g. to control output of objects for.
Definition at line 294 of file Object.cpp.
References Object::flagged.
| void FieldSolver::setMT | ( | double | value | ) |
Store emittance for mode 3.
Definition at line 419 of file FieldSolver.cpp.
References Object::itsAttr, Attrib::Distribution::MT, and Attributes::setReal().

| void FieldSolver::setMX | ( | double | value | ) |
Store emittance for mode 1.
Definition at line 411 of file FieldSolver.cpp.
References Object::itsAttr, Attrib::Distribution::MX, and Attributes::setReal().

| void FieldSolver::setMY | ( | double | value | ) |
Store emittance for mode 2.
Definition at line 415 of file FieldSolver.cpp.
References Object::itsAttr, Attrib::Distribution::MY, and Attributes::setReal().

|
inherited |
Set object name.
Definition at line 331 of file Object.cpp.
References Object::itsName, and name.
Referenced by OpalTrimCoil::update(), Beam::update(), BoundaryGeometry::update(), OpalWake::update(), ParticleMatterInteraction::update(), and OpalFilter::update().
|
inherited |
Set parent object.
Definition at line 336 of file Object.cpp.
References Object::itsParent.
Referenced by OpalData::erase().
|
virtualinherited |
Set/reset shared flag.
Reimplemented in Element.
Definition at line 278 of file Object.cpp.
References Object::sharedFlag.
Referenced by OpalParser::parseDefine(), and Element::setShared().
|
virtualinherited |
|
virtualinherited |
|
inherited |
Unegister a reference to this object.
Definition at line 187 of file Object.cpp.
References Hypervolume::ref, and Object::references.
|
virtual |
Update the field solver data.
Reimplemented from Object.
Definition at line 423 of file FieldSolver.cpp.
Referenced by execute().
|
protectedinherited |
Built-in flag.
Definition at line 233 of file Object.h.
Referenced by Beam::Beam(), BoundaryGeometry::BoundaryGeometry(), Distribution::Distribution(), Object::isBuiltin(), Object::Object(), OpalFilter::OpalFilter(), OpalMarker::OpalMarker(), OpalTrimCoil::OpalTrimCoil(), OpalWake::OpalWake(), ParticleMatterInteraction::ParticleMatterInteraction(), RealConstant::RealConstant(), StringConstant::StringConstant(), and Table::~Table().
|
private |
The field layout f.
Definition at line 149 of file FieldSolver.h.
Referenced by FieldSolver(), getFieldLayout(), initCartesianFields(), initSolver(), and ~FieldSolver().
|
protectedinherited |
Object flag.
Definition at line 242 of file Object.h.
Referenced by Object::isFlagged(), Object::Object(), and Object::setFlag().
|
private |
Definition at line 157 of file FieldSolver.h.
Referenced by initSolver(), printInfo(), and setFieldSolverType().
|
private |
Definition at line 158 of file FieldSolver.h.
Referenced by getFieldSolverType(), initAmrSolver_m(), initSolver(), isAmrSolverType(), printInfo(), and setFieldSolverType().
|
private |
Definition at line 135 of file FieldSolver.h.
Referenced by getAmrObject(), initAmrObject_m(), and initAmrSolver_m().
|
inherited |
The object attributes.
Definition at line 216 of file Object.h.
Referenced by Distribution::adjustPhaseSpace(), Beam::Beam(), BoolConstant::BoolConstant(), BoundaryGeometry::BoundaryGeometry(), DumpEMFields::buildGrid(), DumpFields::buildGrid(), Distribution::calcPartPerDist(), Call::Call(), Distribution::checkEmissionParameters(), Distribution::checkIfEmitted(), Distribution::chooseInputMomentumUnits(), Constraint::Constraint(), Object::copyAttributes(), Distribution::create(), Distribution::createDistributionFromFile(), Distribution::createDistributionMultiGauss(), Distribution::createMatchedGaussDistribution(), Distribution::createOpalT(), DumpEMFields::DumpEMFields(), DumpFields::DumpFields(), DVar::DVar(), Echo::Echo(), Call::execute(), Echo::execute(), Help::execute(), Option::execute(), PSystem::execute(), Select::execute(), System::execute(), Title::execute(), Value::execute(), OptimizeCmd::execute(), SampleCmd::execute(), Beam::execute(), List::execute(), TrackCmd::execute(), TrackRun::execute(), FieldSolver(), Object::findAttribute(), Distribution::generateAstraFlattopT(), Distribution::generateBinomial(), Distribution::generateFlattopLaserProfile(), Distribution::generateFlattopT(), Distribution::generateFlattopZ(), Distribution::generateGaussZ(), Distribution::generateLongFlattopT(), Distribution::generateMatchedGauss(), Distribution::generateTransverseGauss(), BoundaryGeometry::getA(), OpalElement::getApert(), BoundaryGeometry::getB(), BoolConstant::getBool(), BoundaryGeometry::getC(), Beam::getCharge(), Beam::getCurrent(), TrackCmd::getDT(), TrackCmd::getDTAU(), TrackCmd::getDTSCINIT(), Distribution::getEmissionTimeShift(), Constraint::getExpression(), Objective::getExpression(), BoundaryGeometry::getFilename(), Beam::getFrequency(), ParticleMatterInteraction::getInteractionType(), BoundaryGeometry::getL1(), BoundaryGeometry::getL2(), BoundaryGeometry::getLength(), OpalElement::getLength(), Line::getLength(), Sequence::getLength(), DVar::getLowerBound(), Beam::getMass(), TrackCmd::getMaxSteps(), getMT(), getMX(), getMY(), OpalWake::getNumberOfBins(), Beam::getNumberOfParticles(), Distribution::getNumberOfParticlesInFile(), Beam::getParticleName(), RealConstant::getReal(), RealVariable::getReal(), RealVector::getRealComponent(), Sequence::getReference(), BoundaryGeometry::getS(), TrackCmd::getStepsPerTurn(), StringConstant::getString(), TrackCmd::getT0(), getTagging_m(), Distribution::getTEmission(), TrackCmd::getTimeIntegrator(), BoundaryGeometry::getTopology(), OpalTrimCoil::getTrimCoilType(), getType(), DVar::getUpperBound(), DVar::getVariable(), OpalSample::getVariable(), Distribution::getWeight(), TrackCmd::getZStart(), TrackCmd::getZStop(), hasPeriodicZ(), Help::Help(), initAmrObject_m(), initAmrSolver_m(), initCartesianFields(), BoundaryGeometry::initialize(), OpalSample::initialize(), OpalFilter::initOpalFilter(), OpalTrimCoil::initOpalTrimCoil(), ParticleMatterInteraction::initParticleMatterInteractionHandler(), initSolver(), OpalWake::initWakefunction(), Distribution::injectBeam(), Line::Line(), List::List(), List::list(), Objective::Objective(), OpalAsymmetricEnge::OpalAsymmetricEnge(), OpalBend::OpalBend(), OpalCavity::OpalCavity(), OpalCCollimator::OpalCCollimator(), OpalCyclotron::OpalCyclotron(), OpalDegrader::OpalDegrader(), OpalDrift::OpalDrift(), OpalECollimator::OpalECollimator(), OpalElement::OpalElement(), OpalEnge::OpalEnge(), OpalFilter::OpalFilter(), OpalFlexibleCollimator::OpalFlexibleCollimator(), OpalOffset::OpalGlobalCartesianOffset::OpalGlobalCartesianOffset(), OpalOffset::OpalGlobalCylindricalOffset::OpalGlobalCylindricalOffset(), OpalHKicker::OpalHKicker(), OpalKicker::OpalKicker(), OpalOffset::OpalLocalCartesianOffset::OpalLocalCartesianOffset(), OpalOffset::OpalLocalCylindricalOffset::OpalLocalCylindricalOffset(), OpalMultipole::OpalMultipole(), OpalMultipoleT::OpalMultipoleT(), OpalOctupole::OpalOctupole(), OpalOutputPlane::OpalOutputPlane(), OpalPepperPot::OpalPepperPot(), OpalPolynomialTimeDependence::OpalPolynomialTimeDependence(), OpalProbe::OpalProbe(), OpalQuadrupole::OpalQuadrupole(), OpalRBend3D::OpalRBend3D(), OpalRCollimator::OpalRCollimator(), OpalRingDefinition::OpalRingDefinition(), OpalSample::OpalSample(), OpalSBend3D::OpalSBend3D(), OpalScalingFFAMagnet::OpalScalingFFAMagnet(), OpalSeptum::OpalSeptum(), OpalSextupole::OpalSextupole(), OpalSinusoidalTimeDependence::OpalSinusoidalTimeDependence(), OpalSlit::OpalSlit(), OpalSolenoid::OpalSolenoid(), OpalSource::OpalSource(), OpalSplineTimeDependence::OpalSplineTimeDependence(), OpalStripper::OpalStripper(), OpalTravelingWave::OpalTravelingWave(), OpalTrimCoil::OpalTrimCoil(), OpalUndulator::OpalUndulator(), OpalVacuum::OpalVacuum(), OpalVariableRFCavity::OpalVariableRFCavity(), OpalVariableRFCavityFringeField::OpalVariableRFCavityFringeField(), OpalVerticalFFAMagnet::OpalVerticalFFAMagnet(), OpalVKicker::OpalVKicker(), OpalWake::OpalWake(), OptimizeCmd::OptimizeCmd(), Option::Option(), Sequence::parse(), Line::parse(), DumpEMFields::parseCoordinateSystem(), ParticleMatterInteraction::ParticleMatterInteraction(), OpalTrimCoil::print(), TrackRun::print(), Object::print(), Sequence::print(), BoolConstant::print(), RealConstant::print(), RealVariable::print(), RealVector::print(), StringConstant::print(), DumpEMFields::print(), DumpFields::print(), Beam::print(), OpalWake::print(), ParticleMatterInteraction::print(), OpalFilter::print(), Distribution::printDistFlattop(), Distribution::printDistFromFile(), Distribution::printDistGauss(), Distribution::printEmissionModelAstra(), Distribution::printEmissionModelNone(), Object::printHelp(), Distribution::printInfo(), BoundaryGeometry::printInfo(), printInfo(), BoolConstant::printValue(), RealConstant::printValue(), RealVariable::printValue(), RealVector::printValue(), StringConstant::printValue(), PSystem::PSystem(), RealConstant::RealConstant(), RealVariable::RealVariable(), RealVector::RealVector(), OpalElement::registerOwnership(), Object::registerOwnership(), OptimizeCmd::run(), SampleCmd::SampleCmd(), Distribution::scaleDistCoordinates(), Select::Select(), Select::select(), Sequence::Sequence(), Distribution::setAttributes(), TrackRun::setBoundaryGeometry(), Distribution::setDistParametersBinomial(), Distribution::setDistParametersFlattop(), Distribution::setDistParametersGauss(), Distribution::setDistParametersMultiGauss(), TrackRun::setDistributionParallelT(), Distribution::setDistType(), setMT(), setMX(), setMY(), TrackRun::setRunMethod(), Distribution::setSigmaP_m(), Distribution::setSigmaR_m(), TrackRun::setupCyclotronTracker(), OpalScalingFFAMagnet::setupDefaultEndField(), Distribution::setupEmissionModel(), Distribution::setupEmissionModelAstra(), Distribution::setupEmissionModelNone(), Distribution::setupEmissionModelNonEquil(), TrackRun::setupFieldsolver(), OpalScalingFFAMagnet::setupNamedEndField(), Distribution::setupParticleBins(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), Distribution::shiftDistCoordinates(), StringConstant::StringConstant(), System::System(), Title::Title(), TrackCmd::TrackCmd(), TrackRun::TrackRun(), OpalAsymmetricEnge::update(), OpalCavity::update(), OpalCCollimator::update(), OpalCyclotron::update(), OpalDegrader::update(), OpalDrift::update(), OpalECollimator::update(), OpalElement::update(), OpalEnge::update(), OpalFlexibleCollimator::update(), OpalHKicker::update(), OpalKicker::update(), OpalMonitor::update(), OpalMultipole::update(), OpalOctupole::update(), OpalOffset::OpalGlobalCartesianOffset::update(), OpalOffset::OpalGlobalCylindricalOffset::update(), OpalOffset::OpalLocalCartesianOffset::update(), OpalOffset::OpalLocalCylindricalOffset::update(), OpalOutputPlane::update(), OpalPepperPot::update(), OpalPolynomialTimeDependence::update(), OpalProbe::update(), OpalQuadrupole::update(), OpalRBend::update(), OpalRBend3D::update(), OpalRCollimator::update(), OpalRingDefinition::update(), OpalSBend::update(), OpalSBend3D::update(), OpalScalingFFAMagnet::update(), OpalSeptum::update(), OpalSextupole::update(), OpalSlit::update(), OpalSolenoid::update(), OpalSource::update(), OpalStripper::update(), OpalTravelingWave::update(), OpalUndulator::update(), OpalVacuum::update(), OpalVariableRFCavity::update(), OpalVariableRFCavityFringeField::update(), OpalVerticalFFAMagnet::update(), OpalVKicker::update(), Beam::update(), OpalMultipoleT::update(), OpalSinusoidalTimeDependence::update(), OpalSplineTimeDependence::update(), Option::update(), OpalElement::updateUnknown(), ValueDefinition::value(), Value::Value(), Distribution::writeOutFileEmission(), Distribution::writeOutFileHeader(), and Distribution::writeOutFileInjection().
|
private |
all the particles are here ...
Definition at line 155 of file FieldSolver.h.
Referenced by initAmrObject_m(), and initSolver().
|
privateinherited |
Definition at line 258 of file Object.h.
Referenced by Object::printHelp().
|
privateinherited |
Definition at line 255 of file Object.h.
Referenced by Object::getOpalName(), and Object::setOpalName().
|
privateinherited |
Definition at line 252 of file Object.h.
Referenced by Object::getBaseObject(), Object::getParent(), Object::isTreeMember(), and Object::setParent().
|
private |
The cartesian mesh.
Definition at line 146 of file FieldSolver.h.
Referenced by FieldSolver(), initCartesianFields(), initSolver(), printInfo(), and ~FieldSolver().
|
protectedinherited |
Dirty flag.
Definition at line 238 of file Object.h.
Referenced by Object::isDirty(), Object::Object(), and Object::setDirty().
|
privateinherited |
Definition at line 261 of file Object.h.
Referenced by Object::clear(), Object::increment(), and Object::occurrenceCount().
|
private |
The particle layout.
Definition at line 152 of file FieldSolver.h.
Referenced by FieldSolver(), getParticleLayout(), initCartesianFields(), and printInfo().
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by RCObject::addReference(), RCObject::isShared(), and RCObject::removeReference().
|
privateinherited |
Definition at line 268 of file Object.h.
Referenced by Object::registerReference(), Object::unregisterReference(), and Object::~Object().
|
private |
Definition at line 160 of file FieldSolver.h.
Referenced by getInteractionRadius().
|
privateinherited |
Definition at line 271 of file Object.h.
Referenced by Object::isShared(), and Object::setShared().
| PoissonSolver* FieldSolver::solver_m |
the actual solver, should be a base object
Definition at line 124 of file FieldSolver.h.
Referenced by PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), FieldSolver(), AmrPartBunch::getFieldSolver(), hasValidSolver(), initAmrSolver_m(), initSolver(), printInfo(), PartBunch::resizeMesh(), and ~FieldSolver().