Skip to Content.
Sympa Menu

opal - [Opal] About source code and the main line of OPAL

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] About source code and the main line of OPAL


Chronological Thread  
  • From: "sherlp" <1341516422 AT qq.com>
  • To: opal AT lists.psi.ch
  • Subject: [Opal] About source code and the main line of OPAL
  • Date: Mon, 28 Mar 2022 09:38:01 +0200

Dear all

I am reading the source code of OPAL and trying to figure out the main line
but meet an obstacle.

In "main.cpp", function "run(is)" points to "OpalParser.cpp" in which I found
function "execute(Object *object, const std::string &name)" that may link to
the particle trace action. But inside this function:

// Execute or check the command.
object->execute();

links to function execute() in Class Object which says:

void Object::execute() {
// Default action: do nothing.
}

And there is no subClass of Object which contains function execute(). Then I
don't know how the "OpalParser" execute the command from inputfile and link to
the OPAL-cycl algorithm.

Best regards,
Sherlp



Archive powered by MHonArc 2.6.19.

Top of Page