45 "Handles process call, updates internal time stamp.",
48 "Handles reinit call.",
50 static Finfo* processShared[] =
56 "This is a shared message to receive Process messages "
57 "from the scheduler objects."
58 "The first entry in the shared msg is a MsgDest "
59 "for the Process operation. It has a single argument, "
60 "ProcInfo, which holds lots of information about current "
61 "time, thread, dt and so on. The second entry is a MsgDest "
62 "for the Reinit operation. It also uses ProcInfo. ",
63 processShared,
sizeof( processShared ) /
sizeof(
Finfo* )
71 static Finfo *functionFinfos[] =
78 "Name",
"ZombieFunction",
79 "Author",
"Upi Bhalla",
81 "ZombieFunction: Takes over Function, which is a general "
82 "purpose function calculator using real numbers."
90 sizeof(functionFinfos) /
sizeof(
Finfo*),
93 sizeof(doc)/
sizeof(
string)
152 cout <<
"Warning:ZombieFunction::setSolver: Empty Stoich on Ksolve" << ksolve.
path() << endl;
153 }
else if ( ksolve ==
Id() ) {
156 cout <<
"Warning:ZombieFunction::setSolver: solver class " <<
158 " not known.\nShould be Ksolve or Gsolve\n";
177 Id ksolve,
Id dsolve )
180 if ( orig->
cinfo() == zClass )
187 cout <<
"ZombieFunction::zombify: Warning: ZombieFunction doesn't\n"
188 "handle volumes yet. Proceeding without this.\n";
void process(const Eref &e, ProcPtr p)
virtual void innerSetExpr(const Eref &e, string expr)
Element * element() const
Synonym for Id::operator()()
void setSolver(Id solver, Id orig)
std::string path(const std::string &separator="/") const
static const Cinfo * initCinfo()
virtual void zombieSwap(const Cinfo *zCinfo)
virtual func, this base version must be called by all derived classes
void setFunctionExpr(const Eref &e, string expr)
static const Cinfo * initCinfo()
const std::string & name() const
void innerSetExpr(const Eref &e, string val)
bool isA(const string &ancestor) const
const Cinfo * cinfo() const
virtual unsigned int numLocalData() const =0
Returns number of local data entries on this node.
void reinit(const Eref &e, ProcPtr p)
static const Cinfo * zombieFunctionCinfo
static A get(const ObjId &dest, const string &field)
static void zombify(Element *orig, const Cinfo *zClass, Id ksolve, Id dsolve)